Difference between revisions of "MediaWiki:Common.css"
From Electrical Contacts
| Line 35: | Line 35: | ||
border: none; | border: none; | ||
} | } | ||
| − | table. | + | table.twocolortable tr:nth-child(2n+1) { |
background-color: lightgray; | background-color: lightgray; | ||
color:red; | color:red; | ||
Revision as of 16:47, 28 November 2013
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
#left-content {
float:left;
width: 45%;
border:thin solid green;
}
#right-content {
float: right;
width: 45%;
border:thin solid blue;
}
body {
background-image: url(file:///home/kpeters/Pictures/doduco/verlauf-bk.png);
}
table.twocolortable {
font-size: 11px;
width :100%;
text-align: center;
border-collapse: collapse;
}
table.twocolortable th{
background-color: gray;
border-right: 2px solid darkblue;
}
.twocolortable td{
border-right: 2px solid darkblue;
}
.twocolortable td:last-child{
border: none;
}
.twocolortable th:last-child{
border: none;
}
table.twocolortable tr:nth-child(2n+1) {
background-color: lightgray;
color:red;
}
table.simpleborder {
text-align: left;
width: 100%;
border: 1px solid #000;
border-collapse: collapse;
}
.simpleborder td{
border: 1px solid #000;
}
.clear {
clear: both;
}
.no-border{
border: none;
}