MediaWiki:Monobook.css: Unterschied zwischen den Versionen

aus DerMoba, der Wissensdatenbank für Modellbahner
Wechseln zu: Navigation, Suche
(wikitable)
 
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
/* edit this file to customize the monobook skin for the entire site */
 
/* edit this file to customize the monobook skin for the entire site */
 +
/* TABELLE TYPE 1 Grau / Border --------------------------------------- */
  
/* wikitable/prettytable class for skinning normal tables */
+
table.tabtyp1
 
+
{
table.wikitable,
+
   background: #fafafa;
table.prettytable {
+
  margin: 1em 1em 1em 0;
+
   background: #f9f9f9;
+
 
   border: 1px #aaaaaa solid;
 
   border: 1px #aaaaaa solid;
 
   border-collapse: collapse;
 
   border-collapse: collapse;
 
}
 
}
  
table.wikitable th, table.wikitable td,
+
table.tabtyp1 th, table.tabtyp1 td
table.prettytable th, table.prettytable td {
+
{
 
   border: 1px #aaaaaa solid;
 
   border: 1px #aaaaaa solid;
   padding: 0.2em;
+
   padding: 0.4em;
 +
  empty-cells:show;
 
}
 
}
  
table.wikitable th,
+
table.tabtyp1 th
table.prettytable th {
+
{
   background: #f2f2f2;
+
   background: #dddddd;
   text-align: center;
+
   text-align: left;
 
}
 
}
  
table.wikitable caption,
+
/* TABELLE TYPE 2 Grau / Border --------------------------------------- */
table.prettytable caption {
+
 
   margin-left: inherit;
+
table.tabtyp2
   margin-right: inherit;
+
{
 +
    border-collapse: collapse;
 +
    background: #dddddd;
 +
}
 +
 
 +
table.tabtyp2 th, table.tabtyp2 td
 +
{
 +
 
 +
  border: 2px solid white;
 +
  empty-cells:show;
 +
  padding: 0.4em;
 +
}
 +
 
 +
table.tabtyp2 th
 +
{
 +
   background: #bbbbbb;
 +
  text-align: left;
 +
}
 +
 
 +
/* TABELLE TYPE 3 Grau / Border --------------------------------------- */
 +
 
 +
table.tabtyp3
 +
{
 +
    border-collapse: collapse;
 +
}
 +
 
 +
table.tabtyp3 th, table.tabtyp3 td
 +
{
 +
  empty-cells:show;
 +
  padding: 0.4em;
 +
  border: 1px solid #aaaaaa
 +
}
 +
 
 +
table.tabtyp3 th
 +
{
 +
  text-align: left;
 +
}
 +
 
 +
.gelb
 +
{
 +
  background: #ffffcc;
 +
}
 +
 
 +
.blau
 +
{
 +
  background: #ccffff;
 +
}
 +
.margenta
 +
{
 +
  background: #ffccff;
 +
}
 +
 
 +
 
 +
/* TABELLE TYPE Link Grau / Border --------------------------------------- */
 +
 
 +
table.linktab
 +
{
 +
    width: 95%;
 +
    border-collapse: collapse;
 +
    background: #cccccc;
 +
    align: center;
 +
  text-align: left;
 +
 
 +
 
 +
}
 +
 
 +
table.linktab th, table.linktab td
 +
{
 +
 
 +
  border: 2px solid white;
 +
  empty-cells:show;
 +
  padding: 0.2em;
 +
  vertical-align: top;
 +
}
 +
 
 +
table.linktab th
 +
{
 +
  background: #cccccc;
 +
   text-align: center;
 
}
 
}

Aktuelle Version vom 8. Februar 2006, 16:10 Uhr

/* edit this file to customize the monobook skin for the entire site */
/* TABELLE TYPE 1 Grau / Border --------------------------------------- */ 

table.tabtyp1
{
  background: #fafafa;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.tabtyp1 th, table.tabtyp1 td
{
  border: 1px #aaaaaa solid;
  padding: 0.4em;
  empty-cells:show;
}

table.tabtyp1 th
{
  background: #dddddd;
  text-align: left;
}

/* TABELLE TYPE 2 Grau / Border --------------------------------------- */ 

table.tabtyp2
{
    border-collapse: collapse;
    background: #dddddd;
}

table.tabtyp2 th, table.tabtyp2 td
{

  border: 2px solid white;
  empty-cells:show;
  padding: 0.4em;
}

table.tabtyp2 th
{
  background: #bbbbbb;
  text-align: left;
}

/* TABELLE TYPE 3 Grau / Border --------------------------------------- */ 

table.tabtyp3
{
    border-collapse: collapse;
}

table.tabtyp3 th, table.tabtyp3 td
{
  empty-cells:show;
  padding: 0.4em;
  border: 1px solid #aaaaaa
}

table.tabtyp3 th
{
  text-align: left;
}

.gelb
{
  background: #ffffcc;
}

.blau
{
  background: #ccffff;
}
.margenta
{
  background: #ffccff;
}


/* TABELLE TYPE Link Grau / Border --------------------------------------- */ 

table.linktab
{
    width: 95%;
    border-collapse: collapse;
    background: #cccccc;
    align: center;
  text-align: left;


}

table.linktab th, table.linktab td
{

  border: 2px solid white;
  empty-cells:show;
  padding: 0.2em;
  vertical-align: top;
}

table.linktab th
{
  background: #cccccc;
  text-align: center;
}