MediaWiki:Common.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Zeile 122: Zeile 122:
.referenceNote {
.referenceNote {
     margin-top: 5px;
     margin-top: 5px;
}
.referenceLore {
    margin-top: -18px;
}
}



Version vom 23. Mai 2024, 23:05 Uhr

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

/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */
 
table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the             */
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;    /* are styled here so they can be customised.             */
        text-align: right;
        width: auto;
        padding-left: 5px;
        padding-right: 5px;
}

.template {
    border: 2px solid #cdb998;
}

.template .infoText {
    width: 100%;
}

table.template {
    margin-bottom: 5px;
}

.template th {
    border: 2px solid #cdb998;
    background-color: #f6e4c2;
}

table.template table {
    margin-top: 0;
    margin-bottom: 0;
}

table.template table th {
    border: none;
}

.template.templateInfoBox table td {
    border: none;
}

.template.templateInfoBox {
    margin: 0px 5px 5px;
}

.template.templateInfoBox th {
    padding: 5px;
    text-align: center;
}

.template.templateInfoBox td {
    border: 2px solid #cdb998;
    padding: 5px;
}

.template.templateArticleInfo {
    background-color: #f6e4c2;
    margin-bottom: 10px;
}

.template.templateArticleInfo table {
    margin: 0px;
}

.template.templateListBox {
    margin: 0 auto;
    text-align: center;
}

.template.templateListBox table {
    width: auto;
}

.template.templateListBox p {
    padding: 5px;
}

.template.templatePosRight {
    float: right;
    width: 300px;
}

@media (max-width: 640px) {
    .template.templatePosRight {
        width: 100%;
        margin-bottom: 10px;
    }
}

.template.templatePosTop {
    width: 100%;
}

.template.templateInfoBox.templatePosCenter {
    margin: 0 auto;
    margin-top: 8px;
}

.template .infoIcon {
    width: 40px;
}

.referenceList {
    overflow: auto;
    padding: 3px;
    border: 2px solid #f6e4c2;
    height: auto;
    max-height: 100px;
}

.referenceNote {
    margin-top: 5px;
}

.articleSwitch {
    margin-left: 5px;
    margin-right: 5px;
}

.fullWidth {
    width: 100%;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.portalBox {
    width: 100%;
    max-width: 650px;
    margin: 0px auto;
    border: 3px solid #f6e4c2;
}

.portalBox .portalBoxElements {
    border-bottom: 2px solid #f6e4c2;
    width: 100%;
}

.portalBox .portale img {
    vertical-align: middle;
    margin-top: 3px;
}

.portalBox p {
    margin: 3px;
}

.portalBoxGesamt {
    border: 2px solid #f6e4c2;
}

.portalBoxTop {
    padding: 5px;
}

.portalBoxLeft {
    width: 60.8%;
    float: left;
    border-width: 2px;
    border-color: #f6e4c2;
}

.portalBoxRight {
    margin-left: 61.8%;
    border-width: 2px;
    border-color: #f6e4c2;
}

.portalBoxContent {
    border: 2px solid #f6e4c2;
    overflow: hidden;
}

.portalBoxContent h4,
.portalBoxGesamt h3 {
    background: rgb(246, 228, 194);
    padding: 5px 10px;
    margin: 0;
    margin-bottom: 5px;
}

.portalBoxText {
    margin: 5px;
}

.alignRight {
    text-align: right;
}

.template .sidePart {
    width: 25%;
}

.template .centerPart {
    width: 50%;
}

.template.templateInfoBox table td.borderRight {
    border-right: 2px solid #ddc9a8;
}

.template.templateInfoBox table td.borderLeft {
    border-left: 2px solid #ddc9a8;
}

.familyTree {
    display: block;
    overflow-x: auto;
}

.questStage {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.templateName,
.templateIcon {
    display: inline-block;
    vertical-align: middle;
}

.effect span,
.effect small {
    display: table-cell;
    vertical-align: middle;
}

.effect {
    display: table;
}

.articleContent {
    font-size: 10pt;
    font-family: Verdana, Geneva, sans-serif;
    line-height: 1.4;
}

.firstHeading {
    font-family: Verdana, Geneva, sans-serif;
}

/* Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen. */

ul.tabbernav li {
    list-style: none !important;
    display: inline-block !important;
    margin: 5px 0 !important;
}

/* ==== Farben ==== */
td.neg {
    background-color: #FFDDDD;
}

td.pos {
    background-color: #DDFFDD;
}

td.keine {
    background-color: transparent;
}

/* ==== Box mit Rand und Hintergrund ==== */
.wikibox {
    width: 100%;
    margin: 1em 0;
    background-color: #f6e4c2;
    border: 1px solid #9e5c3b;
    border-collapse: collapse;
    font-size: 95%;
    padding-top: 2px;
    padding-bottom: 2px;
}

/* ==== Kein Zeilenumbruch ==== */
.schareNavi {
    display: block;
    margin-top: -15px;
    margin-bottom: -5px;
}

/* ==== Kein Zeilenumbruch ==== */

.nowrap {
    white-space: nowrap;
}

/* ==== Tabellen ==== */

/* Tabellen mit Rahmen und Gitter */

.border_1 td {
    padding: 5px;
    display: table-cell;
    border: 1px solid #9e5c3b;
}

.border_1 th {
    border: 1px solid #9e5c3b;
}

/* Tabellen ohne Rahmen und Gitter */

.border_0 td {
    padding: 5px;
    border: none;
}

/* Tabellen nur mit Außenrahmen */

.border_aussen {
    border: 1px solid #9e5c3b;
    border-collapse: collapse;
}

.border_aussen td {
    border: none;
}

/* Tabellen nur mit Rahmen links und rechts */

.border_2 {
    border-right: 1px solid #9e5c3b;
    border-left: 1px solid #9e5c3b;
    border-top: none;
    border-bottom: none;
}

/* ==== Positionen des Inhalts ==== */

/* Zentriert */

.center {
    text-align: center;
    width: auto;
}

/* Rechts mit float */

.right {
    text-align: right;
    float: right;
    margin-left: 5px !important;
}

/* links mit float */

.left {
    text-align: left;
    float: left;
}

/* Oben */

.align_top {
    vertical-align: top;
}

/* baseline */
.align_base td {
    background-color: #FBF4E5;
    border: 1px solid #9E5C3B;
    vertical-align: baseline;
}

/* Oben */

.overflow_auto {
    overflow: auto;
}

/*Bild oben an Text ausgerichtet */

.overflow_auto {
    overflow: auto;
}

text_oben {
    vertical-align: top;
}

/* ==== Textgröße ==== */

.schrift_klein {
    font-size: smaller;
}

.schrift_gross {
    font-size: large;
}

/* ==== Spacer ==== */

.spacer {
    height: 1em;
}

/* ==== Hintergrund für Überschriften ==== */

.ueberschrift {
    background-color: #f6e4c2 !important;
    text-align: center;
}

/* ==== Kasten zentriert, nicht volle Breite ==== */

.infokasten_80 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 100px;
    margin-right: 100px;
    width: auto;
    text-align: center;
}

/* ==== Infokasten zentriert ==== z.B. [[Vorlage:Alchemistische Zutat Morrowind Oblivion]] */

.infokasten_zentriert {
    background-color: #fbf4e5 !important;
    width: 100%;
    text-align: center;
}

/* ==== Infokasten ==== z.B. [[Vorlage:Stadtinfo]] */

.infokasten {
    background-color: #fbf4e5;
    width: 300px;
    float: right;
    margin-left: 5px;
    border: 1px solid #9e5c3b;
}

.infokasten_titel {
    text-align: center;
    background-color: #f6e4c2;
}

/* ==== Infobox ==== z.B. [[Vorlage:Begriffsklärung]] */

.infobox {
    width: 100%;
    border: 1px solid #9e5c3b;
    background-color: #f6e4c2;
}

.infobox td {
    vertical-align: middle;
}

div.infobox {
    width: 100%;
    align: center;
    border: 1px solid #9e5c3b;
    border-collapse: collapse;
    background-color: #f6e4c2;
}

div.infobox td {
    vertical-align: middle;
}

/* ==== Listbox ==== z.B. [[Vorlage:Ayleiden-Ruinen]] */

div.listbox {
    width: 100%;
    align: center;
    text-align: center;
    border: none;
}

.listbox>table {
    min-width: 250px;
    border: 1px solid #9e5c3b;
    border-collapse: collapse;
    margin: 5px auto 5px auto;
    align: center;
}

.listbox>table table {
    width: 100%;
    border: none;
    margin: 0px auto 0px auto;
    align: center;
}

.listbox tr {
    border: none;
}

.listbox td {
    border: none;
    padding: 5px;
    vertical-align: middle;
    text-align: center;
}

.listbox th {
    border: none;
    padding: 5px;
    background-color: #f6e4c2;
    font-weight: bold;
    text-align: center;
}


/* ==== Boxen ==== */

.boxen {
    width: 100%;
    text-align: center;
    clear: both;
    border: 1px solid;
    border-color: #9e5c3b;
    font-size: 95%;
}


/* Abstand nach oben und unten */

.abstand {
    margin-bottom: 10px;
    margin-top: 10px;
}

/* ==== Zeitachsen-Vorlage ==== */

div.timelinesingle div {
    display: none;
    z-index: 0;
}

div.timelinesingle:hover div {
    display: block;
    z-index: 1;
}

/* ==== verschiedene Breiten ==== */

.w5rel {
    width: 5%;
}

.w10rel {
    width: 10%;
}

.w15rel {
    width: 15%;
}

.w20rel {
    width: 20%;
}

.w25rel {
    width: 25%;
}

.w30rel {
    width: 30%;
}

.w33rel {
    width: 33%;
}

.w40rel {
    width: 40%;
}

.w50rel {
    width: 50%;
}

.w60rel {
    width: 60%;
}

.w70rel {
    width: 70%;
}

.w80rel {
    width: 80%;
}

.w85rel {
    width: 85%;
}

.w90rel {
    width: 90%;
}

.w95rel {
    width: 95%;
}

.w100rel {
    width: 100%;
}

.w50abs {
    width: 50px;
}

.w75abs {
    width: 75px;
}

.w100abs {
    width: 100px;
}

.w115abs {
    width: 115px;
}

.w120abs {
    width: 120px;
}

.w150abs {
    width: 150px;
}

.w170abs {
    width: 170px;
}

.w180abs {
    width: 180px;
}

.w200abs {
    width: 200px;
}

.w250abs {
    width: 250px;
}

.w300abs {
    width: 300px;
}

.w350abs {
    width: 350px;
}

.w400abs {
    width: 450px;
}

.w450abs {
    width: 450px;
}

/* ==== Startseite ==== */

.tabaktiv {
    border: 1px solid #9e5c3b;
    border-bottom-style: none;
    text-align: justify;
    padding: 5px;
    background-color: #fbf4e5;
}

.tabinaktiv {
    border: 1px solid #9e5c3b;
    text-align: justify;
    padding: 5px;
    background-color: #f6e4c2;
}

ul#tabnav {
    font-size: 15px;
    font-variant: small-caps;
    width: 100%;
    text-align: left;
    list-style-type: none;
    background-color: #fbf4e5;
    margin: 0 0 0 0;
    margin-top: 6px;
}

ul#tabnav li {
    display: inline;
}

.overflow {
    overflow: hidden;
}

.box_oben {
    border-bottom: 1px solid #9e5c3b;
    background-color: #fbf4e5;
    padding: 5px;
}

.box_oben h1 {
    color: rgb(158, 92, 59);
    font-weight: 700;
    font-size: 1.4em;
    padding-bottom: 5px;
    padding-top: 5px;
    text-align: center;
    border-bottom-style: none;
}

.box_oben h2 {
    color: rgb(158, 92, 59);
    font-weight: 700;
    font-size: 1.1em;
    padding-bottom: 10px;
    padding-top: 5px;
    text-align: center;
    border-bottom-style: none;
}

.box_gesamt {
    background-color: #fbf4e5;
    padding: 5px;
    border: 1px solid #9e5c3b;
    border-right-style: none;
    border-left-style: none;
}

.box_gesamt h4 {
    font-variant: small-caps;
}

.box_links {
    width: 60.8%;
    float: left;
    border-width: 1px;
    border-color: #9e5c3b;
}

.box_rechts {
    margin-left: 61.8%;
    border-width: 1px;
    border-color: #9e5c3b;
}

.box_inhalt {
    background-color: #fbf4e5;
    padding: 5px;
    border: 1px solid #9e5c3b;
    border-right-style: none;
    border-left-style: none;
}

.box_inhalt h4 {
    font-variant: small-caps;
    /*color: rgb(158, 92, 59);*/
}

.box_unten {
    border-width: 1px;
    border-top-style: solid;
    border-top-color: #9e5c3b;
    background-color: #fbf4e5;
    padding: 5px;
}

.box_unten h4 {
    font-variant: small-caps;
    /*color: rgb(158, 92, 59);*/
}

.hintergrund {
    background-color: #f6e4c2;
}

.kursiv {
    font-style: italic;
}

.portale {
    white-space: nowrap;
    margin-right: 5px;
}

.box_links_gr {
    width: 59%;
    float: left;
    border-width: 1px;
    border-color: #9e5c3b;
}

.box_rechts_kl {
    width: 39%;
    float: right;
    border-width: 1px;
    border-color: #9e5c3b;
}

/* Zeitkalender */

.zeitkalender {
    text-align: center;
    margin: 5px;
    width: 88px;
    line-height: 1.3em;
    border: 1px solid #aaaaaa;
    padding: 3px;
}

.zeitkalender_innen {
    padding: 2px;
}

.zeitkalender_ueberschrift {
    background: #f6e4c2;
    font-size: smaller;
}

/* ==== Farben ==== */

.hintergrundsfarbe {
    color: #FBF4E5;
}

.hervorhebungsfarbe {
    color: #F6E4C2;
}

.rahmenfarbe {
    color: #9E5C3B;
}

/* ==== Box bei Vorlage ==== */
.templateVorlage {
    background: #F9F9F9;
    border: 1px solid #AAAAAA;
    border-collapse: collapse;
    margin: 1em;
    padding: 5px;
    font-family: monospace;
    font-size: 95%
}

/* ==== Box bei Vorlage ==== */
.dialogTitel {
    text-decoration: underline;
}