Difference between revisions of "MediaWiki:Common.css"
From Testiwiki
Juha Villman (talk | contribs) (New page: →* CSS placed here will be applied to all skins: table.calendar { margin: 0; padding: 10px; } table.calendar td { margin: 0; padding: 2px; vertical-align: top; } table.mo...) |
Juha Villman (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/** CSS placed here will be applied to all skins */ | /** CSS placed here will be applied to all skins */ | ||
+ | .bluebox | ||
+ | { | ||
+ | margin: 5px 0px 8px 0px; | ||
+ | background-color: #eef; | ||
+ | color: #005; | ||
+ | padding: 5px 10px 5px 10px; | ||
+ | border: solid 1px #bbf; | ||
+ | display: block; | ||
+ | border-radius: 6px; | ||
+ | -moz-border-radius: 6px; | ||
+ | /* | ||
+ | position: absolute; | ||
+ | right: 0px;*/ | ||
+ | } | ||
+ | .greenbox | ||
+ | { | ||
+ | margin-top: 1em; | ||
+ | margin-bottom: 1em; | ||
+ | background-color: #efe; | ||
+ | color: #040; | ||
+ | padding: 10px; | ||
+ | border: solid 1px #7f7; | ||
+ | display: block; | ||
+ | border-radius: 6px; | ||
+ | -moz-border-radius: 6px; | ||
+ | } | ||
+ | |||
+ | /* Namespace navigation */ | ||
+ | #nsNavi{height:35px;margin-top:-4px} | ||
+ | #nsNavi ul{list-style:none;margin:0;padding:0;} | ||
+ | #nsNavi li{float:left;padding:0;margin:0 15px 0 0;font-weight:bold} | ||
+ | #nsNavi li a{display:block;background:url(/en-opwiki/skins/erac/arrow.gif) no-repeat center left;padding:0 0 0 9px} | ||
+ | #nsNavi .selflink{background:url(/en-opwiki/skins/erac/bg_link.gif) repeat-x;border:1px solid #cdcdcd;padding:5px 10px} | ||
+ | #nsNavi .selflink{ | ||
+ | -moz-border-radius-topleft:6px; | ||
+ | -khtml-border-top-left-radius:6px; | ||
+ | -webkit-border-top-left-radius:6px; | ||
+ | border-top-left-radius:6px; | ||
+ | -moz-border-radius-topright:6px; | ||
+ | -khtml-border-top-right-radius:6px; | ||
+ | -webkit-border-top-right-radius:6px; | ||
+ | border-top-right-radius:6px; | ||
+ | -moz-border-radius-bottomleft:6px; | ||
+ | -khtml-border-bottom-left-radius:6px; | ||
+ | -webkit-border-bottom-left-radius:6px; | ||
+ | border-bottom-left-radius:6px; | ||
+ | -moz-border-radius-bottomright:6px; | ||
+ | -khtml-border-bottom-right-radius:6px; | ||
+ | -webkit-border-bottom-right-radius:6px; | ||
+ | border-bottom-right-radius:6px; | ||
+ | } | ||
+ | |||
table.calendar { margin: 0; padding: 10px; } | table.calendar { margin: 0; padding: 10px; } | ||
table.calendar td { margin: 0; padding: 2px; vertical-align: top; } | table.calendar td { margin: 0; padding: 2px; vertical-align: top; } | ||
Line 17: | Line 69: | ||
.day-active { color:#0000cc } | .day-active { color:#0000cc } | ||
.day-empty { color:#cc0000 } | .day-empty { color:#cc0000 } | ||
+ | |||
+ | #accesscontrol {text-align: right;} | ||
+ | div.vaihto {page-break-after: always;} |
Latest revision as of 10:35, 29 August 2011
/** CSS placed here will be applied to all skins */
.bluebox
{
margin: 5px 0px 8px 0px;
background-color: #eef;
color: #005;
padding: 5px 10px 5px 10px;
border: solid 1px #bbf;
display: block;
border-radius: 6px;
-moz-border-radius: 6px;
/*
position: absolute;
right: 0px;*/
}
.greenbox
{
margin-top: 1em;
margin-bottom: 1em;
background-color: #efe;
color: #040;
padding: 10px;
border: solid 1px #7f7;
display: block;
border-radius: 6px;
-moz-border-radius: 6px;
}
/* Namespace navigation */
#nsNavi{height:35px;margin-top:-4px}
#nsNavi ul{list-style:none;margin:0;padding:0;}
#nsNavi li{float:left;padding:0;margin:0 15px 0 0;font-weight:bold}
#nsNavi li a{display:block;background:url(/en-opwiki/skins/erac/arrow.gif) no-repeat center left;padding:0 0 0 9px}
#nsNavi .selflink{background:url(/en-opwiki/skins/erac/bg_link.gif) repeat-x;border:1px solid #cdcdcd;padding:5px 10px}
#nsNavi .selflink{
-moz-border-radius-topleft:6px;
-khtml-border-top-left-radius:6px;
-webkit-border-top-left-radius:6px;
border-top-left-radius:6px;
-moz-border-radius-topright:6px;
-khtml-border-top-right-radius:6px;
-webkit-border-top-right-radius:6px;
border-top-right-radius:6px;
-moz-border-radius-bottomleft:6px;
-khtml-border-bottom-left-radius:6px;
-webkit-border-bottom-left-radius:6px;
border-bottom-left-radius:6px;
-moz-border-radius-bottomright:6px;
-khtml-border-bottom-right-radius:6px;
-webkit-border-bottom-right-radius:6px;
border-bottom-right-radius:6px;
}
table.calendar { margin: 0; padding: 10px; }
table.calendar td { margin: 0; padding: 2px; vertical-align: top; }
table.month .heading td { padding:2px; background-color:#d4d4d4; color:#aaa; text-align:center; font-size:120%; font-weight:bold; }
table.month .dow td { color:#aaa; text-align:center; font-size:110%; }
table.month td.today { background-color:#ddd; }
table.month td {
border: none;
margin: 0;
padding: 1pt 1.5pt;
font-weight: bold;
font-size: 8pt;
text-align: right;
background-color: #eee;
}
#bodyContent table.month a { background:none; padding:0 }
.day-active { color:#0000cc }
.day-empty { color:#cc0000 }
#accesscontrol {text-align: right;}
div.vaihto {page-break-after: always;}