MediaWiki:Mobile.css: verschil tussen versies
(Aanpassingen voor verbeterde weergave op mobiele apparaten) |
k (Aanpassingen voor verbeterde weergave op mobiele apparaten) |
||
| Regel 1: | Regel 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
/** | /** Opmaak voor titel en ondertitel classes */ | ||
.titel, | .titel, | ||
.ondertitel { | .ondertitel { | ||
font-family: 'Linux Libertine','Georgia','Times',serif; | font-family: 'Linux Libertine','Georgia','Times',serif; | ||
line-height: 1; | line-height: 1.2; | ||
text-align:center; | text-align:center; | ||
} | } | ||
| Regel 11: | Regel 11: | ||
font-size: 2.5em; | font-size: 2.5em; | ||
font-weight: bold; | font-weight: bold; | ||
margin: 10px 0px 5px 0px; | |||
} | } | ||
.ondertitel { | .ondertitel { | ||
font-size: 1.8em; | font-size: 1.8em; | ||
margin: 5px 0px 10px 0px; | |||
} | |||
/** Voor het juist weergeven van wiskundige formules, overgenomen van de Engelse Wikipedia */ | |||
span.texhtml { | |||
font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif; | |||
font-size:118%; | |||
line-height:1; | |||
white-space:nowrap; | |||
-webkit-font-feature-settings:"lnum","tnum","kern" 0; | |||
font-feature-settings:"lnum","tnum","kern" 0; | |||
font-variant-numeric:lining-nums tabular-nums; | |||
font-kerning:none | |||
} | |||
span.texhtml span.texhtml { | |||
font-size:100% | |||
} | |||
/** Voor het juist weergeven van Breuken waarbij teller en noemer recht boven elkaar staan, overgenomen van de Engelse Wikipedia */ | |||
.sfrac { | |||
white-space: nowrap; | |||
} | |||
.sfrac.tion, | |||
.sfrac .tion { | |||
display: inline-block; | |||
vertical-align: -0.5em; | |||
font-size: 85%; | |||
text-align: center; | |||
} | |||
.sfrac .num, | |||
.sfrac .den { | |||
display: block; | |||
line-height: 1em; | |||
margin: 0 0.1em; | |||
} | |||
.sfrac .den { | |||
border-top: 1px solid; | |||
} | |||
/* [[Template:Screen reader-only]] is canonical implementation onwiki */ | |||
.sr-only { | |||
border: 0; | |||
clip: rect(0, 0, 0, 0); | |||
height: 1px; | |||
margin: -1px; | |||
overflow: hidden; | |||
padding: 0; | |||
position: absolute; | |||
width: 1px; | |||
/* white-space: nowrap; /* already have nowrap above */ | |||
} | } | ||
Versie van 30 apr 2023 15:12
/* All CSS here will be loaded for users of the mobile site */
/** Opmaak voor titel en ondertitel classes */
.titel,
.ondertitel {
font-family: 'Linux Libertine','Georgia','Times',serif;
line-height: 1.2;
text-align:center;
}
.titel {
font-size: 2.5em;
font-weight: bold;
margin: 10px 0px 5px 0px;
}
.ondertitel {
font-size: 1.8em;
margin: 5px 0px 10px 0px;
}
/** Voor het juist weergeven van wiskundige formules, overgenomen van de Engelse Wikipedia */
span.texhtml {
font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;
font-size:118%;
line-height:1;
white-space:nowrap;
-webkit-font-feature-settings:"lnum","tnum","kern" 0;
font-feature-settings:"lnum","tnum","kern" 0;
font-variant-numeric:lining-nums tabular-nums;
font-kerning:none
}
span.texhtml span.texhtml {
font-size:100%
}
/** Voor het juist weergeven van Breuken waarbij teller en noemer recht boven elkaar staan, overgenomen van de Engelse Wikipedia */
.sfrac {
white-space: nowrap;
}
.sfrac.tion,
.sfrac .tion {
display: inline-block;
vertical-align: -0.5em;
font-size: 85%;
text-align: center;
}
.sfrac .num,
.sfrac .den {
display: block;
line-height: 1em;
margin: 0 0.1em;
}
.sfrac .den {
border-top: 1px solid;
}
/* [[Template:Screen reader-only]] is canonical implementation onwiki */
.sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
/* white-space: nowrap; /* already have nowrap above */
}