User:Pt/monobook.css
From Wikipedia, the free encyclopedia
< User:Pt
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
/* Sorry, but I've copied it mostly from [[m:User:Thetorpedodog/monobook.css]] */ /***********This is rounders from [[User Style]]. ******************/ /* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ /* same following the css3 draft specs, any browsers supporting this? */ /* thetorpedodog sez: oddly enough, not the latest Mozilla... */ #p-cactions ul li, #p-cactions ul li a { -moz-border-radius-topleft: 1em; border-radius-topleft: 1em; -moz-border-radius-topright: 1em; border-radius-topright: 1em; } #content { -moz-border-radius-topleft: 1em; border-radius-topleft: 1em; -moz-border-radius-bottomleft: 1em; border-radius-bottomleft: 1em; } div.pBody { -moz-border-radius-topright: 1em; border-radius-topright: 1em; -moz-border-radius-bottomright: 1em; border-radius-bottomright: 1em; } /************** This is a tweak from the intro section ********************/ /* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */ pre { overflow: auto; } /* nav. boxes + pers. toolbar */ div.pBody { border-left: none; } /* links on the nav. bar */ #p-navigation a, #p-tb a, #p-lang a { display: block; width: 100%; color: rgb(0, 43, 184); } /* the most important links */ #n-mainpage a, #n-portal a, #n-recentchanges a, #n-randompage a, #t-whatlinkshere a, /*#t-recentchangeslinked a*/ #t-contributions a { color: rgb(0, 90, 20); } /* upload link must not be similar to others */ #t-upload a { opacity: 0.6; } /* "rss" and "atom" next to RC */ #p-tb #feedlinks a { display: inline; } /* nav., search, toolbox, lang. headers */ div.portlet h5 { color: #668; font-style: italic; display: block; text-align: center; width: 80%; margin-bottom: 0.5em; text-transform: capitalize; } /****************** Personal toolbar *******************/ #p-personal ul { opacity: 0.6; -moz-border-radius-bottomleft: 1em; border-radius-bottomleft: 1em; border-color: rgb(250, 189, 35); border-width: 1px; border-style: solid; border-top: none; border-right: none; background: #F8FCFF; /* if it weren't for this, that tool bar would stretch itself across the entire screen. */ float: right; padding: 0; padding-bottom: 0.3em; padding-right: 3px; margin: 0; /* my background code - use your own if you want (16*16px) */ /* background-image: url("http://en.wikipedia.org/upload/1/16/Thetorpedodogwiki.png"); background-repeat: no-repeat; */ /* overrides 3px p-r that's above */ /* padding-right: 20px; background-position: right center; */ } #p-personal li a:hover { background: #FFF; text-decoration: underline; } #p-personal li a { padding: .5em; margin: 0; color: #02A; } #p-personal li { margin: 0; border-right: 1px dotted rgb(170, 170, 170); } /******************* Pers. tb. part ends **************/ /* buttons, input boxes */ input, textarea { -moz-border-radius: 0.5em; border-radius: 0.5em; border-width: 1px; } /* From Wikipedia, the free encyclopedia. */ #siteSub { font-style: italic; color: #668; font-size: 90%; } /* diff scrollbars (NOT WORKING YET) */ /* from [[User:Omegatron/monobook.css]]*/ td.diff-addedline, td.diff-deletedline, td.diff-context { overflow: auto; dislpay: block; width: 50%; } /* power-search*/ #powersearch label { border-right: 1px dotted #666; padding-right: 0.6em; } /* make the links in TOC-s easier to catch, but smaller */ #toc li a { display: block; width: 100%; font-size: 85%; line-height: 100%; } /* the numbers in TOC-s: green is nicer than blue */ .tocnumber { color: rgb(0, 90, 20); } /* float the TOC etc. */ #toc { float: left; margin-right: 0.5em; margin-bottom: 0.2em; margin-top: 0.2em; }