Difference between revisions of "MediaWiki:Common.css"

From Electrical Contacts
Jump to: navigation, search
Line 35: Line 35:
 
     border: none;
 
     border: none;
 
}
 
}
.twocolrtable tr:nth-child(odd) {
+
.twocolrtable tr:nth-child(2n+1) {
 
   background-color: lightgray;
 
   background-color: lightgray;
 
}
 
}

Revision as of 16:36, 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;
}
.twocolrtable tr:nth-child(2n+1) {
  background-color: lightgray;
}

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;
}