Common.css – MediaWiki
Categories:
(added wikitable (thin borders)) |
mNo edit summary |
||
Line 1: | Line 1: | ||
/* This stylesheet contains any specialized styles of the wiki */ | /* This stylesheet contains any specialized styles of the wiki */ | ||
/* | /* wikitableclass for skinning normal tables */ | ||
table.wikitable | table.wikitable { | ||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
Line 10: | Line 9: | ||
} | } | ||
table.wikitable th, table.wikitable | table.wikitable th, table.wikitable td { | ||
border: 1px #aaaaaa solid; | border: 1px #aaaaaa solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
table.wikitable | table.wikitable th { | ||
background: #f2f2f2; | background: #f2f2f2; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.wikitable | table.wikitable caption { | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
} | } | ||
/** | |||
* command_description is the namespace for all styles used in the | |||
* Template:Command for the scripting commands. | |||
*/ | |||
.command_description { | .command_description { |
Revision as of 18:54, 11 August 2006
/* This stylesheet contains any specialized styles of the wiki */
/* wikitableclass for skinning normal tables */
table.wikitable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
}
/**
* command_description is the namespace for all styles used in the
* Template:Command for the scripting commands.
*/
.command_description {
width: 85%;
}
.command_description h2 {
font-size: 1.8em;
font-weight: bold;
color: darkblue;
border: 0;
}
.command_description img {
margin: 0 0 10px 3px;
}
.command_description h3 {
margin: 0;
padding: 5px;
border: 1px solid #cedff2;
background: #f5faff;
font-size: 1.2em;
font-weight: bold;
color: #6191C3;
}
.command_description dt {
font-weight: bold;
float: left;
clear: both;
width: 90px;
padding: 5px 5px 0 5px;
}
.command_description dt.note {
font-weight: normal;
}
.command_description dd {
margin: 0;
padding: 5px 5px 5px 110px;
}
.command_description dd.param {
text-indent: -20px;
padding-left: 150px;
background-color: #F8F8F8;
}
.command_description dd.note {
background-color: #F8F8F8;
}
.command_description dd.notedate {
clear: both;
margin: 20px 0 0 0;
padding: 2px;
border-bottom: 1px solid #ccc;
font-size: 0.9em;
text-align: right;
}
.command_description pre, .command_description code, .command_description dd.example code, .command_description dd.note code {
font-family: Lucida Console, Courier New, monospace;
font-size: 0.9em;
padding: 7px;
line-height: 1em;
}
.command_description code {
padding: 3px;
}
.command_description dd.example code, .command_description dd.note code {
white-space: pre;
display: block;
background-color: #F9F9F9;
border:1px dashed #2F6FAB;
}