MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 74: | Line 74: | ||
table.numbered { counter-reset: row; } | table.numbered { counter-reset: row; } | ||
table.numbered td:first-child:before { counter-increment: row; content: counter(row) ". "; } | table.numbered td:first-child:before { counter-increment: row; content: counter(row) ". "; } | ||
/* Make the list of references smaller */ | |||
ol.references { | |||
font-size: 100%; | |||
} | |||
.references-small { | |||
font-size: 90%; | |||
} | |||
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ | |||
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */ | |||
/* column-count is from the CSS3 module "CSS Multi-column Layout" */ | |||
/* Please ignore any validator errors caused by these two lines */ | |||
.references-2column { | |||
font-size: 90%; | |||
-moz-column-count: 2; | |||
-webkit-column-count: 2; | |||
column-count: 2; | |||
} | |||
/* Highlight clicked reference in blue to help navigation */ | |||
ol.references > li:target { | |||
background-color: #DEF; | |||
} | |||
sup.reference:target { | |||
background-color: #DEF; | |||
} | |||
/* Styling for citations */ | |||
cite { | |||
font-style: normal; | |||
word-wrap: break-word; | |||
} | |||
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */ | |||
cite:target { | |||
background-color: #DEF; | |||
} | |||
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */ | |||
@media screen, handheld, projection { | |||
cite *.printonly { | |||
display: none; | |||
} | |||
} |
Revision as of 01:03, 17 March 2009
/** CSS placed here will be applied to all skins */
/* The backgrounds for galleries. */
#content .gallerybox div.thumb {
background-color: #000; /* White padding */
}
.summary {
width: 300px;
border-width: 1px;
border-spacing: ;
border-style: ridge;
border-color: gray;
border-collapse: collapse;
background-color: #F0F0F0;
}
.summary th {
border-width: 2px;
padding: 3px;
border-style: ridge;
border-color: gray;
background-color: #F0F0F0;
-moz-border-radius: ;
}
.summary td {
border-width: 2px;
padding: 3px;
border-style: ridge;
border-color: gray;
background-color: #F0F0F0;
-moz-border-radius: ;
}
th.summary-header {
background-color: #D0D0D0;
}
.quest-summary {
width: 300px;
border-width: 1px;
border-spacing: ;
border-style: ridge;
border-color: gray;
border-collapse: collapse;
background-color: #F0F0F0;
}
.quest-summary th {
border-width: 2px;
padding: 3px;
border-style: ridge;
border-color: gray;
background-color: #F0F0F0;
-moz-border-radius: ;
}
.quest-summary td {
border-width: 2px;
padding: 3px;
border-style: ridge;
border-color: gray;
background-color: #F0F0F0;
-moz-border-radius: ;
}
th.quest-summary-header {
background-color: #D0D0D0;
}
/* Auto-number rows in tables */
table.numbered { counter-reset: row; }
table.numbered td:first-child:before { counter-increment: row; content: counter(row) ". "; }
/* Make the list of references smaller */
ol.references {
font-size: 100%;
}
.references-small {
font-size: 90%;
}
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
font-size: 90%;
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
}
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target {
background-color: #DEF;
}
sup.reference:target {
background-color: #DEF;
}
/* Styling for citations */
cite {
font-style: normal;
word-wrap: break-word;
}
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target {
background-color: #DEF;
}
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
@media screen, handheld, projection {
cite *.printonly {
display: none;
}
}