MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(table.install_log) |
||
Line 108: | Line 108: | ||
table.install_log td:first-child |
table.install_log td:first-child |
||
{ |
{ |
||
⚫ | |||
font-family:monospace; |
|||
font-size: x-small; |
|||
} |
} |
||
table.install_log td:first-child:before |
table.install_log td:first-child:before |
||
{ |
{ |
||
content:url(/miki/skins/monobook/bullet.gif); |
content:url(/miki/skins/monobook/bullet.gif); |
||
margin-right: |
margin-right:0.6em; |
||
} |
} |
||
table.install_log td:first-child + td |
/*table.install_log td:first-child + td:before |
||
{ |
{ |
||
content: "—"; |
|||
⚫ | |||
margin-right:0.6em; |
|||
⚫ | |||
}*/ |
|||
table.install_log td:first-child + td + td |
table.install_log td:first-child + td + td |
||
{ |
{ |
||
font-size: |
font-size:small; |
||
font-style:italic; |
|||
⚫ | |||
table.install_log, table.install_log td |
|||
{ |
|||
border-collapse: collapse; |
|||
empty-cells: show; |
|||
border-bottom: 1px solid whitesmoke; |
|||
padding:0em 0.3em; |
|||
border-spacing:0px; |
|||
} |
|||
table.install_log |
|||
{ |
|||
border: hidden; |
|||
} |
} |
Revision as of 15:31, 26 May 2010
/*
This is the CSS for all skins (for all users) on MediaWiki.org.
SECTIONS:
1. Indication of namespaces
2. Color classes for content
3. Special pages
4. Main page styling
5. Sidebar external links
6. Extension:Matrix stuff
7. Wikitables, infobox templates, warnings, and other such stylings
8. Some other small things
*/
/* <pre><nowiki> */
/***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/
/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
empty-cells:show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
background: #8da7d6;
text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* General purpose "pretty (data) tables" */
table.datatable { background-color: transparent; }
table.datatable th, table.datatable td { padding: 4px; }
table.datatable th { text-align: left; background-color: #999999; }
table.datatable tr { background-color: #cccccc; }
table.datatable tr:hover { background-color: #ffffcc; }
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
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,
div.NavFrame div.NavContent,
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%;
}
/* install_log class for install log table */
table.install_log td:first-child
{
width:7.5em;
font-size: x-small;
}
table.install_log td:first-child:before
{
content:url(/miki/skins/monobook/bullet.gif);
margin-right:0.6em;
}
/*table.install_log td:first-child + td:before
{
content: "—";
margin-right:0.6em;
}*/
table.install_log td:first-child + td + td
{
font-size:small;
font-style:italic;
}
table.install_log, table.install_log td
{
border-collapse: collapse;
empty-cells: show;
border-bottom: 1px solid whitesmoke;
padding:0em 0.3em;
border-spacing:0px;
}
table.install_log
{
border: hidden;
}