Difference between revisions of "MediaWiki:Monobook.css"
Line 29: | Line 29: | ||
/** </nowiki></pre> */ | /** </nowiki></pre> */ | ||
+ | |||
+ | /* If you copy this, please include the following line: */ | ||
+ | |||
+ | /* Stolen from [[User:Animum/monobook.css]] */ | ||
+ | |||
+ | /* Thank you. */ | ||
+ | |||
+ | /* Orange "You have new messages" changed to use that nice icon of a rotary phone and complimenting colors */ | ||
+ | .usermessage { | ||
+ | background-color: transparent; | ||
+ | background: url('http://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Exquisite-Modem_cropped.png/32px-Exquisite-Modem_cropped.png') no-repeat left; | ||
+ | color: #444444; | ||
+ | border: none; | ||
+ | font-weight: bold; | ||
+ | margin: 2em 0em 1em 0em; | ||
+ | padding-left: 3.5em; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | |||
+ | .usermessage a { | ||
+ | color: #444444; | ||
+ | } | ||
+ | |||
+ | /* "From Wikipedia, the free encyclopedia" modification */ | ||
+ | #siteSub { | ||
+ | font-family: Trebuchet MS; | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | |||
+ | /* Text alignment */ | ||
+ | body.mediawiki { | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | /* Tab-rounding */ | ||
+ | #p-cactions ul { | ||
+ | overflow: visible; | ||
+ | } | ||
+ | |||
+ | #p-cactions li { | ||
+ | border: 2px solid lightgrey; | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | -moz-border-radius-topleft: .5em; | ||
+ | -moz-border-radius-topright: .5em; | ||
+ | } | ||
+ | |||
+ | /* Get rid of the border in the page title */ | ||
+ | .firstHeading { | ||
+ | border-bottom: none; | ||
+ | } | ||
+ | |||
+ | /* Don't display the border when using templates such as {{User:One/Title}} */ | ||
+ | hr#hrTitleModification { | ||
+ | width: 0%; | ||
+ | } | ||
+ | |||
+ | /* Replace dotted borders on pre with a solid one */ | ||
+ | #bodyContent pre { | ||
+ | border: 1px solid #aaa; | ||
+ | } | ||
+ | |||
+ | /* Miscellaneous corner-rounding */ | ||
+ | div.pBody { | ||
+ | -moz-border-radius-topright: 0.5em; | ||
+ | -moz-border-radius-bottomright: 0.5em; | ||
+ | } | ||
+ | |||
+ | #content { | ||
+ | -moz-border-radius-topleft: 0.75em; | ||
+ | -moz-border-radius-bottomleft: 0.75em; | ||
+ | border: 1px solid #AAAAAA; | ||
+ | } | ||
+ | |||
+ | #footer { | ||
+ | -moz-border-radius: 6px; | ||
+ | border: 1px solid #fabd23; | ||
+ | } | ||
+ | |||
+ | /* Link customization */ | ||
+ | #bodyContent a.text { | ||
+ | background: display; | ||
+ | } | ||
+ | |||
+ | /* Some edit screen modifications */ | ||
+ | #editpage-copywarn3, #editpage-copywarn2, #editpage-copywarn { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | input#wpSummary { | ||
+ | width: 50%; | ||
+ | margin-top: 12px; | ||
+ | } | ||
+ | |||
+ | .editHelp { | ||
+ | margin-top: 1.25em; | ||
+ | margin-bottom: 6px; | ||
+ | } | ||
+ | |||
+ | #wpSave, #wpPreview { | ||
+ | margin-right: 1px; | ||
+ | } | ||
+ | |||
+ | #toolbar { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | textarea#wpTextbox1 { | ||
+ | background-color: #FFFFFF; /* Kill the horrible new background color for certain pages */ | ||
+ | border: 1px solid #AAAAAA; | ||
+ | } | ||
+ | |||
+ | #longpagewarning { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /* Patrolled pages "fixer" */ | ||
+ | .patrollink { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | li.not-patrolled { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | /* This bit is stolen from [[User:AzaToth/monobook.css]], which is in turn modified from [[User:Ævar Arnfjörð Bjarmason/monobook.css]] */ | ||
+ | |||
+ | /* Nice borders for (almost) all boxes */ | ||
+ | input[type="radio"], input[type="checkbox"] { | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | input[type="submit"] { | ||
+ | border: 1px solid #aaa !important; | ||
+ | background-color: #f9f9f9 !important; | ||
+ | } | ||
+ | |||
+ | /* make round corners for the rest */ | ||
+ | input[type="submit"] { | ||
+ | -moz-border-radius-topleft: 2px !important; | ||
+ | -moz-border-radius-topright: 2px !important; | ||
+ | -moz-border-radius-bottomleft: 2px; | ||
+ | -moz-border-radius-bottomright: 2px; | ||
+ | } | ||
+ | |||
+ | input[type="submit"] { | ||
+ | color: #aaa !important; | ||
+ | } | ||
+ | |||
+ | input[type="submit"]:hover, input[type="submit"]:focus { | ||
+ | background-color: #fff !important; | ||
+ | color: #000 !important; | ||
+ | cursor: pointer !important; | ||
+ | } | ||
+ | |||
+ | /* Prettify the headers of the quickbar (left-hand column of boxes) */ | ||
+ | |||
+ | #p-navigation h5, #p-interaction h5, #p-search h5, #p-tb h5, #p-navclone h5, #p-lang h5 { | ||
+ | display: inline; | ||
+ | height: 1em; | ||
+ | font-size: 85%; | ||
+ | font-weight: normal; | ||
+ | white-space: nowrap; | ||
+ | border-color: #aaa; | ||
+ | border-width: 1px; | ||
+ | border-style: solid solid none solid; | ||
+ | padding: 0 1em 1px 1em; | ||
+ | text-transform: lowercase; | ||
+ | background: white; | ||
+ | -moz-border-radius-topright: 1em; | ||
+ | } | ||
+ | |||
+ | #p-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang { | ||
+ | padding-top: 2px; | ||
+ | } | ||
+ | |||
+ | /* Diff screen changes */ | ||
+ | |||
+ | del.diffchange.diffchange-inline, ins.diffchange.diffchange-inline { | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | /* Works in conjunction with my monobook.js */ | ||
+ | |||
+ | li#ca-userrights, li#ca-stats6, li#ca-rts { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /* Nix the "Try Beta" link and donation notice */ | ||
+ | |||
+ | li#pt-optin-try, li#pt-acaibeta, div#siteNotice { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /* Space below is for testing */ |
Revision as of 15:14, 30 January 2010
/* CSS placed here will affect users of the Monobook skin */
/** <pre><nowiki> */
/***** BACKGROUND COLORS FOR CONTENT ACTIONS *****/
/***** taken from Common.css into Monobook.css due to monobook-specific stuff *****/
/* Colour of pseudo NS Special (light grey) */
.ns--2 #p-cactions li, .ns--2 #p-cactions li a { background: #f4f4f4; }
/* Colour of NS Project + Project_talk (light sky blue) */
.ns-4 #p-cactions li, .ns-4 #p-cactions li a { background: #f8fcff; }
.ns-5 #p-cactions li, .ns-5 #p-cactions li a { background: #f8fcff; }
/* Colour of NS MediaWiki + MediaWiki_talk (light grey) */
.ns-8 #p-cactions li, .ns-8 #p-cactions li a { background: #f4f4f4; }
.ns-9 #p-cactions li, .ns-9 #p-cactions li a { background: #f4f4f4; }
/***** Colours of custom namespaces *****
.ns-100 #p-cactions li, .ns-100 #p-cactions li a { background: #FFFAE8; }
.ns-101 #p-cactions li, .ns-101 #p-cactions li a { background: #FFFAE8; }
.ns-102 #p-cactions li, .ns-102 #p-cactions li a { background: #F8FEFF; }
.ns-103 #p-cactions li, .ns-103 #p-cactions li a { background: #F8FEFF; }
.ns-104 #p-cactions li, .ns-104 #p-cactions li a { background: #FFFAE8; }
.ns-105 #p-cactions li, .ns-105 #p-cactions li a { background: #FFFAE8; }
*********************************/
/** </nowiki></pre> */
/* If you copy this, please include the following line: */
/* Stolen from [[User:Animum/monobook.css]] */
/* Thank you. */
/* Orange "You have new messages" changed to use that nice icon of a rotary phone and complimenting colors */
.usermessage {
background-color: transparent;
background: url('http://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Exquisite-Modem_cropped.png/32px-Exquisite-Modem_cropped.png') no-repeat left;
color: #444444;
border: none;
font-weight: bold;
margin: 2em 0em 1em 0em;
padding-left: 3.5em;
vertical-align: middle;
}
.usermessage a {
color: #444444;
}
/* "From Wikipedia, the free encyclopedia" modification */
#siteSub {
font-family: Trebuchet MS;
font-size: 95%;
}
/* Text alignment */
body.mediawiki {
text-align: left;
}
/* Tab-rounding */
#p-cactions ul {
overflow: visible;
}
#p-cactions li {
border: 2px solid lightgrey;
position: relative;
float: left;
-moz-border-radius-topleft: .5em;
-moz-border-radius-topright: .5em;
}
/* Get rid of the border in the page title */
.firstHeading {
border-bottom: none;
}
/* Don't display the border when using templates such as {{User:One/Title}} */
hr#hrTitleModification {
width: 0%;
}
/* Replace dotted borders on pre with a solid one */
#bodyContent pre {
border: 1px solid #aaa;
}
/* Miscellaneous corner-rounding */
div.pBody {
-moz-border-radius-topright: 0.5em;
-moz-border-radius-bottomright: 0.5em;
}
#content {
-moz-border-radius-topleft: 0.75em;
-moz-border-radius-bottomleft: 0.75em;
border: 1px solid #AAAAAA;
}
#footer {
-moz-border-radius: 6px;
border: 1px solid #fabd23;
}
/* Link customization */
#bodyContent a.text {
background: display;
}
/* Some edit screen modifications */
#editpage-copywarn3, #editpage-copywarn2, #editpage-copywarn {
display: none;
}
input#wpSummary {
width: 50%;
margin-top: 12px;
}
.editHelp {
margin-top: 1.25em;
margin-bottom: 6px;
}
#wpSave, #wpPreview {
margin-right: 1px;
}
#toolbar {
display: none;
}
textarea#wpTextbox1 {
background-color: #FFFFFF; /* Kill the horrible new background color for certain pages */
border: 1px solid #AAAAAA;
}
#longpagewarning {
display: none;
}
/* Patrolled pages "fixer" */
.patrollink {
display: none;
}
li.not-patrolled {
background-color: transparent;
}
/* This bit is stolen from [[User:AzaToth/monobook.css]], which is in turn modified from [[User:Ævar Arnfjörð Bjarmason/monobook.css]] */
/* Nice borders for (almost) all boxes */
input[type="radio"], input[type="checkbox"] {
border: none;
}
input[type="submit"] {
border: 1px solid #aaa !important;
background-color: #f9f9f9 !important;
}
/* make round corners for the rest */
input[type="submit"] {
-moz-border-radius-topleft: 2px !important;
-moz-border-radius-topright: 2px !important;
-moz-border-radius-bottomleft: 2px;
-moz-border-radius-bottomright: 2px;
}
input[type="submit"] {
color: #aaa !important;
}
input[type="submit"]:hover, input[type="submit"]:focus {
background-color: #fff !important;
color: #000 !important;
cursor: pointer !important;
}
/* Prettify the headers of the quickbar (left-hand column of boxes) */
#p-navigation h5, #p-interaction h5, #p-search h5, #p-tb h5, #p-navclone h5, #p-lang h5 {
display: inline;
height: 1em;
font-size: 85%;
font-weight: normal;
white-space: nowrap;
border-color: #aaa;
border-width: 1px;
border-style: solid solid none solid;
padding: 0 1em 1px 1em;
text-transform: lowercase;
background: white;
-moz-border-radius-topright: 1em;
}
#p-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang {
padding-top: 2px;
}
/* Diff screen changes */
del.diffchange.diffchange-inline, ins.diffchange.diffchange-inline {
border: none;
}
/* Works in conjunction with my monobook.js */
li#ca-userrights, li#ca-stats6, li#ca-rts {
display: none;
}
/* Nix the "Try Beta" link and donation notice */
li#pt-optin-try, li#pt-acaibeta, div#siteNotice {
display: none;
}
/* Space below is for testing */