Jaifroid 2fa8ea2337 Updating mobile styles
Former-commit-id: 82fa580982b5a08eeb12779700d41fa61a8e97fb [formerly be75951e1d8d02082d706e78b611ffd4638752f7]
Former-commit-id: d81c8118a161f6602b9b8721b5d7f89a22828b49
2018-05-01 23:15:15 +01:00

65 lines
1.6 KiB
CSS

/**
* Custom style meant to match the design of mwoffliner mobile version to the mobile version of wikipedia
*/
/*.mw-body-content {
font-family: 'Helvetica Neue','Helvetica','Nimbus Sans L','Arial','Liberation Sans',sans-serif;
font-size: 16px;
line-height: 26px;
}*/
.mw-body-content p {
margin: 0.5em 0 1em 0;
}
.mw-body p { /*Added GK*/
margin: 0.5em 0 1em 0;
}
table.infobox th, table.infobox td { /*Added GK*/
border-bottom: 1px solid #eaecf0;
padding: 7px 10px;
}
.mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 {
padding: 0.5em 0 0;
}
.mw-body h3, .mw-body h2 {
/*clear: both;*/
/*width: 100%;*/
margin-bottom: 0.5em;
border-bottom: solid 1px #eaecf0;
font-family: 'Linux Libertine','Georgia','Times',serif;
}
.mw-body h1 {
font-size: 42px;
font-family: 'Linux Libertine','Georgia','Times',serif; /* GK added */
}
.mw-body h2 {
font-size: 24px;
}
.mw-body h3 {
border-bottom: 0 solid #eaecf0;
font-size: 19px;
font-weight: bold;
}
.mw-body h4 {
border-bottom: 0 solid #eaecf0;
font-size: 16px;
}
h1[tabindex="0"].collapsible-heading > .indicator {
display: none; /* hide the "v" icon for the main title */
}
@media all and (min-width: 720px) {
.client-js .collapsible-heading .indicator {
display: none !important; /* this is to hide to "v" icone next to titles in desktop */
}
.float-right {
float: right;
margin-left: 10px;
}
}
@media all and (max-width: 720px) {
.mw-stack, .infobox, .vertical-navbox {
float: none !important;
}
}