MediaWiki:Monobook.css
From OpenWetWare
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Edit this page to customize the monobook skin for the entire site. There is also [[MediaWiki:Common.css]] and [[MediaWiki:Monobook.js]]. Everyone can customize their own skin or test out changes to css by editing User:YourUsername/monobook.css and User:YourUsername/monobook.js */ /*<pre><nowiki>*/ /* changes for all pages */ @media screen { body { background: #C5D0EA 0 0 no-repeat; /* changed default background */ } } @media print { body { background: #FFFFFF 0 0 no-repeat; /* changed default background */ } } .portlet .pBody { background-color: #E5F2FB; } hr.divider { padding-left: 7px; margin: 0 auto 0 0; /* align left for mozilla */ text-align: left; /* align left for IE/opera */ width:820px; height:3px; color: #2171B8; background-color:#2171B8; } /* ************************************************** * Icons for sidebar * ************************************************** */ #n-portal { list-style-image: url("/images/b/ba/Communityportal.png"); } #n-calendar { list-style-image: url("/images/1/15/Calendar.png"); } #n-recentchanges { list-style-image: url("/images/3/3d/Changes.png"); } #n-mainpage { list-style-image: url("/images/9/9a/Home.png"); } #n-randompage { list-style-image: url("/images/7/70/Random.png"); } #n-Materials { list-style-image: url("/images/f/f4/Materials.png"); } #n-Protocols { list-style-image: url("/images/1/1d/Protocols.png"); } #n-help { list-style-image: url("/images/7/70/Random.png"); } #t-print { list-style-image: url("/images/4/41/Printable.png"); } #t-specialpages { list-style-image: url("/images/2/24/Special.png"); } #t-upload { list-style-image: url("/images/2/28/Upload.png"); } #t-whatlinkshere { list-style-image: url("/images/f/fd/Link.png"); } #t-recentchangeslinked { list-style-image: url("/images/9/9a/Change.png"); } /* ************************************************** * Tab support based on http://www.alistapart.com/articles/slidingdoors/ * ************************************************** */ .tabs { float:left; width:100%; background:#DAE0D2 url("/images/3/3a/Tab-bg.gif") repeat-x bottom; font-size:93%; line-height:normal; margin: 0; padding: 0; } .tabs ul { margin:0; padding:10px 10px 0; list-style:none; } .tabs li { float:left; background:url("/images/1/11/Tab-left.gif") no-repeat left top; margin:0; padding:0 0 0 9px; } /* MediaWiki automatically removes links for the current page and surrounds it with <strong> tags instead */ .tabs a,.tabs strong { float:left; display:block; background:url("/images/0/07/Tab-right.gif") no-repeat right top; padding:5px 15px 4px 6px; text-decoration:none; font-weight:bold; color:#765; } /* Commented Backslash Hack hides rule from IE5-Mac \*/ .tabs a {float:none;} /* End IE5-Mac hack */ .tabs a:hover { color:#333; } .tabs #current { background-image:url("/images/0/05/Tab-left_on.gif"); } .tabs #current a,.tabs #current strong { background-image:url("/images/6/61/Tab-right_on.gif"); color:#333; padding-bottom:5px; } .tabcontent { border: 1px dashed #aa9988; padding: 0em 1em 1em 1em; border-top: none; background-color:#ffffff; color:#000; clear: both; } .tabcontent #prevtab { float: left; margin-top: -1.5em; background-color: #DAE0D2; color: #000; padding: .2em .6em; font-size: 130%; border: 1px solid #765; } .tabcontent #nexttab { float: right; margin-top: -1.5em; background-color: #DAE0D2; color: #000; padding: .2em .6em; font-size: 130%; border: 1px solid #765; } /* ************************************************** * Main page css test * ************************************************** */ #mainpage #about { padding: .4em .9em .1em; font-family: tahoma; width: 780px; border: 0px solid #cc3300; color: #4E4496; background-color: #ffffff; } #mainpage h3 a { text-decoration: none; } .green1 { border: 0px solid #000000; color: #000000; background-color: #DEE8B8; } .green2 { border: 0px solid #000000; color: #000000; background-color: #E5EDC8; } .green3 { border: 0px solid #000000; color: #000000; background-color: #CDDE95; } #mainpage ul { list-style-type: disc; list-style-image: none } #mainpage td { text-align: left; padding: 0em .5em 0em; } #mainpage td { vertical-align: top; } /*</nowiki></pre>*/