MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus ConanWiki
Zur Navigation springen Zur Suche springen
Inhalt hinzugefügt Inhalt gelöscht
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 40: Zeile 40:
 
border-radius:0.5em;
 
border-radius:0.5em;
 
background:#fff;
 
background:#fff;
padding:0.05em;
 
margin: 0 0.5em 0.5em 0;
 
 
}
 
}
 
.roundtable th,.mw-statistics-table th {
 
.roundtable th,.mw-statistics-table th {
Zeile 49: Zeile 47:
 
border-radius:0.5em;
 
border-radius:0.5em;
 
-moz-border-radius:0.5em;
 
-moz-border-radius:0.5em;
padding:0.1em 0.5em !important;
 
 
}
 
}
 
.mw-statistics-table td {
 
.mw-statistics-table td {
 
border:0 !important;
 
border:0 !important;
 
border-bottom: 1px dashed #66cc66 !important;
 
border-bottom: 1px dashed #66cc66 !important;
padding-right:0.0em;
 
 
}
 
}
 
.roundtable td, .mw-statistics-table td {
 
.roundtable td, .mw-statistics-table td {
 
border:0;
 
border:0;
 
border-bottom: 1px dashed #66cc66;
 
border-bottom: 1px dashed #66cc66;
padding-right:0.0em;
 
 
}
 
}
 
.roundtable.land th {
 
.roundtable.land th {

Version vom 29. Oktober 2009, 17:39 Uhr

/* +++++ 1.  Wikitable für schöne Tabellen +++++ */

.wikitable,
 .prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #AAA solid;
  border-collapse: collapse;
  empty-cells:show;
 }
 
 .wikitable th, .wikitable td,
 .prettytable th, .prettytable td {
  border: 1px #AAA solid;
  padding: 0.3em;
 }
 
 .wikitable caption,
 .prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
 }
 
 .nogrid th, .nogrid td {border: none;}
 .float-left { float: left; clear: left; }
 .float-right { float: right; clear: right; margin: 1em 0 1em 1em; }
 .centered { margin-left: auto; margin-right: auto; }
 .toptextcells td { vertical-align: top; }


/* +++++ 2. Neue Tabellen +++++ */

.mw-statistics-table {
  border-collapse:separate !important;
}
.roundtable,.mw-statistics-table {
  border:2px solid #ccc;
  -moz-border-radius:0.5em;
  border-radius:0.5em;
  background:#fff;
}
.roundtable th,.mw-statistics-table th {
  padding:0.1em 0.5em;
}
.mw-statistics-table th {
  border-radius:0.5em;
  -moz-border-radius:0.5em;
}
.mw-statistics-table td {
  border:0 !important;
  border-bottom: 1px dashed #66cc66 !important;
}
.roundtable td, .mw-statistics-table td {
  border:0;
  border-bottom: 1px dashed #66cc66;
}
.roundtable.land th {
  background: #66cc66;
}
.roundtable.land, .roundtable.land td {
  border-color: rgb(172, 230, 172);
}
.roundtable.hoehle th {
  background: #cc9966;
}
.roundtable.hoehle,.roundtable.hoehle td {
  border-color: rgb(230, 201, 172);
}
.roundtable.wasser th {
  background: #6699CC;
}
.roundtable.wasser,.roundtable.wasser td {
  border-color: #ACC9E6
}
.roundtable.wüste th {
  background: #CDAD00;
}
.roundtable.wüste,.roundtable.wüste td {
  border-color: #EEC900
}
.roundtable.wiki th {
  background: #E6EEFF;
}
.roundtable.wiki,.roundtable.wiki td {
  border-color: #ACC9E6
}
.roundtable.straße th,.mw-statistics-table th {
  background: #d4d4d4;
}
.roundtable.straße, .mw-statistics-table {
  border-color: #e0e0e0 !important;
}
.roundtable.straße td,.mw-statistics-table td {
  border-color: #cccccc !important;
}

.round {
  border-radius:0.5em;
  -moz-border-radius:0.5em;
}
.round-left, .round-top, .round-topleft {
  border-radius-topleft:0.5em;
  -moz-border-radius-topleft:0.5em;
}
.round-right, .round-top, .round-topright {
  border-radius-topright:0.5em;
  -moz-border-radius-topright:0.5em;
}
.round-left, .round-bottom, .round-bottomleft {
  border-radius-bottomleft:0.5em;
  -moz-border-radius-bottomleft:0.5em;
}
.round-right, .round-bottom, .round-bottomright {
  border-radius-bottomright:0.5em;
  -moz-border-radius-bottomright:0.5em;
}

.noround {
  border-radius:0em !important; 
  -moz-border-radius:0em !important;
}
.noround-left, .noround-top, .noround-topleft {
  border-radius-topleft:0em !important;
  -moz-border-radius-topleft:0em !important;
}
.noround-right, .noround-top, .noround-topright {
  border-radius-topright:0em !important;
  -moz-border-radius-topright:0em !important;
}
.noround-left, .noround-bottom, .noround-bottomleft {
  border-radius-bottomleft:0em !important;
  -moz-border-radius-bottomleft:0em !important;
}
.noround-right, .noround-bottom, .noround-bottomright {
  border-radius-bottomright:0em !important;
  -moz-border-radius-bottomright:0em !important;
}

/* +++++ 3. Hauptseitendesign (aus der Wikipedia kopiert) +++++ */

 /* Hintergrund weiß */
 body.page-Wikipedia_Hauptseite #content {
       background-color: white;
 }
 #hauptseite h2 {
       background-color: #E6EEFF;
       border: 1px solid #8898bf;
       font-size: 1em;
       font-weight: bold;
       margin-top: 0;
       margin-bottom: 0;
       padding-top: 0.1em;
       padding-bottom: 0.1em;
 }
 #hauptseite .inhalt {
       background-color: #ffffff;
       border: 1px solid #8898bf;
       border-top: 0px solid white;
       padding: 0.3em 0.8em 0.4em 0.8em;
 }
 #hauptseite .inhalt hr {
       background-color: #8898bf;
       color: #8898bf;
       height: 1px;
       margin:0.5em 0;
       padding: 0;
 }
 #hauptseite .inhalt .mehr {
       clear: both;
       font-size: 95%;
       margin-top: 0.8em;
       text-align: right;
 }

 #hauptseite table {
       background-color: transparent;
 }

 .hauptseite-oben,
 .hauptseite-links,
 .hauptseite-rechts {
       margin-bottom: 1em;
 }
 .hauptseite-links {
       margin-right: 0.5em;
 }
 .hauptseite-rechts {
       margin-left: 0.5em;
 }
 .hauptseite-oben h2,
 .hauptseite-unten h2 {
       text-align: center;
 }
 .hauptseite-oben .inhalt .portale {
       font-weight: bold;
       margin-top: 0.2em;
       margin-bottom: 0.2em;
 }
 .hauptseite-oben .inhalt .intern {
       font-size: 90%;
       text-align: center;
 }
 .hauptseite-links h2,
 .hauptseite-rechts h2 {
       text-indent: 0.8em;
 }
 #hauptseite-schwesterprojekte .inhalt a {
       font-weight: bold;
 }

/* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */
 
 div.BoxenVerschmelzen,
 div.NavFrame {
    margin: 0px;
    padding: 3px 2px;
    border: 1px solid #aaaaaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
        clear:both;
 }
 div.BoxenVerschmelzen div.NavFrame {
    border-style: none;
    border-style: hidden;
 }
 div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
 }
 div.NavPic {
    background-color: #ffffff;
    margin: 0px;
    padding: 0 2px 2px 2px;
    float: left;
 }
 div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    font-size: 100%;
    background-color: #efefef;
 }
 div.NavHeadIndented div.NavHead {
    margin: 0 2em;
 }
 div.NavFrame p {
    font-size: 100%;
 }
 div.NavFrame div.NavContent {
    font-size: 100%;
 }
 div.NavFrame div.NavContent p {
    font-size: 100%;
 }
 div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
 }
 
/* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */
.NavToggle {
       font-size: x-small;
       float:right;
}
div.NavHeadIndented .NavToggle {
  margin: 0 3em 0 0;
}
 
 /* Abstand vor Navigationsleisten */
 
 div.BoxenVerschmelzen,
 div.NavFrame {
   margin-top: 1.5em;
 }
 div.BoxenVerschmelzen div.NavFrame {
   margin-top: 0;
 }
 div.NavFrame + div.NavFrame {
   margin-top: 0;
 }