User:Acmaki/monobook.css

/* Look at m:Help:User style for some idea of how this works... */

/* having fun with the search box */ background-image: url(http://www.theserverside.com/images/input_white.gif); border: solid 1px #aaa; }
 * 1) searchInput {

/* Feb 17, 2005: hide fundraising notice, which is being altered to be more annoying... */
 * 1) fundraising { visibility: hidden; }

a { text-decoration: none; }

a:hover { text-decoration: underline }

li#ca-unwatch { margin-left: 1.6em; }

pre { line-height: 1.5em }

table * small { font-size: 80% }

/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ border-top-width: 1px; -moz-border-radius-topleft: 0.75em; -moz-border-radius-topright: 0.75em; } border-top-width: 2px; } border-color: #fabd23; border-top-width: 2px; } -moz-border-radius-topleft: 0.75em; -moz-border-radius-bottomleft: 0.75em; } div.pBody { -moz-border-radius-topright: 0.75em; -moz-border-radius-bottomright: 0.75em; }
 * 1) p-cactions ul li, #p-cactions ul li a {
 * 1) p-cactions ul li.selected {
 * 1) p-cactions ul li:hover {
 * 1) content {

/* bottom tabs */ border-bottom-width: 1px; -moz-border-radius-bottomleft: 0.75em; -moz-border-radius-bottomright: 0.75em; } border-bottom-width: 2px; } border-color: #fabd23; border-bottom-width: 2px; }
 * 1) mytabs ul li, #mytabs ul li a {
 * 1) mytabs ul li.selected {
 * 1) mytabs ul li:hover {

/* User-defined CSS for Wikipedia (MediaWiki 1.3) skin customization. By User:Lupo. */

/* Purpose: 1. Minor tweaks: changing links styles and colors to better distinguish internal/external/stub/non-existing links; removing the useless "user" icon, getting rid of unwanted arrow image after external links, saving some space in tables. 2. Moving the "personal toolbar" (top right of the screen) into a side box. 3. Moving the interlanguage links to the top. 4. Bottom tabs. 5. Make all non-main namespace pages have a light blue background.

a.external {color: teal; }

/* But not for stub links */ a.stub { text-decoration: none; color: brown; }

/* attempting to get the "classic" color back..*/ a.new { color: #cc2200; }


 * 1) p-cactions .new a { color: #cc2200; }

/* Get rid of the stupid arrow after external links (only for http for the time being) */ background:inherit !important; padding-right:inherit !important; }
 * 1) bodyContent a[href ^="http://"] {

/* suppress the person icon by the username */ li#pt-userpage { background: none; }

/* Section 2: Transform the user toolbar into a sidebox */

position:relative; z-index:3; width: 11.6em; }
 * 1) p-personal {

width: 10.8em; border: none; margin: 0 0 0.5em 0em; float: none; overflow: hidden; font-size: 95%; background: White; border-collapse: collapse; border: 1px solid #aaaaaa; padding: 0 0.8em 0.3em .5em; }
 * 1) p-personal .pBody {

line-height: 1.5em; list-style-type: square; list-style-image: url("/style/monobook/bullet.gif");
 * 1) p-personal ul {

font-size:95%; margin: 0 0 0 1.5em; margin-top: 0.25em; padding:0; text-align:left; text-transform: none; }

display: list-item; padding:0; margin: 0 0 0 0; margin-bottom: 0.1em; }
 * 1) p-personal li {


 * 1) p-personal li a { color: #002bb8; }
 * 2) p-personal li a:hover { text-decoration: underline; }
 * 3) p-personal a.new { color: #cc2200; }
 * 4) p-personal li a:visited { color: #5a3696; }

display: inline; padding: 0em 1em 0em 0.5em; }
 * 1) p-personal h5 {

/* Waste less space in sidebar */

line-height: inherit; margin: 0 0 0 1.5em; margin-top: 0.25em; }
 * 1) p-nav ul {

margin: 0 0 0 0; }
 * 1) p-nav li {

line-height: inherit; margin: 0 0 0 1.5em; }
 * 1) p-tbx ul {

margin: 0 0 0 0; }
 * 1) p-tbx li {

/* Section 3: Make the interlanguage links appear at the top. */

/* This works through a combination of CSS and JavaScript. My JS physically moves the #p-lang and #p-cactions from the sidebar into the main column, so that the main column actually contains three divs following each other: #p-lang, #p-cactions, and #content. This allows me to use simple relative positioning to achieve a  proper layout, and I don't need to mess around with absolute positioning. As a  result, I can also do away with the bizarre and artificial margins for #content and #p-cactions. */

margin-top: 0; }
 * 1) content {

position: relative; margin-bottom: 0; margin-top: 0.5em; top: 0; }
 * 1) p-cactions {

/* Global position is at the top */ width: 100%; padding:0 0 0 0; margin:0; position:relative; z-index: 2; border: none; background: none; overflow: visible; line-height: 1.2em; }
 * 1) p-lang {

/* Add padding to skip the side bar */ padding-left: 13.2em; /* 12.2 is the width of the side bar, + 1em for the gap */ margin:0; border: none; z-index:2; overflow: visible; background: none; }
 * 1) p-lang .portlet,
 * 2) p-lang .pBody {

display: none; }
 * 1) p-lang h5 {

/* The UL shall display as inline */ display: inline; border: none; line-height: 1.2em; margin: 0; text-align: left; list-style: none; z-index:2; background: none; }
 * 1) p-lang ul {

/* Ditto for the LI */ z-index:2; border:none; padding:0; display: inline; margin-left: 0.5em; line-height: 1.2em; background: none; }
 * 1) p-lang li {

/* "teal" is my color for external links */ color: teal; background: none; }
 * 1) p-lang li a {

/* Section 4: Bottom tabs layout */

margin: -0.3em 0 0 11.5em; white-space:nowrap; line-height: 1.1em; overflow: visible; border-collapse: collapse; padding: 0 0 0 1em; list-style: none; font-size: 95%; }   display: inline; border: 1px solid #aaaaaa; border-top: none; padding: 0.1em 0 0 0; margin: 0 0.3em 0 0; overflow: visible; background: White; }   border-color: #fabd23; padding: 0.2em 0 0 0; }   background-color: White; color: #0014a6; border: none; padding: 0.3em 0.8em 0 0.8em; text-decoration: none; text-transform: lowercase; position: relative; margin: 0; }   z-index: 3; text-decoration: none; }   padding-left: 0.4em; padding-right: 0.4em; } /* offsets to distinguish the tab groups */ li#mytabs-ca-talk { margin-right: 1.6em; } li#mytabs-ca-watch, li#mytabs-ca-unwatch { margin-left: 1.6em; }
 * 1) mytabs {
 * 1) mytabs .hiddenStructure { display: none; }
 * 2) mytabs li {
 * 1) mytabs li.selected {
 * 1) mytabs li a {
 * 1) mytabs li.selected a { z-index: 3; }
 * 2) mytabs .new a { color:#CC2200; }
 * 3) mytabs li a:hover {
 * 1) mytabs h5 { display: none; }
 * 2) mytabs li.istalk { margin-right: 0; }
 * 3) mytabs li.istalk a { padding-right: 0.5em; }
 * 4) mytabs-ca-addsection a {
 * 1) mytabs-ca-edit a { font-weight: bold; }

/* Section 5: Make all non-namespace pages have a light blue content area. This is done by setting the background color for all #content areas to light blue and then overriding it for any #content enclosed in a .ns-0 (main namespace). I then do the same for the "tab" background colors. */

background: #F8FCFF; /* a light blue */ }
 * 1) content {

.ns-0 * #content { background: white; }

background: #F8FCFF; }
 * 1) mytabs li {

.ns-0 * #mytabs li { background: white; }

background-color: #F8FCFF; }
 * 1) mytabs li a {

.ns-0 * #mytabs li a { background-color: white; }

/* For p-cactions (the top "tabs") it works only because my .js moves them into the "ns-0" wrapper anyway. */   background: #F8FCFF; }
 * 1) p-cactions li {

.ns-0 * #p-cactions li { background: white; }

background-color: #F8FCFF; }
 * 1) p-cactions li a {

.ns-0 * #p-cactions li a { background-color: white; }

/******************************************************************/ /* moving catlinks to the right   (from m:Help:User style    */ /******************************************************************/

/* move the catlinks box */ right:1em; top:-0.25em; z-index:1; max-width: 50%; float: right; margin-left: 0.5em; margin-bottom: 0.5em; padding: 0.2em; }
 * 1) catlinks {

/* format the catlinks itself */ p.catlinks { font-size:85%; /*line-height: 1.5em;*/ text-align:left; text-indent:0; text-transform: none; white-space:normal; margin: 0.2em; }

display: inline; }
 * 1) p-personal h5 {