Changes

Jump to navigation Jump to search

MediaWiki:Common.css

6,113 bytes added, 16:43, 21 September 2009
no edit summary
/* <pre><nowiki> */
/** CSS placed here will be applied to all skins */
 
/* Style for horizontal UL lists */
.horizontal ul {
padding: 0;
margin: 0;
}
.horizontal li {
padding: 0 0.6em 0 0.4em;
display: inline;
border-right: 1px solid;
}
.horizontal li:last-child {
border-right: none;
padding-right: 0;
}
/* make the list of references look smaller */
.same-bg { background: none }
 
/* Highlight clicked reference in blue to help navigation */
 
ol.references > li:target {
background-color: #DEF;
}
 
sup.reference:target {
background-color: #DEF;
}
/* wikitable/prettytable class for skinning normal tables */
border: 1px solid #c0c090;
background-color: #f8eaba;
}
/* Dablink */
 
.dablink {
margin-left: 1em;
}
float: right;
clear: right;
overflow: hidden;
}
.infobox td,
width: 20em;
font-size: 90%;
line-height: normal;
}
/* Suppresses text by default */
.sysop { display: none }
 
/* Hides Main Page title */
body.page-Main_Page h1.firstHeading { display:none; }
 
/* Add margin above stubs */
#stub { margin-top:10px }
 
/* navbox and navframe */
div.Boxmerge,
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.Boxmerge div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position:relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
right: 3px;
font-weight: normal;
font-size: 90%;
}
 
table.navbox { /* navbox container style */
border:1px solid #aaa;
width:100%;
margin:auto;
clear:both;
font-size:88%;
text-align:center;
padding:1px;
}
table.navbox + table.navbox {
margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th {
text-align:center; /* title and above/below styles */
padding-left:1em;
padding-right:1em;
}
.navbox-group { /* group style */
white-space:nowrap;
text-align:right;
font-weight:bold;
padding-left:1em;
padding-right:1em;
}
.navbox, .navbox-subgroup {
background:#fdfdfd; /* Background color */
}
.navbox-list {
border-color:#fdfdfd; /* Must match background color */
}
.navbox-title, table.navbox th {
background:#ccccff; /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background:#ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background:#e6e6ff; /* Level 3 color */
}
.navbox-even {
background:#f7f7f7; /* Even row striping */
}
.navbox-odd {
background:transparent; /* Odd row striping */
}
@media print {
.navbox {
display: none;
}
}
 
/* {{header}} */
table.headertemplate {
width:100%;
margin-bottom:5px;
border:1px solid #ADA;
background:#E4F2E4;
text-align:center;
font-size:0.9em;
}
.headertemplate .header_backlink,
.headertemplate .header_forelink {
width:20%;
font-size:0.9em;
line-height:normal;
}
.header_notes
{
width: 100%;
font-size: 0.9em;
background-color: #FAFAFF;
border-bottom: 1px solid #A88;
margin-bottom: 0.5em; /* a bit of space before body-text; 1em might be better... */
}
.headertemplate .header_title { width: 60%; }
.headertemplate .header_backlink { text-align:left; }
.headertemplate .header_forelink { text-align:right; }
 
/* {{author}} */
.authortemplate {
width:100%;
margin-bottom:5px;
border:1px solid #BEA2A2;
background:#E4D8D8;
}
.authortemplate .author_backlink,
.authortemplate .author_forelink {
width:20%;
font-size:0.9em;
}
.authortemplate .author_name {
width:60%;
text-align:center;
}
.author_notes {
width:100%;
border-bottom:1px solid #A88;
background:#FFFBFC;
font-size:0.9em;
}
.author_seealso {
float:right;
padding:2px;
margin:0 0 0.5em 1em;
border:1px solid #CCC;
}
 
 
 
/* Used for SIFR headline replacement */
.sIFR-flash {
visibility: visible !important;
margin: 0;
}
.sIFR-replaced {
visibility: visible !important;
}
span.sIFR-alternate {
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
display: block;
overflow: hidden;
}
 
/* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */
.sIFR-flash + div[adblocktab=true] {
display: none !important;
}
 
/* These "decoy" styles are used to hide the browser text before it is replaced... the negative-letter spacing in this case is used to make the browser text metrics match up with the sIFR text metrics since the sIFR text in this example is so much narrower... your own settings may vary... any weird sizing issues you may run into are usually fixed by tweaking these decoy styles */
.sIFR-hasFlash h1 {
visibility: hidden;
}
 
/** Calendar styles **/
.calendar {
border: 1px solid #cedff2;
line-height: normal;
background-color: #e7eef7;
}
.calendar a {
}
.calendar td {
text-align: center;
padding: 5px;
margin: 0;
}
.calendarTop td {
background-color: #cedff2;
font-weight: bold;
}
.calendarTop a {
}
.calendarDayNames {
background-color: #e7eef7;
font-weight: bold;
}
.calendarupcoming {
margin-top: 6px;
background-color: #f5faff;
}
.calendarupcomingTop {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 3px;
padding-right: 3px;
background-color: #e7eef7;
font-weight: bold;
}
.calendarupcomingBottom {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 3px;
padding-right: 3px;
background-color: #e7eef7;
font-size: 10px;
text-align: right;
font-weight: bold;
}
.calendarupcomingBottom a {
}
.calendarupcomingRow1 {
}
.calendarupcomingRow2 {
}
.calendarupcomingRow1 a {
}
.calendarupcomingRow1 a:visited {
}
.calendarupcomingRow2 a {
}
.calendarupcomingRow2 a:visited {
}
.cal-weekend {
}
td.cal-today {
font-weight: bold;
background-color: #cedff2;
}
td.cal-eventday {
text-decoration: underline;
}
/* </nowiki></pre> */

Navigation menu