mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 12:19:46 -04:00
Fix desktop styles
Former-commit-id: b53d7d8fd1444227178af20f90e7dbe10d657e31 [formerly 4a600df68ef9b1e1cd78a07716d768b353d305ad] Former-commit-id: f2e35a646e5b71041097a808fb2354f3268ee75f
This commit is contained in:
parent
53e72524ca
commit
a4d78bc10d
@ -1,75 +1,7 @@
|
||||
/**
|
||||
* Custom style meant to match the design of mwoffliner mobile version to the mobile version of wikipedia
|
||||
|
||||
DUMMY STYLE: should be overridden by style or style-mobile
|
||||
|
||||
*/
|
||||
|
||||
.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 h2,
|
||||
.mw-body h3,
|
||||
.mw-body h4,
|
||||
.mw-body h5,
|
||||
.mw-body h6 {
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
.mw-body h3,
|
||||
.mw-body h2 {
|
||||
/*clear: both;
|
||||
width: 100%; GK deleted to allow text to flow round info boxes*/
|
||||
margin-bottom: 0.5em;
|
||||
border-bottom: solid 1px #eaecf0;
|
||||
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
|
||||
}
|
||||
|
||||
.mw-body h1 {
|
||||
font-size: 42px;
|
||||
}
|
||||
|
||||
.mw-body h2 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.mw-body h3 {
|
||||
border-bottom: 0px solid #eaecf0;
|
||||
font-size: 19px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mw-body h4 {
|
||||
border-bottom: 0px solid #eaecf0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
h1[tabindex="0"].collapsible-heading>.indicator {
|
||||
display: none;
|
||||
/* hide the "v" icone 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 */
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.content .thumb .thumbinner>.thumbcaption {
|
||||
flex: 1 1 auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.collapsible-block {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.open-block {
|
||||
display: block;
|
||||
}
|
3870
www/-/s/style.css
3870
www/-/s/style.css
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user