User:Dbmag9/monobook.css
Jump to navigation
Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
- Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
- Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5;
- Konqueror: simply click the Reload button, or press F5;
- Opera users may need to completely clear their cache in Tools→Preferences.
Warning: Malicious code can compromise your account. Page preview will cause your web browser to execute this page's content as code under some skins, including Monobook. If you have any questions about any code you plan to add, you can ask at the appropriate reading room. |
The accompanying .js page for this skin can be added at User:Dbmag9/monobook.js. |
/*<pre><nowiki>*/
/* Orange bar of death */
.usermessage {
background-color:#a9a9a9;
border: 1px solid #696969;
color: #696969;
font-weight: bold;
margin: 2em 0em 1em 0em;
padding: 0.5em 1em;
vertical-align: middle;
}
/* Remove God Awful Notices */
#confirmemail { display: none; }
#footer { display: none; }
/* Colors of links */
a { color: #808080; }
a:visited { color: #696969; }
a:active, a.new { color: #b22222; }
a.interwiki, a.external { color: #808080; }
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;
}
/* Dotted borders on pre look ugly, replace with a solid one */
#bodyContent pre {
border: 1px solid #aaa;
}
/* suppress the person icon by your username */
li#pt-userpage { background: none }
/* Avoid offpage text */
/* Eliminate yellow colour everywhere in borders */
#p-cactions li.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: 1px solid #aaa;
border-bottom: 1px solid #aaa;
border-left: 1px solid #aaa;
margin: 0.6em 0em 1em 155px;
}
/* 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");
/* Nice borders for (almost) all boxes */
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;
}
/* Remove footer */
#footer {display:none;}
.printfooter {display:none;}
}
/* 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 toolbox toolbar */
/* this is the ul contained in the portlet */
#p-tb ul {
color: #696969;
}
#p-tb li { color: #696969; }
#p-tb li a { color: #696969; }
}
/* The navagation toolbar */
/* this is the ul contained in the portlet */
#p-navigation ul {
color: #696969;
}
#p-navigation li { color: #696969; }
#p-navigation li a { color: #696969; }
}
/* The personal toolbar */
/* this is the ul contained in the portlet */
#p-personal ul {
color: #696969;
}
#p-personal li { color: #696969; }
#p-personal li a { color: #696969; }
}
/* 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: none;
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;
}
/* Change background color to white, and text to gray it *is* a *mono*book... */
#content {
background: white;
color: #696969;
}
#content div.thumb {
border-color: #F8FCFF;
}
#mytabs li {
background: white;
color: #696969;
}
#mytabs li a {
background: white;
color: #696969;
}
#p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a {
background: white;
color: #696969;
}
#p-cactions li
{
position: relative;
float: left;
}
#p-cactions li li
{
float: none;
display: block;
border: 1px solid #aaaaaa;
border-top: none;
text-align: center;
background: none;
background-color: white;
color: #696969;
}
.tabmenu ul
{
display: none;
z-index: 2;
position: relative;
top: -2px;
border-top: 1px solid #aaaaaa;
padding: 0px;
margin: 0px;
background: none;
background-color: white;
color: #696969;
}
.tabmenu:hover ul
{
display: block;
}
.tabmenu a
{
padding: 0pt 0.8em !important;
background: none;
background-color: white;
color: #696969;
}
.tabmenu ul a:hover
{
font-weight: bold;
}
/* Change the "coffee roll" messagebox theme */
.Talk-Notice {
border: 2px solid #191970;
background-color: #b0c4de;
margin-bottom: 3px;
width: 85%;
padding: 5px;
border-spacing: 3px;
margin-left: auto;
margin-right: auto;
}
.Talk-Notice:after {
display: none;
}
/* Standardize messagebox theme */
.messagebox.standard-talk {
border: 1px solid #696969;
background-color: #f5f5f5;
}
.messagebox.cleanup {
border: 1px solid #aaaaaa;
background-color: #f5f5f5;
}
.messagebox {
border: 1px solid #aaaaaa;
background-color: #f5f5f5;
}
/* Play with TOC colors */
.toccolours {
border:1px solid #aaaaaa;
background-color:#f5f5f5;
padding:5px;
font-size: 95%;
}
</nowiki></pre>