User:Rursus/modern.css
Jump to navigation
Jump to search
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 stylesheet 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 Rursus to every page, when User:Rursus is using the Modern skin.
/***************************************************************************
|| This style sheet is Free-something, released under the conditions of ||
|| GFDL, see link belowest on this page. This license is only due to the ||
|| Wikileaders saying so - otherwise it would simply have been PD. ||
||-----------------------------------------------------------------------||
|| A slightly complex style sheet making all personal links, and the ||
|| search/look-up facility a menu fixed at the top, and the article ||
|| contents fixed at the upper right. ||
***************************************************************************/
body {
background: #BBFFBB;
}
div#mw_header, div#mw_header h1 {
background: #226622;
text-decoration: none;
position: fixed;
}
div#mw_header h1 { border: none; }
div#mw_header {
border: 2px solid ; border-color: #22BB22 black black #22BB22;
}
div#p-personal {
margin: 4px 0 0 0;
position: fixed;
}
div#p-personal ul {
background: #22AA22;
}
pre { font-size: 110%; }
div#p-cactions {
background: #88FF88 !important;
margin: 25px 0 0 247px !important;
}
div#p-navigation { background: #88FF88; }
div#p-navigation h5 {
background: #226622;
text-decoration: none;
color: #FFFF80;
padding: 23px 4px 4px 10px !important;
border: 2px solid ; border-color: #00FF00 black black #00FF00;
}
div#mw_content { background: #DDFFDD; }
div#p-interaction, div#p-tb, div#p-lang { background: #88FF88; }
div#p-interaction h5, div#p-tb h5, div#p-lang h5 {
background: #226622;
text-decoration: none;
color: #FFFF80;
padding: 4px 4px 4px 10px;
border: 2px solid ; border-color: #00FF00 black black #00FF00;
}
div#p-search {
margin: -24px; padding: 0;
background: none;
}
div#p-search h5 {
display: none;
text-decoration: none;
color: yellow;
padding: 8px 4px 4px 10px;
border: 2px solid ; border-color: #22AA22 black black #22AA22 !important;
}
div#p-search input#searchInput {
top: 0.25em;
right: 8.5em;
position: absolute;
position: fixed;
}
div#p-search input#searchGoButton {
top: 0.22em;
right: 5.2em;
position: absolute;
position: fixed;
border-color: #22AA22 black black #22AA22 !important;
}
div#p-search input#mw-searchButton {
top: 0.22em;
right: 0;
position: absolute;
position: fixed;
border-color: #22AA22 black black #22AA22 !important;
}
input[type="text"] {
border: 1px solid white;
background: #00CC00;
color: white;
font-size: 100%;
margin: 2px;
}
input[type="submit"], input[type="checkbox"] {
border: 1px solid white;
background: #008800;
color: white;
font-size: 100%;
margin: 2px;
}
input[type="submit"] {
border: 2px solid;
border-color: #00FF00 black black #00FF00;
}
input[type="checkbox"] {
border: 2px solid;
border-color: black #00FF00 #00FF00 black;
}
div#siteSub {
position: absolute;
position: fixed;
display: none;
top: 49px; right: 0;
font-style: italic;
font-weight: normal;
background: #FFFF00;
color: #00CC00;
text-decoration: none;
border: none;
}
li.selected {
background: #228866 !important;
}
table#toc {
/* position: fixed;
top: 4em; right: 0;
width: 33%;
font-size: 90%;
background: #88FF88;
color: white; */
}
table#toc div#toctitle {
font-size: 90%;
background: #008800;
color: yellow;
}