MediaWiki:Monobook.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* 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; | |||
} | |||
/* 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-type: square; | |||
list-style-image: url("/AAAAAA_Bullet.png"); | |||
} | |||
.portlet li:hover, #BodyContent li:hover { | |||
list-style-type: square; | |||
list-style-image: url("/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; } | |||
.portlet h5 { | |||
background-color: #ddd; | |||
color: #000; | |||
padding: 0.2em 1em 0.3em 1.5em; | |||
text-transform: lowercase; | |||
height: 1em; | |||
display: block; | |||
font-weight: bold; | |||
white-space: nowrap; | |||
} | |||
a { | |||
text-decoration: none; | |||
color: #002bb8; | |||
background: none; | |||
} | |||
a:visited { | |||
color: #001C78; | |||
} | |||
a:hover { | |||
color: #003CFF; | |||
text-decoration: underline; | |||
} | |||
Revision as of 01:58, 29 September 2005
/* 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;
}
/* 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-type: square;
list-style-image: url("/AAAAAA_Bullet.png");
}
.portlet li:hover, #BodyContent li:hover {
list-style-type: square;
list-style-image: url("/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; }
.portlet h5 {
background-color: #ddd;
color: #000;
padding: 0.2em 1em 0.3em 1.5em;
text-transform: lowercase;
height: 1em;
display: block;
font-weight: bold;
white-space: nowrap;
}
a {
text-decoration: none;
color: #002bb8;
background: none;
}
a:visited {
color: #001C78;
}
a:hover {
color: #003CFF;
text-decoration: underline;
}