MediaWiki:Common.css

From Electrical Contacts
Revision as of 13:37, 6 December 2013 by Kpeters (talk | contribs)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

@media screen
#mw-page-base.noprint, #mv-head, #mw-page-base, .noprint {
  background-color: auto; 
}
/* Navigation */

div#mw-panel {
  position: absolute;
  top: 100px;
  padding-top: 1em;
  width: 7em;
  left: 3em;
  background-color: lightgray;
  padding-left: 0;
  height: 100%;
}

/* LOGO */

#p-logo {
  background-color: lightgray;
  width: 7em;
  left:0;
}

h4{
  background-color: lightgray;
  padding-left: 5px
}


#left-content {
  float:left; 
  width: 45%;
border:thin solid green;
}
#right-content {
  float: right; 
  width: 45%;
border:thin solid blue;
}

body {
  background: url(images/verlauf-bk.png) no-repeat left top;
}
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) {
  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;
}
.clear:after{
  clear: both;
}

/* suppress auto section numbering*/

.tocnumber {
   display: none;
}
table.mainPage{
  border: 0;
  background: transparent;
  width: 100%;
}
table.mainPage td{
  vertical-align: top;
  width:45%;
}

table.mainPage td + td{
  padding-left: 40px;
}
table.mainPage td p{
   padding-left: 5px;
}