Ero sivun ”Järjestelmäviesti:Monobook.css” versioiden välillä
ApoWikistä
p (testataan miten wipeout vaikuttaa) |
Ei muokkausyhteenvetoa |
||
Rivi 1: | Rivi 1: | ||
/* Huomio ylläpitäjät ja ylläpitäjättäret! On olemassa sivu [[MediaWiki:Common.css]], * | |||
* joka toimii kaikilla ulkoasuilla eikä vain Monobookilla. Testausta voi harjoitella * | |||
* omalla sivulla. Kiitos ja näkemiin. */ | |||
/* | |||
<pre> | |||
*/ | |||
#p-cactions { left: 11.5em !important; } | |||
.newpage {color:green; font-weight:bold;} | |||
.minoredit {color:gray;} | |||
.minor {color:gray;} | |||
table.diff { | |||
border: 2px solid #fc6; | |||
} | |||
#readability | |||
.history-user { margin-left:2em; } | |||
/* .voteimage { display:none; } */ | |||
#pt-login { | |||
font-weight: bold; | |||
font-size: 110%; | |||
} | |||
form#userlogin { | |||
float: left; | |||
padding: 1em 1em .7em 1em; | |||
background-color: #ffffe6; | |||
border: 2px solid #fc6; | |||
color: #000; | |||
margin-right: 2em; | |||
} | |||
form#userlogin table { | |||
float: left; | |||
background-color: #ffffe6; | |||
color: #000; | |||
} | |||
/* korostetaan redirei */ | |||
.allpagesredirect a { | |||
border-bottom: 2px dotted #00bbff; | |||
} | |||
/* copyright -taustakuvan testaus */ | |||
body.page-ApologetiikkaWiki:Hiekkalaatikko #content { | |||
border: 2px solid #0000cc; border-right: none; | |||
background-image: url(http://www.apologetiikkawiki.fi/wiki/images/0/0d/CR-banner.png); | |||
background-repeat: no-repeat; | |||
background-position: right top; | |||
} | |||
/* taustavärin testaus*/ | |||
/* body { background: white; }*/ | |||
/* BEGIN LIGHT BLUE SECTION | |||
Make content area light blue in all namespaces except articles (main namespace). | |||
This is done by setting the background color for all #content areas | |||
to light blue, and then overriding it back to white for any #content | |||
enclosed in a .ns-0 (main namespace). We do the same for the "tab" | |||
backgrounds and some other objects. */ | |||
#content, | |||
#p-cactions li a:hover, #p-cactions li.selected a, | |||
#content div.thumb { /* "Margin" for thumbs, padding for galleries */ | |||
background-color: #F8FCFF; /* Light blue */ | |||
} | |||
#p-cactions li a { | |||
background-color: #F7F9FB; /* Light blue-gray inactive tabs */ | |||
} | |||
.ns-0 #content, | |||
.ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a, | |||
.ns-0 #content div.thumb { | |||
background-color: white; /* Set back to white for articles */ | |||
} | |||
.ns-0 #p-cactions li a { | |||
background-color: #FBFBFB; /* Light gray inactive tabs in articles */ | |||
} | |||
/* Category lists and diffs transparent instead of white. */ | |||
#mw-subcategories table, #mw-pages table, | |||
table.diff, td.diff-otitle, td.diff-ntitle { | |||
background-color: transparent; | |||
} | |||
/* END LIGHT BLUE SECTION */ | |||
.notification { | |||
border-top: 2px solid #ddd; | |||
border-bottom:2px solid #ddd; | |||
text-align: justify; | |||
margin: 1em 0.5em; | |||
padding: 0.5em; | |||
} | |||
/* Etusivusta valkopohjainen */ | |||
body.page-Etusivu #content, | |||
body.page-Etusivu #p-cactions li a:hover, | |||
body.page-Etusivu #p-cactions li.selected a, | |||
body.page-Etusivu #content div.thumb { | |||
background: #fff !important; | |||
} | |||
/* Piilottaa otsikot yms. etusivulta */ | |||
body.page-Etusivu #deleteconfirm, | |||
body.page-Etusivu #t-cite, | |||
body.page-Etusivu #lastmod, | |||
body.page-Etusivu #siteSub, | |||
body.page-Etusivu h1.firstHeading { | |||
display: none !important; | |||
} | |||
/* For positioning icons at top-right, used in Templates | |||
"Spoken Article" and "Featured Article" */ | |||
div.topicon { | |||
position:absolute; | |||
z-index:100; | |||
top:10px; | |||
display: block !important; | |||
} | |||
@media print { | |||
/* Do not print edit link in templates using Template:Ed | |||
Do not print certain classes that shouldn't appear on paper */ | |||
.editlink, .noprint, .metadata, .dablink { display: none } | |||
#content { background: #FFFFFF; } /* white background on print */ | |||
} | |||
/* Superscript fix */ | |||
#bodyContent sup { | |||
font-size: smaller; | |||
vertical-align: baseline; | |||
position: relative; | |||
bottom: 0.33em; | |||
} | |||
#bodyContent sub { | |||
font-size: smaller; | |||
vertical-align: baseline; | |||
position: relative; | |||
bottom: -0.25em; | |||
} | |||
#coordinates { | |||
position:absolute; | |||
z-index:1; | |||
border:none; | |||
background:none; | |||
right:30px; | |||
top:3.7em; | |||
float:right; | |||
margin:0.0em; | |||
padding:0.0em; | |||
line-height:1.5em; | |||
text-align:right; | |||
text-indent:0; | |||
font-size:85%; | |||
text-transform:none; | |||
white-space:nowrap; | |||
} | |||
.portlet li { | |||
list-style-image: url("http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png"); | |||
} | |||
li.FA { | |||
list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png") !important; | |||
} | |||
li.GA { | |||
list-style-image: url("http://upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png") !important; | |||
} | |||
#mw-dismissable-notice { | |||
background-color: inherit; | |||
} | |||
a.info{ | |||
position:relative; /*this is the key*/ | |||
z-index:24;; | |||
color: blue; | |||
text-decoration:none} | |||
a.info:hover{z-index:25; background-color:#ff0} | |||
a.info span{display: none} | |||
a.info:hover span{ /*the span will display just on :hover state*/ | |||
display:block; | |||
position:absolute; | |||
top:2em; left:2em; width:15em; | |||
border:1px solid #0cf; | |||
background-color:#cff; color:#000; | |||
text-align: center} | |||
/* | |||
</pre> | |||
*/ |
Versio 15. joulukuuta 2009 kello 18.54
/* Huomio ylläpitäjät ja ylläpitäjättäret! On olemassa sivu [[MediaWiki:Common.css]], *
* joka toimii kaikilla ulkoasuilla eikä vain Monobookilla. Testausta voi harjoitella *
* omalla sivulla. Kiitos ja näkemiin. */
/*
<pre>
*/
#p-cactions { left: 11.5em !important; }
.newpage {color:green; font-weight:bold;}
.minoredit {color:gray;}
.minor {color:gray;}
table.diff {
border: 2px solid #fc6;
}
#readability
.history-user { margin-left:2em; }
/* .voteimage { display:none; } */
#pt-login {
font-weight: bold;
font-size: 110%;
}
form#userlogin {
float: left;
padding: 1em 1em .7em 1em;
background-color: #ffffe6;
border: 2px solid #fc6;
color: #000;
margin-right: 2em;
}
form#userlogin table {
float: left;
background-color: #ffffe6;
color: #000;
}
/* korostetaan redirei */
.allpagesredirect a {
border-bottom: 2px dotted #00bbff;
}
/* copyright -taustakuvan testaus */
body.page-ApologetiikkaWiki:Hiekkalaatikko #content {
border: 2px solid #0000cc; border-right: none;
background-image: url(http://www.apologetiikkawiki.fi/wiki/images/0/0d/CR-banner.png);
background-repeat: no-repeat;
background-position: right top;
}
/* taustavärin testaus*/
/* body { background: white; }*/
/* BEGIN LIGHT BLUE SECTION
Make content area light blue in all namespaces except articles (main namespace).
This is done by setting the background color for all #content areas
to light blue, and then overriding it back to white for any #content
enclosed in a .ns-0 (main namespace). We do the same for the "tab"
backgrounds and some other objects. */
#content,
#p-cactions li a:hover, #p-cactions li.selected a,
#content div.thumb { /* "Margin" for thumbs, padding for galleries */
background-color: #F8FCFF; /* Light blue */
}
#p-cactions li a {
background-color: #F7F9FB; /* Light blue-gray inactive tabs */
}
.ns-0 #content,
.ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a,
.ns-0 #content div.thumb {
background-color: white; /* Set back to white for articles */
}
.ns-0 #p-cactions li a {
background-color: #FBFBFB; /* Light gray inactive tabs in articles */
}
/* Category lists and diffs transparent instead of white. */
#mw-subcategories table, #mw-pages table,
table.diff, td.diff-otitle, td.diff-ntitle {
background-color: transparent;
}
/* END LIGHT BLUE SECTION */
.notification {
border-top: 2px solid #ddd;
border-bottom:2px solid #ddd;
text-align: justify;
margin: 1em 0.5em;
padding: 0.5em;
}
/* Etusivusta valkopohjainen */
body.page-Etusivu #content,
body.page-Etusivu #p-cactions li a:hover,
body.page-Etusivu #p-cactions li.selected a,
body.page-Etusivu #content div.thumb {
background: #fff !important;
}
/* Piilottaa otsikot yms. etusivulta */
body.page-Etusivu #deleteconfirm,
body.page-Etusivu #t-cite,
body.page-Etusivu #lastmod,
body.page-Etusivu #siteSub,
body.page-Etusivu h1.firstHeading {
display: none !important;
}
/* For positioning icons at top-right, used in Templates
"Spoken Article" and "Featured Article" */
div.topicon {
position:absolute;
z-index:100;
top:10px;
display: block !important;
}
@media print {
/* Do not print edit link in templates using Template:Ed
Do not print certain classes that shouldn't appear on paper */
.editlink, .noprint, .metadata, .dablink { display: none }
#content { background: #FFFFFF; } /* white background on print */
}
/* Superscript fix */
#bodyContent sup {
font-size: smaller;
vertical-align: baseline;
position: relative;
bottom: 0.33em;
}
#bodyContent sub {
font-size: smaller;
vertical-align: baseline;
position: relative;
bottom: -0.25em;
}
#coordinates {
position:absolute;
z-index:1;
border:none;
background:none;
right:30px;
top:3.7em;
float:right;
margin:0.0em;
padding:0.0em;
line-height:1.5em;
text-align:right;
text-indent:0;
font-size:85%;
text-transform:none;
white-space:nowrap;
}
.portlet li {
list-style-image: url("http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png");
}
li.FA {
list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png") !important;
}
li.GA {
list-style-image: url("http://upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png") !important;
}
#mw-dismissable-notice {
background-color: inherit;
}
a.info{
position:relative; /*this is the key*/
z-index:24;;
color: blue;
text-decoration:none}
a.info:hover{z-index:25; background-color:#ff0}
a.info span{display: none}
a.info:hover span{ /*the span will display just on :hover state*/
display:block;
position:absolute;
top:2em; left:2em; width:15em;
border:1px solid #0cf;
background-color:#cff; color:#000;
text-align: center}
/*
</pre>
*/