MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 101: | Line 101: | ||
span.diffchange { color: #00008b; } | span.diffchange { color: #00008b; } | ||
} | |||
/* | |||
** general portlet styles (elements in the quickbar) | |||
*/ | |||
.portlet { | |||
margin: 0; | |||
} | |||
.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; | |||
border: 1px #ccc outset; | |||
border-width: 1px 0 0 0; | |||
} | |||
.pBody { | |||
background-color: #eee; | |||
border-collapse: collapse; | |||
border-width: 0; | |||
padding: 0 0.8em 0.3em 1.5em; | |||
} | |||
.pBody a { color: #000; } | |||
.portlet ul { | |||
line-height: 1.5em; | |||
list-style: none; | |||
font-size:95%; | |||
margin-left: 0; | |||
margin-top: 0.1em; | |||
} | |||
/* | |||
** Search portlet | |||
*/ | |||
input.searchButton { | |||
margin-top:1px; | |||
padding: 0 0.4em !important; | |||
font-size: 95%; | |||
cursor: pointer; | |||
background-color: #cddaff; | |||
border: 1px outset #cddaff; | |||
} | |||
#searchGoButton { | |||
border: 1px outset #cddaff; | |||
padding-left: .5em; | |||
padding-right: .5em; | |||
font-weight: bold; | |||
} | } |
Revision as of 23:26, 28 September 2005
/* 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; } } /* ** general portlet styles (elements in the quickbar) */ .portlet { margin: 0; } .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; border: 1px #ccc outset; border-width: 1px 0 0 0; } .pBody { background-color: #eee; border-collapse: collapse; border-width: 0; padding: 0 0.8em 0.3em 1.5em; } .pBody a { color: #000; } .portlet ul { line-height: 1.5em; list-style: none; font-size:95%; margin-left: 0; margin-top: 0.1em; } /* ** Search portlet */ input.searchButton { margin-top:1px; padding: 0 0.4em !important; font-size: 95%; cursor: pointer; background-color: #cddaff; border: 1px outset #cddaff; } #searchGoButton { border: 1px outset #cddaff; padding-left: .5em; padding-right: .5em; font-weight: bold; }