User:Gwern/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.
/* Thanks to User:Gurch for these! */ a {text-decoration: none} #bodyContent pre {border: 1px solid #aaa} #p-cactions li.selected {border-color: #AAAAAA} #editpage-copywarn2 {display: none} #copyright {display: none} #lastmod {display: none} #longpagewarning {display: none} #editpage-copywarn {font-size: 6pt; visibility: hidden} #catcsdhide {display: none} #catcsdhide2 {display: none} #sitenotice {display: none} #BoardCandidateNotice {display: none} /* li#pt-userpage {background: none} */ #footer {display: none} /* #newarticletext {display: none} */ #minoredit_helplink {display: none} #wpSummaryLabel {display: none} .editHelp {display: none} .searchButton {display: none} .navpopup { background-color: #FFFFFF !important; color: #404040 !important; border-color: #999999 !important; } //Hide the about-us link in the naviguation bar li#n-About-Wikipedia {display:none} /*Following few sections from User:Essjay/Monobook.css*/ /* Dont need this copyright notice on every page */ li#f-copyright, li#f-lastmod, #editpage-copywarn { display: none; } .portlet li, #BodyContent li { /*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"); } .portlet li:hover, #BodyContent li:hover { list-style-type: square; list-style-image: url("http://en.wikipedia.org/upload/4/44/000000_Bullet.png"); } /* Remove footer */ #footer {display:none;} .printfooter {display:none;} /* Orange bar of death */ .usermessage { background: url('http://upload.wikimedia.org/wikipedia/commons/1/11/Nuvola_apps_bug_40px.png') top right no-repeat; background-repeat: no-repeat; padding-left: 20px; text-transform: none; height: 35px; background-color: #ffffff; border: none; color: #000000; font-weight: bold; font-size: 115%; margin: 2em 0em 1em 0em; padding: 0.5em 1em; vertical-align: middle; } /* Remove God Awful Notices */ #wikimania2006 { display: none; } #footer { display: none; } /* Colors of links a { color: #808080; } a:visited { color: #696969; } a.stub { color: #8b0000; } #bodyContent a.external { color: #808080; } */ /* Remove footer */ #content, #footer { -moz-border-radius-topleft: 4px; -moz-border-radius-bottomleft: 4px; } div.pBody { -moz-border-radius-topright: 4px; -moz-border-radius-bottomright: 4px; } /* Diff rendering */ table.diff { background:white; } td.diff-otitle { background:#ffffff; } td.diff-ntitle { background:#ffffff; } td.diff-addedline { background: #f5f5f5; color: #4169e1; font-size: 100%; } td.diff-deletedline { background: #f5f5f5; color: #b22222; font-size: 100%; } td.diff-context { background:#e6e6fa; color: #708090; font-size: 100%; } span.diffchange { color: #00008b; } /* 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: none; } #p-cactions li.selected { border-color: #aaa; padding: 0 0 0.2em 0; } #p-cactions li a { background-color: #ffffff; color: #696969; 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: #b22222; } #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; } #article { padding: 6px; } #siteSub {display: none} /* "Nice borders for (almost) all boxes", courtesy of Essjay. */ input[type="radio"], input[type="checkbox"] { border:none; } input[type="text"], input[type="submit"], textarea { border: 1px solid #aaa !important; } /* make round corners for the rest */ input[type="text"], input[type="submit"], textarea, pre, #toc { -moz-border-radius: 2px; } /* ? Ask [[User:Essjay/monobook.css]]. */ #content, #footer { -moz-border-radius-topleft: 4px; -moz-border-radius-bottomleft: 4px; } /*Show persondata if it exists in an article. Should remind me to add [[Wikipedia:Persondata]] to bio articles. */ table.persondata {display:table;} /* Underline just the text that's different */ span.diffchange { text-decoration:underline; } /* Don't Display "From Wikipedia, the free encyclopedia", because we know that we are at wikipedia */ #siteSub { display: none; } #wikimania2006 { display: none; } /* Hide the stupid confirm email thing */ #confirmemail {display: none;} /*Remove boiler place on speedy deletes. */ #catcsdhide { display: none; } #catcsdhide2 { display: none; } /* Hide unwelcome notices. */ #pabanner {display: none; } #fundraising {visibility: hidden} /* Yes, I know early registration is open until July 9 and applications are due by June 28. I'm not gonna be there though. */ #wikimania2006 { display: none; } /* Removes fundraiser banners */ #mpbanner { display: none; } /* And election thingies */ #BoardCandidateNotice { display: none; } /* Remove to-me-useless notes in all edit boxes (I have over 30k edits- * I've seen these notices way too damn many times!); leaves only the command buttons and special chars. */ #editpage-copywarn { display: none; } #editpage-copywarn1 { display: none; } #editpage-copywarn2 { display: none; } /* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ #p-cactions ul li, #p-cactions ul li a { -moz-border-radius-topleft: 1em; -moz-border-radius-topright: 1em; } #content { -moz-border-radius-topleft: 1em; -moz-border-radius-bottomleft: 1em; } div.pBody { -moz-border-radius-topright: 1em; -moz-border-radius-bottomright: 1em; } /* same following the css3 draft specs, any browsers supporting this? */ #p-cactions ul li, #p-cactions ul li a { border-radius-topleft: 1em; border-radius-topright: 1em; } #content { border-radius-topleft: 1em; border-radius-bottomleft: 1em; } div.pBody { border-radius-topright: 1em; border-radius-bottomright: 1em; /* 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. */ #content { background: #F8FCFF; /* a light blue */ } .ns-0 * #content { background: white; } #mytabs li { background: #F8FCFF; } .ns-0 * #mytabs li { background: white; } #mytabs li a { background-color: #F8FCFF; } .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. */ #p-cactions li { background: #F8FCFF; } .ns-0 * #p-cactions li { background: white; } #p-cactions li a { background-color: #F8FCFF; } .ns-0 * #p-cactions li a { background-color: white; } } /* Syntax highlighting style; this goes last so as to make it excruciatingly obvious when a * CSS change breaks this file. */ pre span.idselector {color: red;} pre span.classselector {color: green;} pre span.property {color: blue;} pre span.value {color: orange;} pre span.comment {font-weight: bold; background-color: #eee;} pre {background: white;} /* Extreme Syntax highlighting style */ /* Main style for the table */ .dp-highlighter { width: 100%; overflow: auto; line-height: 100% !important; margin: 18px 0px 18px 0px; padding:3px 0 3px 0;} .dp-highlighter table {width: 100%; margin: 2px 0px 2px 0px; border-collapse: collapse; border-bottom: 2px solid #eee; background-color: #fff;} .dp-highlighter td { font-family: Courier New; font-size: 11px;} /* Gutter with line number */ .dp-highlighter .gutter { padding-right: 5px; padding-left: 10px; width: 5px; background-color: #eee; border-right: 1px solid gray; color: gray; text-align: right; vertical-align: top; } /* Single line style */ .dp-highlighter .line1, .line2 { padding-left: 10px; border-bottom: 1px solid #F7F7F7; white-space:nowrap;} .dp-highlighter .line2 { background-color: #F7F7F7;} /* Language specific styles */ .dp-c .comment { color: green; } .dp-c .string { color: #69C; } .dp-c .preprocessor { color: gray; } .dp-c .keyword { color: blue; } .dp-c .vars { color: #d00; } //Borrow a bunch of stuff from User:Omegatron/monobook.css /* Reminder to upload to commons instead */ #t-upload { text-decoration: line-through; } /* Making Lupin's popups work better? */ span.popup_menu { top: 2ex !important; } /* Talk page colors? */ /* Style pour les pages de discussion ; gestion de la coloration indentative */ /* .ns-1 dd, .ns-3 dd, .ns-5 dd, .ns-7 dd, .ns-9 dd, .ns-11 dd, .ns-13 dd,.ns-15 dd, .ns-101 dd, .ns-105 dd { margin: 0; padding: 0; } .ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-101 dl, .ns-105 dl { border-top: 0; border-left: solid 1px #ddf0ff; padding-top: 0em; padding-left: 0.5em; margin-left: 1em; } */ .ns-1 dl, .ns-1 dl dl dl, .ns-1 dl dl dl dl dl, .ns-1 dl dl dl dl dl dl dl, .ns-1 dl dl dl dl dl dl dl dl dl, .ns-3 dl, .ns-3 dl dl dl, .ns-3 dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl, .ns-5 dl, .ns-5 dl dl dl, .ns-5 dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl, .ns-7 dl, .ns-7 dl dl dl, .ns-7 dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl, .ns-9 dl, .ns-9 dl dl dl, .ns-9 dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl, .ns-11 dl, .ns-11 dl dl dl, .ns-11 dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl, .ns-13 dl, .ns-13 dl dl dl, .ns-13 dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl, .ns-15 dl, .ns-15 dl dl dl, .ns-15 dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl, .ns-101 dl, .ns-101 dl dl dl, .ns-101 dl dl dl dl dl, .ns-101 dl dl dl dl dl dl dl, .ns-101 dl dl dl dl dl dl dl dl dl, .ns-105 dl, .ns-105 dl dl dl, .ns-105 dl dl dl dl dl, .ns-105 dl dl dl dl dl dl dl, .ns-105 dl dl dl dl dl dl dl dl dl { background-color: #eff8ff; } .ns-1 dl dl, .ns-1 dl dl dl dl, .ns-1 dl dl dl dl dl dl, .ns-1 dl dl dl dl dl dl dl dl, .ns-1 dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl, .ns-3 dl dl dl dl, .ns-3 dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl, .ns-5 dl dl, .ns-5 dl dl dl dl, .ns-5 dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl, .ns-7 dl dl dl dl, .ns-7 dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl, .ns-9 dl dl, .ns-9 dl dl dl dl, .ns-9 dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl, .ns-11 dl dl dl dl, .ns-11 dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl, .ns-13 dl dl, .ns-13 dl dl dl dl, .ns-13 dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl, .ns-15 dl dl dl dl, .ns-15 dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl, .ns-101 dl dl, .ns-101 dl dl dl dl, .ns-101 dl dl dl dl dl dl, .ns-101 dl dl dl dl dl dl dl dl, .ns-101 dl dl dl dl dl dl dl dl dl dl, .ns-105 dl dl, .ns-105 dl dl dl dl, .ns-105 dl dl dl dl dl dl, .ns-105 dl dl dl dl dl dl dl dl, .ns-105 dl dl dl dl dl dl dl dl dl dl { background-color: #e6f4ff; } //from User:Voice of All/Dropdown/monobook.css #content { -moz-border-radius-topleft: 1em; -moz-border-radius-bottomleft: 1em; } div.pBody { -moz-border-radius-topright: 1em; -moz-border-radius-bottomright: 1em; } #p-cactions li { position: relative; float: left; border: 2px solid lightgrey; } #p-cactions li li { float: none; display: block; border-top: 1px solid lightgrey; border-bottom: 1px solid lightgrey; text-align: center; background: #F8FCFF; background-color: #F8FCFF; -moz-border-radius-topleft: .0em; -moz-border-radius-topright: .0em; -moz-border-radius-bottomright: .0em; -moz-border-radius-bottomleft: .0em; } .tabmenu ul { display: none; z-index: 2; position: relative; top: -2px; border-top: 1px solid #aaaaaa; padding: 0px; margin: 0px; background: #F8FCFF; background-color: grey; } .tabmenu:hover ul { display: block; } .tabmenu a { padding: 0pt 0.8em !important; background: #F8FCFF; background-color: #F8FCFF; } .tabmenu ul a:hover { font-weight: bold; }