Jump to content
Wikipedia The Free Encyclopedia

User:Swatjester/monobook.css

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump.
This code will be executed when previewing this page.
The accompanying .js page for this skin is at User:Swatjester/monobook.js.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
 /*
  * Skin name: Milky
  * Author: Ævar Arnfjörð Bjarmason
  * Reference: http://en.wikipedia.org/style/monobook/main.css
  * To include in your CSS: http://en.wikipedia.org/w/wiki.phtml?title=User:%C6var_Arnfj%F6r%F0_Bjarmason/monobook.css&action=raw&ctype=text/css
  */

 /* remove the ugly, recently-reinstated link underlines 
 #BodyContent a { text-decoration: none; }
 #BodyContent a:hover { text-decoration: none; }*/

 a{text-decoration:none;}
 a:hover{text-decoration:none;}

 /* make a few corners round, only supported by moz/firefox/other gecko browsers for now, i reduced this from 1em to 4px to make it very illnoticable */
 #p-cactionsulli,#p-cactionsullia{
 -moz-border-radius-topleft:4px;
 -moz-border-radius-topright:4px;
 }

 #content,#footer{
 -moz-border-radius-topleft:4px;
 -moz-border-radius-bottomleft:4px;
 }

 div.pBody{
 -moz-border-radius-topright:4px;
 -moz-border-radius-bottomright:4px;
 }

 /* Dotted borders on pre look ugly, replace with a solid one */
 #bodyContentpre{
 border:1pxsolid#aaa;
 }

 /* Kill that stupid M$-ish capitalist asshole person dancecommander usericonthingy */
 li#pt-userpage{background:none}

 /* Eliminate yellow colour everywhere in borders */
 #p-cactionsli.selected{
 border-color:#aaa;
 }
 /* Make the footer not 100% wide, but as wide as the content box, and change it from the annoying yellow colour */
 #footer{
 border-top:1pxsolid#aaa;
 border-bottom:1pxsolid#aaa;
 border-left:1pxsolid#aaa;
 margin:0.6em0em1em155px;
 }
 /* Dont need this copyright notice on every page */

 /*li#f-copyright,
 li#f-lastmod,
 #editpage-copywarn { display: none; }*/

 .portletli,#BodyContentli{
 /*list-style-image: url("/style/monobook/bullet.gif");*/
 list-style-type:square;
 list-style-image:url("http://en.wikipedia.org/upload/6/69/AAAAAA_Bullet.png");
 }

 .portletli:hover,#BodyContentli:hover{
 list-style-type:square;
 list-style-image:url("http://en.wikipedia.org/upload/4/44/000000_Bullet.png");

 }

 li.FA{
 list-style-image:url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png")!important;
 }
 .portleta{text-decoration:none;color:#666!important;}
 .portleta:hover{text-decoration:none;color:#000!important;}

 /* Make borders a little better */

 #searchInput{
 border:1pxsolid#aaa;
 background-color:#eee;
 }
 /* Mozilla.org-like input box focus */
 #p-searchinput:focus,#p-searchinput:hover{
 background-color:#fff;
 }

 #searchInput{
 border-top:1pxinset;
 border-left:1pxinset;
 border-right:10pxinset;
 }

 /* Nice borders for (almost) all boxes */
 input[type="radio"],
 input[type="checkbox"]{border:none;}
 input[type="text"],input[type="submit"],textarea{
 border:1pxsolid#aaa!important;
 }
 /* make round corners for the rest */
 input[type="text"],input[type="submit"],textarea,pre,#toc{
 -moz-border-radius:2px;
 }
 /* The 'Edit summary' box is way to crammed in the textarea box by default */
 textarea{margin-bottom:4px;}

 input[type="submit"]{color:#aaa!important;}
 input[type="submit"]:hover,input[type="submit"]:focus{color:#000!important;}
 #p-cactionslia{color:#aaa;}
 #p-cactionslia:hover{color:#000;}
 #p-cactionsli.selecteda{color:#000!important;}
 #p-cactionsli.newa{color:#ba0000!important;}



 /* Transform the user toolbar into a sidebox */
 #p-personal{
 position:relative;
 z-index:3;
 width:11.6em;
 }

 #p-personal.pBody{
 width:10.8em;
 border:none;
 margin:000.5em0em;
 float:none;
 overflow:hidden;
 font-size:95%;
 background:White;
 border-collapse:collapse;
 border:1pxsolid#aaaaaa;
 padding:00.8em0.3em.5em;
 }

 #p-personalul{
 line-height:1.5em;
 list-style-type:square;
 font-size:95%;
 margin:0.3em001.5em;
 padding:0;
 text-align:left;
 text-transform:none;
 }

 #p-personalli{
 display:list-item;
 padding:0;
 margin:0000;
 margin-bottom:0.1em;
 }


 #p-personalh5{
 display:inline;
 }

 /*#footer {display:none;}
 .printfooter {display:none;}
 */


 /* ------------------------- */
 #content
 {
 -moz-border-radius-topleft:1em;
 -moz-border-radius-bottomleft:1em;
 }
 div.pBody
 {
 -moz-border-radius-topright:1em;
 -moz-border-radius-bottomright:1em;
 }

 #p-cactionsul
 {
 overflow:visible;
 }

 #p-cactionsli
 {
 border:2pxsolidlightgrey;
 position:relative;
 float:left;
 -moz-border-radius-topleft:.5em;
 -moz-border-radius-topright:.5em;
 }

 .tabmenuulli
 {
 display:block;
 width:100%!important;
 min-width:10em!important;
 border:0px;
 margin:0px;
 padding:.1em;
 border:1pxsolid#aaaaaa!important;
 border-collapse:collapse;
 text-align:center;
 background-color:#F8FCFF!important;
 white-space:nowrap!important;
 }

 .tabmenuul
 {
 display:none;
 width:auto;
 z-index:2;
 position:absolute;
 top:1em;
 margin:0px;
 background-color:grey;
 }
 .tabmenu*{
 -moz-border-radius:0px!important;
 }
 .tabmenu:hoverul
 {
 display:block;
 }

 .tabmenuulli:hover
 {
 background-color:#e8ecef!important;
 }
 .tabmenuula{
 background-color:transparent!important;
 }

AltStyle によって変換されたページ (->オリジナル) /