|
|
Regel 17: |
Regel 17: |
| .prettytable table, .wikitable table | | .prettytable table, .wikitable table |
| { | | { |
− | border-spacing: 0;
| |
| margin: 0; | | margin: 0; |
| } | | } |
Versie van 25 mrt 2010 om 23:00
/** CSS die hier wordt geplaatst heeft invloed op alle skins */
== Tabelfuncties ==
=== Prettytable en wikitable===
Maakt een tabel met grijze achtergrond en lijnen, met een donkergrijze kop.
<pre>*/
.prettytable, .prettytable table, .wikitable, .wikitable table
{
border: 1px solid #aaa;
border-collapse: collapse;
/* font-size: 95%; */
margin: 1em 0;
background: #f9f9f9;
}
.prettytable table, .wikitable table
{
margin: 0;
}
.prettytable td, table.prettytable th, .wikitable td, table.wikitable th
{
border: 1px solid #aaa;
padding: 4px;
}
.prettytable th, .wikitable th
{
background-color: #ddd;
}
.sjabloon-documentatie {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaa;
background-color: #ecfcf4;
padding: 1em;
}
/* Ten behoeve van de Titel_item (zodat de sjablonen niet direct tegen elkaar staan) */
.Titel_item{
padding-left:15px;
}
/* Voor de rechterbovenmargesjablonen */
/* Verbeterde versie, op deze manier krijgen niet-javascript browsers ook een nette versie te zien */
/* Zodat pagina's elkaar niet overlappen */
.Titel_item2 {
float:right;
position:absolute;
top:0px;
right:0px;
}
.Titel_item3 {
float:right;
padding-left:10px;
display:block;
}
.Titel_item2#Beveiligd, .Titel_item2#Titelbeveiligd, .Titel_item2#Semibeveiligd {right:5px;}
.Titel_item2#Etalage {right:170px;}
.Titel_item2#Woordenboek {right:196px;}
.Titel_item2#Coordinaten {right:219px;}
.Titel_item2#Commons {right:285px;}
/* Link style new article links */
a.stub,
a.new {
text-decoration: underline;
font-style: italic;
}
/* Article message box styles */
table.ambox {
margin: 0px 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #aaa;
border-left: 10px solid #1e90ff; /* Default "notice" blue */
background: #fbfbfb;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
border-left: 10px solid #1e90ff; /* Blue */
}
table.ambox-speedy {
border-left: 10px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ambox-delete {
border-left: 10px solid #b22222; /* Red */
}
table.ambox-content {
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
border-left: 10px solid #f4c430; /* Yellow */
}
table.ambox-move {
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
border-left: 10px solid #bba; /* Gray-gold */
}
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #1e90ff; /* Default "notice" blue */
background: #fbfbfb;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
}
.mbox-inside .imbox { /* For imboxes inside other templates. */
margin: 4px;
}
table.imbox-notice {
border: 3px solid #1e90ff; /* Blue */
}
table.imbox-speedy {
border: 3px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.imbox-delete {
border: 3px solid #b22222; /* Red */
}
table.imbox-content {
border: 3px solid #f28500; /* Orange */
}
table.imbox-style {
border: 3px solid #f4c430; /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc; /* Purple */
}
table.imbox-protection {
border: 3px solid #bba; /* Gray-gold */
}
table.imbox-license {
border: 3px solid #88a; /* Dark gray */
background: #f7f8ff; /* Light gray */
}
table.imbox-featured {
border: 3px solid #cba135; /* Brown-gold */
}
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #aaa;
background: #DFE8FF; /* Default "notice" blue */
}
table.cmbox-notice {
background: #D8E8FF; /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b22222; /* Red */
background: #FFDBDB; /* Pink */
}
table.cmbox-delete {
background: #FFDBDB; /* Red */
}
table.cmbox-content {
background: #FFE7CE; /* Orange */
}
table.cmbox-style {
background: #FFF9DB; /* Yellow */
}
table.cmbox-move {
background: #E4D8FF; /* Purple */
}
table.cmbox-protection {
background: #EFEFE1; /* Gray-gold */
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #aaa; /* Default "notice" gray */
background: #f9f9f9;
}
table.ombox-notice {
border: 1px solid #aaa; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ombox-delete {
border: 2px solid #b22222; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #f4c430; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #bba; /* Gray-gold */
}
div.gallerybox div.thumb {
background: none;
}
.gallerytext p { font-size:90%; }