Ero sivun ”Järjestelmäviesti:Monobook.css” versioiden välillä
ApoWikistä
(lähdekoodi http://fi.wikipedia.org/wiki/Järjestelmäviesti:Monobook.css) |
Ei muokkausyhteenvetoa |
||
Rivi 171: | Rivi 171: | ||
background-color: inherit; | 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> | </pre> | ||
*/ | */ |
Versio 17. helmikuuta 2009 kello 04.49
/* 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;
}
/* 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;
}
/* Tekee etusivusta valkopohjaisen */
body.page-Wikipedia_Etusivu #content, body.page-Wikipedia_Etusivu8 #content {
background: #ffffff;
}
/* Piilottaa otsikot yms. etusivulta */
body.page-Wikipedia_Etusivu #deleteconfirm,
body.page-Wikipedia_Etusivu #t-cite,
body.page-Wikipedia_Etusivu #lastmod,
body.page-Wikipedia_Etusivu #siteSub,
body.page-Wikipedia_Etusivu h1.firstHeading,
body.page-Wikipedia_Etusivu8 #deleteconfirm,
body.page-Wikipedia_Etusivu8 #t-cite,
body.page-Wikipedia_Etusivu8 #lastmod,
body.page-Wikipedia_Etusivu8 #siteSub,
body.page-Wikipedia_Etusivu8 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>
*/