Diferència entre les revisions de "MediaWiki:Monobook.css"
Anar a la navegació
Anar a la busca
Llínea 1: | Llínea 1: | ||
/* If you copy this, please include the following line: */ | /* If you copy this, please include the following line: */ | ||
− | + | ||
/* Stolen from [[User:Animum/monobook.css]] */ | /* Stolen from [[User:Animum/monobook.css]] */ | ||
− | + | ||
/* Thank you. */ | /* Thank you. */ | ||
− | + | ||
/* Orange "You have new messages" changed */ | /* Orange "You have new messages" changed */ | ||
.usermessage { | .usermessage { | ||
Llínea 15: | Llínea 15: | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
− | + | ||
.usermessage a { | .usermessage a { | ||
color:#5A3696 | color:#5A3696 | ||
} | } | ||
− | + | ||
/* "From Wikipedia, the free encyclopedia" modification */ | /* "From Wikipedia, the free encyclopedia" modification */ | ||
#siteSub { | #siteSub { | ||
Llínea 25: | Llínea 25: | ||
font-size: 95%; | font-size: 95%; | ||
} | } | ||
− | + | ||
/* Text alignment */ | /* Text alignment */ | ||
body.mediawiki { | body.mediawiki { | ||
text-align: left; | text-align: left; | ||
} | } | ||
− | + | ||
/* Tab rounding */ | /* Tab rounding */ | ||
#p-cactions ul | #p-cactions ul | ||
Llínea 36: | Llínea 36: | ||
overflow:visible; | overflow:visible; | ||
} | } | ||
− | + | ||
#p-cactions li | #p-cactions li | ||
{ | { | ||
− | border: | + | border: 2px solid lightgrey; |
position: relative; | position: relative; | ||
float: left; | float: left; | ||
Llínea 45: | Llínea 45: | ||
-moz-border-radius-topright: .5em; | -moz-border-radius-topright: .5em; | ||
} | } | ||
− | + | ||
+ | /* Get rid of the border in the page title */ | ||
+ | .firstHeading { | ||
+ | border-bottom:none; | ||
+ | } | ||
+ | |||
/* Replace dotted borders on pre with a solid one. */ | /* Replace dotted borders on pre with a solid one. */ | ||
#bodyContent pre { | #bodyContent pre { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
} | } | ||
− | + | ||
/* Miscellaneous Corner-rounding */ | /* Miscellaneous Corner-rounding */ | ||
div.pBody { | div.pBody { | ||
Llínea 56: | Llínea 61: | ||
-moz-border-radius-bottomright:0.5em; | -moz-border-radius-bottomright:0.5em; | ||
} | } | ||
− | + | ||
#content { | #content { | ||
-moz-border-radius-topleft: 0.75em; | -moz-border-radius-topleft: 0.75em; | ||
-moz-border-radius-bottomleft: 0.75em; | -moz-border-radius-bottomleft: 0.75em; | ||
+ | border:1px solid #AAAAAA; | ||
} | } | ||
− | + | ||
#footer { | #footer { | ||
-moz-border-radius: 6px; | -moz-border-radius: 6px; | ||
border:1px solid #fabd23; | border:1px solid #fabd23; | ||
} | } | ||
− | + | ||
/* Link customization */ | /* Link customization */ | ||
#bodyContent a:active { font-weight: normal; } | #bodyContent a:active { font-weight: normal; } | ||
− | #bodyContent a.interwiki, a.external { color: #002bb8; background:none; } | + | #bodyContent a.interwiki, a.external { color: #002bb8; background:none; }} |
− | + | #bodyContent a.text { background: display; } | |
+ | |||
/* Some editing screen modifications */ | /* Some editing screen modifications */ | ||
− | + | #editpage-copywarn3, #editpage-copywarn2, #editpage-copywarn { | |
display: none; | display: none; | ||
− | } | + | } |
− | + | ||
input#wpSummary { | input#wpSummary { | ||
width: 50%; | width: 50%; | ||
margin-top: 12px; | margin-top: 12px; | ||
} | } | ||
− | + | ||
.editHelp { | .editHelp { | ||
margin-top:1.25em; | margin-top:1.25em; | ||
margin-bottom:6px; | margin-bottom:6px; | ||
} | } | ||
− | + | ||
#wpSave, #wpPreview { | #wpSave, #wpPreview { | ||
margin-right:1px; | margin-right:1px; | ||
} | } | ||
− | + | ||
#previewnote { | #previewnote { | ||
text-decoration: blink; | text-decoration: blink; | ||
+ | } | ||
+ | |||
+ | #toolbar { | ||
+ | display: none; | ||
} | } | ||
Llínea 104: | Llínea 115: | ||
color:#000000; | color:#000000; | ||
} | } | ||
− | + | ||
#longpagewarning { | #longpagewarning { | ||
display:none | display:none | ||
} | } | ||
− | + | ||
/* Get RID of that annoying fund raiser advert */ | /* Get RID of that annoying fund raiser advert */ | ||
#siteNotice { | #siteNotice { | ||
display:none | display:none | ||
} | } | ||
− | + | ||
/* Admin tools link fixer */ | /* Admin tools link fixer */ | ||
#adminbarlinks a:visited { | #adminbarlinks a:visited { | ||
color:#002BB8 | color:#002BB8 | ||
} | } | ||
− | + | ||
/* Patrolled pages fixer */ | /* Patrolled pages fixer */ | ||
.patrollink { | .patrollink { | ||
Llínea 126: | Llínea 137: | ||
background-color:transparent | background-color:transparent | ||
} | } | ||
− | + | ||
/* THIS LAST BIT IS STOLEN FROM AZATOTH'S MONOBOOK.CSS */ | /* THIS LAST BIT IS STOLEN FROM AZATOTH'S MONOBOOK.CSS */ | ||
− | + | ||
/* Nice borders for (almost) all boxes */ | /* Nice borders for (almost) all boxes */ | ||
input[type="radio"], | input[type="radio"], | ||
Llínea 145: | Llínea 156: | ||
input[type="submit"] {color: #aaa !important;} | input[type="submit"] {color: #aaa !important;} | ||
input[type="submit"]:hover, input[type="submit"]:focus {background-color: #fff !important; color: #000 !important; cursor: pointer !important;} | input[type="submit"]:hover, input[type="submit"]:focus {background-color: #fff !important; color: #000 !important; cursor: pointer !important;} | ||
− | + | ||
/* For use with my monobook */ | /* For use with my monobook */ | ||
.ns-0 * .tabmenu ul li { | .ns-0 * .tabmenu ul li { | ||
background: white !important; | background: white !important; | ||
} | } | ||
− | + | ||
/* Prettify the headers of the quickbar (left-hand column of boxes) */ | /* 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 { | #p-navigation h5, #p-interaction h5, #p-search h5, #p-tb h5, #p-navclone h5, #p-lang h5 { | ||
display: inline; | display: inline; | ||
height: 1em; | height: 1em; | ||
− | font-size: | + | font-size: 85%; |
font-weight: normal; | font-weight: normal; | ||
white-space: nowrap; | white-space: nowrap; | ||
Llínea 167: | Llínea 178: | ||
-moz-border-radius-topright:1em | -moz-border-radius-topright:1em | ||
} | } | ||
− | + | ||
#p-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang { | #p-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang { | ||
padding-top: 2px; | padding-top: 2px; | ||
} | } | ||
− | + | ||
/* Diff screen changes */ | /* Diff screen changes */ | ||
− | + | ||
del.diffchange.diffchange-inline, ins.diffchange.diffchange-inline { border:none; } | del.diffchange.diffchange-inline, ins.diffchange.diffchange-inline { border:none; } | ||
− | + | ||
/* Space for testing below */ | /* Space for testing below */ | ||
+ | body.page-Main_Page li#ca-nstab-main { content:"main page" } |
Revisió de 13:06 9 jul 2008
/* If you copy this, please include the following line: */
/* Stolen from [[User:Animum/monobook.css]] */
/* Thank you. */
/* Orange "You have new messages" changed */
.usermessage {
background: url('http://upload.wikimedia.org/wikipedia/commons/c/ca/360%C2%B0_Panorama_vom_Ahrensfelder_Berg.jpg') repeat-x center;
border: 1px solid silver;
color: #5A3696;
font-weight: bold;
margin: 2em 0em 1em 0em;
padding: 0.5em 1em;
vertical-align: middle;
}
.usermessage a {
color:#5A3696
}
/* "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;
}
/* 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:active { font-weight: normal; }
#bodyContent a.interwiki, a.external { color: #002bb8; background:none; }}
#bodyContent a.text { background: display; }
/* Some editing 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;
}
#previewnote {
text-decoration: blink;
}
#toolbar {
display: none;
}
#protectedpagewarning {
-moz-border-radius:.5em;
margin: 0 0 1em;
padding: .6em .6em;
vertical-align: middle;
border: solid #aaaaaa 1px;
font-size:91%;
background-color:#ffffff;
color:#000000;
}
#longpagewarning {
display:none
}
/* Get RID of that annoying fund raiser advert */
#siteNotice {
display:none
}
/* Admin tools link fixer */
#adminbarlinks a:visited {
color:#002BB8
}
/* Patrolled pages fixer */
.patrollink {
display:none
}
li.not-patrolled {
background-color:transparent
}
/* THIS LAST BIT IS STOLEN FROM AZATOTH'S 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;}
/* For use with my monobook */
.ns-0 * .tabmenu ul li {
background: white !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; }
/* Space for testing below */
body.page-Main_Page li#ca-nstab-main { content:"main page" }