User:Doremítzwr/vector.css
Note: You may have to bypass your browser’s cache to see the changes. In addition, after saving a sitewide CSS file such as MediaWiki:Common.css, it will take 5-10 minutes before the changes take effect, even if you clear your cache.
- Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
- Konqueror and Chrome: click Reload or press F5;
- Opera: clear the cache in Tools → Preferences;
- Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.
- This style sheet lacks a documentation subpage. You may create it.
- Useful links: root page • root page’s subpages • links • redirects • your own
This CSS is applied for Doremítzwr to every page, when User:Doremítzwr is using the Vector skin.
/* fix raised and lowered text */
sup,
sub {
line-height: 1em; /* neutralize extra line spacing */
font-size: 0.7em; /* normally, superscripts and subscripts are css “smaller”, or about 0.83em */
}
sup {
position: relative;
left: 0;
bottom: 0.1em;
}
i+sup,
i>sup { /* with italics */
margin-left: 0.2em; /* typographic thin space */
}
i>sup:first-child { /* but no margin if the superscript is the first item in italics */
margin-left: 0;
}
sub {
position: relative;
left: 0;
bottom: 0.3em;
}