Difference between revisions of "MediaWiki:Common.css"

From Electrical Contacts
Jump to: navigation, search
(Undo revision 546 by Kpeters (talk))
Line 4: Line 4:
 
.page-Main_Page #p-cactions, .page-Main_Page #p-views, .page-Main_Page #p-namespaces {  display: none !important; }
 
.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; }
 
 
  
  
Line 21: Line 21:
 
   width: 7em;
 
   width: 7em;
 
   left:0;
 
   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;
 
}
 
}

Revision as of 17:39, 16 December 2013

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