User:Trevor MacInnis/monobook.css
From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Firefox/Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.
/* ***************** */ /* TEST AREA */ /* ***************** */ .mw-plusminus-pos { color:green; font-weight:bold; } .mw-plusminus-neg { color:red; font-weight:bold; } /* ***************** */ /* END TEST AREA */ /* ***************** */ /* ***************** */ /* code for article background colors */ /* ***************** */ /* Article background color */ .ns-0 * #content { background: #fff;} .ns-0 * #content { color : #000000; } .ns-0 * #p-cactions li a { background:#FFFFFF; } /* CArticle talk page background */ .ns-1 * #content { background : #F9F9F9; } .ns-1 * #content { color : #000000; } .ns-1 * #p-cactions li a { background:#F9F9F9; } /* User page background */ .ns-2 * #content { background : #F0F8FF; } .ns-2 * #content { color : #002B72; } .ns-2 * #p-cactions li a { background:#F0F8FF; } /* User talk page background */ .ns-3 * #content { background : #F9F9F9; } .ns-3 * #content { color : #000000; } .ns-3 * #p-cactions li a { background:#F9F9F9; } <!-------------------------------------------------------------------------------------------------- /* Colori di fondo delle pagine Wikipedia */ .ns-4 * #content { background : #F0F8FF; } .ns-4 * #content { color : #1F3C6D; } .ns-4 * #p-cactions li a { background:#F0F8FF; } /* Colori di fondo delle pagine di discussione Wikipedia */ .ns-5 * #content { background : #F9F9F9; } .ns-5 * #content { color : #000000; } .ns-5 * #p-cactions li a { background:#F9F9F9; } ---------------------------------------------------------------------------------------------------> /* Image page background */ .ns-7 * #content { background : #F9F9F9; } .ns-7 * #content { color : #000000; } .ns-7 * #p-cactions li a { background:#F9F9F9; } /* MediaWiki page background*/ .ns-8 * #content { background : #F8EDFF; } .ns-8 * #content { color : #000000; } .ns-8 * #p-cactions li a { background:#F8EDFF; } /* MediaWiki talk page background*/ .ns-9 * #content { background : #F9F9F9; } .ns-9 * #content { color : #000000; } .ns-9 * #p-cactions li a { background:#F9F9F9; } /* Ttemplate page background */ .ns-10 * #content { background : #FFF4E0; } .ns-10 * #content { color : #000000; } .ns-10 * #p-cactions li a { background:#FFF4E0; } /* Template talk page background*/ .ns-11 * #content { background : #F9F9F9; } .ns-11 * #content { color : #000000; } .ns-11 * #p-cactions li a { background:#F9F9F9; } /* Colori di fondo delle pagine di Aiuto */ .ns-12 * #content { background : #E0FFEF; } .ns-12 * #content { color : #000000; } .ns-12 * #p-cactions li a { background:#E0FFEF; } /* Colori di fondo delle pagine di discussione Aiuto */ .ns-13 * #content { background : #F9F9F9; } .ns-13 * #content { color : #000000; } .ns-13 * #p-cactions li a { background:#F9F9F9; } /* Category page background */ .ns-15 * #content { background : #F9F9F9; } .ns-15 * #content { color : #000000; } .ns-15 * #p-cactions li a { background:#F9F9F9; } /* ***************** */ /* here ends code for article background colors */ /* ***************** */ /* ***************** */ /* code for modify letter to span 3 lines of text, the rest wraps around */ /* ***************** */ .dropcap { float: left; color:#D4D4C7; font-size:80px; line-height:70px; padding-top:2px; font-family: Times, serif, Georgia; } /* ***************** */ /* here ends code for modify letter to span 3 lines of text, the rest wraps around */ /* ***************** */ /* ***************** */ /* code for dropshadow effect */ /* ***************** */ .shiftcontainer{ position: relative; left: 7px; /*Number should match -left shadow depth below*/ top: 7px; /*Number should match -top shadow depth below*/ } .shadowcontainer{ width: 300px; /* container width*/ background: transparent url(http://upload.wikimedia.org/wikipedia/en/e/e7/Bigshadow.gif) no-repeat bottom right; } .shadowcontainer .innerdiv{ /* Add container height here if desired */ background-color: white; border: 1px solid gray; padding: 6px; position: relative; left: -7px; /*shadow depth*/ top: -7px; /*shadow depth*/ } /* ***************** */ /* here ends the code for dropshadow effect */ /* ***************** */ /* ***************** */ /* code for dropshadow effect with no images*/ /* ***************** */ #shadow-container { position: relative; left: 3px; top: 3px; margin-right: 3px; margin-bottom: 3px; } #shadow-container .shadow2, #shadow-container .shadow3, #shadow-container .container { position: relative; left: -1px; top: -1px; } #shadow-container .shadow1 { background: #F1F0F1; } #shadow-container .shadow2 { background: #DBDADB; } #shadow-container .shadow3 { background: #B8B6B8; } #shadow-container .container { background: #ffffff; border: 1px solid #848284; padding: 10px; } /* ***************** */ /* here ends the code for dropshadow effect with no images*/ /* ***************** */ /* ***************** */ /* code for css rounded corners with an image */ /* ***************** */ /* set the image to use and establish the lower-right position */ .cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2{ background: transparent url(http://upload.wikimedia.org/wikipedia/en/e/e4/PPcornerTop2.gif) no-repeat bottom right} .cssbox{ /* intended total box width - padding-right(next) */ width:335px !important; /* IE Win = width - padding */ width: 320px; /* the gap on the right edge of the image (not content padding) */ padding-right:15px; /* use to position the box */ margin:20px auto} /* set the top-right image */ .cssbox_head{background-position:top right; /* pull the right image over on top of border */ margin-right:-15px; /* right-image-gap + right-inside padding */ padding-right:40px} /* set the top-left image */ .cssbox_head h2{ background-position:top left; margin:0; /* reset main site styles*/ border:0; /* ditto */ /* padding-left = image gap + interior padding ... no padding-right */ padding:25px 0 15px 40px; height:auto !important; height:1%} /* IE Holly Hack */ /* set the lower-left corner image */ .cssbox_body{ background-position:bottom left; margin-right:25px; /* interior-padding right */ padding:15px 0 15px 40px} /* mirror .cssbox_head right/left */ /* ***************** */ /* here ends code for css rounded corners with an image */ /* ***************** */ /********************** /* Immagini di sfondo * **********************/ /* Visualizza una lente d'ingrandimento su sfondo viola chiaro */ #HP_search { background-image: url(http://upload.wikimedia.org/wikipedia/it/3/3e/HP_search.png); } /* Visualizza una lente d'ingrandimento su sfondo marrone chiaro (#FFFBF7) */ #BG_zoom { background-image: url(http://upload.wikimedia.org/wikipedia/commons/8/8c/BGzoom.png); } /* Visualizza il logo di Wikipedia su sfondo marrone chiaro (#FFFBF7) */ #BG_wiki { background-image: url(http://upload.wikimedia.org/wikipedia/commons/6/6a/BGwikipedia_logo.png); } /* Visualizza una sfumatura marrone chiaro-bianco per aree di grandi dimensioni */ #BG_sfum { background-image: url(http://upload.wikimedia.org/wikipedia/commons/a/a4/BG_sfum.jpg); } /* Visualizza una sfumatura marrone chiaro-trasparente*/ .Sfum { background-image: url(http://upload.wikimedia.org/wikipedia/it/6/62/Sfum.png); } /* Visualizza una sfumatura marrone chiaro-bianco per browser Internet Explorer*/ .Sfum2 { background-image: url(http://upload.wikimedia.org/wikipedia/commons/d/d0/Sfum.jpg); } /* Visualizza una sfumatura azzurro-bianco */ .BG_azzurro { background-image: url(http://upload.wikimedia.org/wikipedia/commons/2/27/BG_azzurro.jpg); } /* Visualizza l'icona del portale comunità su sfondo bianco */ .BG_comunità { background-image: url(http://upload.wikimedia.org/wikipedia/commons/f/f9/BG_comunit%C3%A0.jpg); } /* Visualizzano i bordi arrotondati su Internet Explorer */ .H-top { background-image: url(http://upload.wikimedia.org/wikipedia/it/3/36/H-top.jpg); } .Hb-top { background-image: url(http://upload.wikimedia.org/wikipedia/it/4/40/Hb-top.jpg); } .H-right { background-image: url(http://upload.wikimedia.org/wikipedia/it/f/f5/H-right.gif); } .Hb-right { background-image: url(http://upload.wikimedia.org/wikipedia/it/3/32/Hb-right.gif); } .H-left { background-image: url(http://upload.wikimedia.org/wikipedia/it/f/f7/H-left.gif); } .Hb-left { background-image: url(http://upload.wikimedia.org/wikipedia/it/7/7b/Hb-left.gif); } .B-topright { background-image: url(http://upload.wikimedia.org/wikipedia/it/a/a8/B_topright.png); no-repeat right; width: 13px; height: 14px; } .B-topleft { background-image: url(http://upload.wikimedia.org/wikipedia/it/e/ea/B_topleft.png); no-repeat left; width: 13px; height: 14px; } .B-bottomright { background-image: url(http://upload.wikimedia.org/wikipedia/it/a/a9/B_bottomright.png); no-repeat right; width: 13px; height: 14px; } .B-bottomleft { background-image: url(http://upload.wikimedia.org/wikipedia/it/f/f3/B_bottomleft.png); no-repeat left; width: 13px; height: 14px; } /* modify left nav, search, toolbox */ .portlet h5 { -moz-border-radius-topright: 1em; border-radius-topright: 1em; background-color: #e0e3e6; border: thin solid silver; border-bottom: solid 1px #999999; } div.pBody { } #p-search h5 { font-weight: bold; -moz-border-radius-topright: 1em; border-radius-topright: 1em; border-bottom: groove 1px #999999; } #p-search .pBody { background-color:#EEEEEE; } .EnWpMpSisterProject { float:right; } /* ***************** */ /* code for Page Title smaller and blue */ /* ***************** */ .firstHeading { color: #3366BB; font-size: 130%; font-weight: bold; border-bottom: dotted 1px #DDDDDD; padding-top: 0.2em; padding-bottom: 0em; } /* ***************** */ /* here ends code for Page Title smaller and blue */ /* ***************** */ /* ***************** */ /* code for Page sub title */ /* ***************** */ #siteSub { display: inline; font-size: 90%; font-weight: normal; color: #1577DC; } /* ***************** */ /* here ends code for Page sub title */ /* ***************** */ /* Ricerca */ #p-search { position:relative; z-index:3; } #p-search .pBody { text-align: center; } input.searchButton { margin-top:1px; font-size: 95%; } #searchGoButton { padding-left: .5em; padding-right: .5em; font-weight: bold; } #searchInput { width:10.9em; margin: 0; font-size: 95%; } #p-search .pBody { padding: 0.5em 0.4em 0.4em 0.4em; } /* disable interwiki styling */ #bodyContent a.extiw, #bodyContent a.extiw:active { color: #81A18F; background: none; padding: 0; } #rollover a { padding-right:5px; padding-left:5px; padding-top:0px; padding-bottom:0px; margin-top: 0.5em; -moz-border-radius: .5em; border:1px solid #E5E5E5; clear: both; background: #FFF } #rollover a:hover { text-decoration: none; padding-right:5px; padding-left:5px; padding-top:0px; padding-bottom:0px; margin-top: 0.5em; -moz-border-radius: .5em; border:1px solid #CCC; clear: both; background: #F2F2F2 } #rollover a:active { padding-right:5px; padding-left:5px; padding-top:0px; padding-bottom:0px; margin-top: 0.5em; -moz-border-radius: .5em; border:1px solid #ABCDEF; clear: both; background: #F0F8FF } #rollover a.new, #p-personal a.new { padding-right:5px; padding-left:5px; padding-top:0px; padding-bottom:0px; margin-top: 0.5em; -moz-border-radius: .5em; border:1px solid #E5E5E5; clear: both; color: #CCC; background: #FFF } /* Colori dei link utente/discussione/ecc. nei tab in cima alla pagina */ #p-cactions li a { color : #1577DC; } /* Category box form */ #catlinks { padding-right:5px; padding-left:5px; padding-top:0px; padding-bottom:0px; margin-top: 0.5em; -moz-border-radius: .5em; border:1px solid #CDCDCD clear: both; } <!-------------------------------------------------------------------------------------------------- /* cambia il colore del bordo dei pulsanti (modifica, cronologia ecc..) selezionati */ #p-cactions li.selected { border-color: #abcdef; } ---------------------------------------------------------------------------------------------------> /* ingrandisce la prima lettera di ogni capitolo */ #bodyContent p:first-letter { font-size: 400%; float: left; } /* disattiva l'ingrandimento della prima lettera per le categorie e il sommario */ #catlinks p:first-letter, table#toc p:first-letter { font-size: 100%; float: none; } /* </pre> */ /* ** the page-related actions- page/talk, edit etc */ #p-cactions { position:absolute; top: 1.3em; left: 11.5em; margin: 0; white-space:nowrap; width: 76%; line-height: 1.1em; overflow: visible; background: none; border-collapse: collapse; padding-left: 1em; list-style: none; font-size: 95%; } #p-cactions .hiddenStructure { display: none; } #p-cactions ul { list-style: none; } #p-cactions li { display: inline; border: 1px solid #aaaaaa; border-bottom: none; padding: 0 0 0.1em 0; margin: 0 0.3em 0 0; overflow: visible; background: White; } #p-cactions li.selected { border-color: #fabd23; padding: 0 0 0.2em 0; } #p-cactions li a { background-color: White; color: #002bb8; border: none; padding: 0 0.8em 0.3em 0.8em; text-decoration: none; text-transform: lowercase; position: relative; z-index: 0; margin: 0; } #p-cactions .selected a { z-index: 3; } #p-cactions .new a { color:#ba0000; } #p-cactions li a:hover { z-index: 3; text-decoration: none; } #p-cactions h5 { display: none; } #p-cactions li.istalk { margin-right: 0; } #p-cactions li.istalk a { padding-right: 0.5em; } #p-cactions #ca-addsection a { padding-left: 0.4em; padding-right: 0.4em; } /* offsets to distinguish the tab groups */ li#ca-talk { margin-right: 1.6em; } li#ca-watch, li#ca-watch { margin-left: 1.6em; } /* change background of unselected tabs */ #p-cactions ul li a { background: transparent; } /* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */ pre { overflow: auto; }