MediaWiki:Monobook.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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 */
/* user notification thing */
.usermessage {
background-color: #b0c4de;
border: 1px solid #7b68ee;
color: #808080;
font-weight: bold;
margin: 2em 0em 1em 0em;
padding: 0.5em 1em;
vertical-align: middle;
}
#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;
}
#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; }
}