MediaWiki:Common.css

aus dem Koch-Wiki (kochwiki.org)
Wechseln zu:Navigation, Suche

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/* Automatische Silbentrennung überall, soweit der browser sie unterstützt */
body {
    text-rendering: optimizeLegibility;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    line-height: 1.6;
}

/* Spaltenmodus */
div.columns {
  -moz-column-width: 20em;
  -moz-columns: 20em;
  -webkit-columns: 20em;
  columns: 20em;
}

div.columns-small {
  -moz-column-width: 15em;
  -moz-columns: 15em;
  -webkit-columns: 15em;
  columns: 15em;
}

div.columns-xtrasmall {
  -moz-column-width: 10em;
  -moz-columns: 10em;
  -webkit-columns: 10em;
  columns: 10em;
}

/* Styles der Hauptseite */
.fphead {
    border: 1px solid #869BBF;
    background-color: #D9E7FF;
    padding: 0.2em 0;
    margin: 0;
    font-size: 110%;
    font-weight: bold;
    text-indent: 0.5em;
    margin-top: 0em;
    margin-right: 10px;
    letter-spacing: 1px;
}

.fpbody {
    border: 1px solid #869BBF;
    border-top: 0px solid #FFFFFF;
    background-color: #FFFFFF;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 0.2em 0.8em 0.4em 0.8em
}

.fpsmallright {
    font-size:80%;
    text-align:right;
}

.fpicon {
    float:right;
    padding-left:0em;
    padding-right:1em;
    padding-top:0.5em;
}

.fpflow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

.fpleft {
    -webkit-box-flex: 1 0 60%;
    -ms-flex: 1 0 60%;
    flex: 1 0 60%;
}

.fpright {
    -webkit-box-flex: 1 0 40%;
    -ms-flex: 1 0 40%;
    flex: 1 0 40%;
}

/* Styles für Rezepte */
table.rztable {
    width:300px;
    float:right;
    empty-cells:show;
    margin-left: 1em;
    margin-right: auto;
    margin-bottom: 1em;
}

table.rztable tr:first-child {
    background-color: #d9e7ff;
}

table.rztable > tr > th,
table.rztable > tr > td,
table.rztable > * > tr > th,
table.rztable > * > tr > td {
    padding: 0.2em 0.4em;
}

/* Wiki-Styles: Tabellen*/
table.wikitable {
    background-color: #fff !important;
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: #d9e7ff !important;
}

/* Wiki-Styles: Buttons */
.editButtons{
   	margin-top: 1em;
}

.editButtons input:first-child {
	font-weight: 600;
}

/* Kleine Bildschirme */
@media (max-width: 767px){
    div.tleft, div.thumb, div.floatleft, table.floatleft, div.tright, div.floatright, table.floatright, .rztable {
        float: none;
    }

    .thumbinner {
        max-width: 100%;
        margin: auto;
    }
}