MediaWiki:Common.css

From Electrical Contacts
Revision as of 16:39, 16 December 2013 by Kpeters (talk | contribs) (Undo revision 546 by Kpeters (talk))
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 */

.page-Main_Page #content {border-top:0}
.page-Main_Page #p-cactions, .page-Main_Page #p-views, .page-Main_Page #p-namespaces {  display: none !important; }

/* hide mediawiki powered by*/

#footer-icon-poweredby { display: none; }


/*hide tabs on custom (main) page 

.page-Main_Page #ca-talk, .page-Main_Page #ca-viewsource, .page-Main_Page #ca-view, .page-Main_Page #ca-edit, .page-Main_Page #ca-history {
  display: none !important; 
}
*/
/* LOGO */

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

/*Main page */

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


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;
}
.small{
  font-size: 9px;
}