Difference between revisions of "MediaWiki:Common.css"

From Electrical Contacts
Jump to: navigation, search
Line 1: Line 1:
 
/* Das folgende CSS wird für alle Benutzeroberflächen geladen.@media screen */
 
/* Das folgende CSS wird für alle Benutzeroberflächen geladen.@media screen */
  
/*hide tabs on custom (main) page */
+
 
 +
.page-Main_Page #p-cactions, .page-Main_Page #p-views {  display: none !important; }
 +
 
 +
/*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 {
 
.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;  
 
   display: none !important;  
 
}
 
}
 
+
*/
 
/* LOGO */
 
/* LOGO */
  

Revision as of 10:09, 16 December 2013

/* Das folgende CSS wird für alle Benutzeroberflächen geladen.@media screen */


.page-Main_Page #p-cactions, .page-Main_Page #p-views {  display: none !important; }

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