Diferencia entre revisiones de «MediaWiki:Common.css»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 116: | Línea 116: | ||
.warning-param { color:green } | .warning-param { color:green } | ||
/* | /* CSS for high-resolution devices */ | ||
@media ( | @media only screen and (-Webkit-min-device-pixel-ratio: 1.5), | ||
(- | only screen and (-moz-min-device-pixel-ratio: 1.5), | ||
(- | only screen and (-o-min-device-pixel-ratio: 3/2), | ||
(min-device-pixel-ratio: 1.5) | only screen and (min-device-pixel-ratio: 1.5) { | ||
.icons { | |||
background-image: url(icon-sprite-2x.png); | |||
background-size: 200px 100px; | |||
background-repeat: no-repeat; | |||
} | |||
} | } | ||
Revisión del 19:49 29 oct 2013
/* References */
.references { font-size:90%; }
.references li:target, .reference:target, .citation:target { background-color: #DDEEFF }
.reference, .citation, cite { font-weight: normal; font-style: normal; word-wrap: break-word; }
/* Category tree */
#mw-subcategories ul { list-style: none none; margin-left: 0.25em; }
.CategoryTreeChildren { margin-left: 1.25em; }
/* prettytable class for skinning normal tables */
table.prettytable { margin:1em 1em 1em 0em; background:#f9f9f9; border:1px #aaaaaa solid; border-collapse:collapse; }
table.prettytable th, table.prettytable td { border:1px #aaaaaa solid; padding:0.2em; }
table.prettytable th { background:#f2f2f2; text-align:center; }
table.prettytable caption { margin-left:inherit; margin-right:inherit; }
table.table { border-spacing:0em 0.5em; }
table.table tr>td { padding:0.25em 1em; }
table.table tr.even { background:#ddddff; }
table.table tr.odd { background:#ccccff; }
.button, .badge {
clear: all !important;
padding:5px;
font-weight:bold;
text-transform:capitalize;
background: #eef;
border: 1px solid #339;
}
.badge {
float: right;
}
.badge.usable, .badge.Usable {
background:#efe;
border:1px solid #090;
}
.badge.incomplete, .badge.Incomplete {
background:#fee;
border:1px solid #900;
}
.badge.reviewable, .badge.Reviewable {
background:#eef;
border: 1px solid #009;
}
/* PICO of the day */
.pico-otd {
float:right;
border:1px solid #c99;
padding:5px;
background:#fee;
width:200px;
}
.pico-heading { font-weight: bold }
.pico-page {
text-align:right;
font-weight: bold;
font-style: italic;
}
.flat-list .pico-otd {
width: 100%;
background: none;
float: none !important;
border: none;
}
.flat-list .pico-heading { display: none }
.flat-list .pico-page { text-align: left; }
.ns-0 #toc {
clear:both;
float:right;
margin: 10px;
}
table.wikitable th, table.wikitable td { padding:5px }
table.wikitable.outcomes td { text-align: center; }
table.abbreviations th { text-align:left; }
/* buttons are for iphone only */
#buttons { display: none }
/* http://en.wikipedia.org/wiki/User:Mzajac/monobook.css/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;
}
/* no need to indent references */
ol.references {
padding-left: 1.5em;
margin-left: 0px;
}
/* remove "Main Page" header */
.page-Main_Page #firstHeading { display: none }
/* for [[WikiJournalClub:Articles in review]] */
.error-param { color:red }
.warning-param { color:green }
/* CSS for high-resolution devices */
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
.icons {
background-image: url(icon-sprite-2x.png);
background-size: 200px 100px;
background-repeat: no-repeat;
}
}
