MediaWiki:Vector.css: Unterschied zwischen den Versionen

Aus Ottonien Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
 
(158 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 16: Zeile 16:
     --redlink-color: #c7aa90;
     --redlink-color: #c7aa90;
}
}
/* START TEST */
.vector-menu-dropdown .mw-list-item a {
    color: red;
}
/* END TEST */




Zeile 44: Zeile 37:
     background: var(--beige-light-2);
     background: var(--beige-light-2);
     border: 1px solid var(--beige-mid);
     border: 1px solid var(--beige-mid);
    border-radius: 10px;
    border-spacing: 0px;
     font-size: 0.85em;
     font-size: 0.85em;
     width: 300px;
     width: 300px;
     margin: 0.5em 0 1em 1em;
     margin: 0 0 1em 1em;
    border-collapse: collapse;
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
     float: right;
     float: right;
    table-layout: fixed;
     word-break: break-word;
     word-break: break-word;
}
}


.infobox .td {
.infobox-krieg {
    width: 370px !important;
}
 
.infobox td {
     margin-top: 40px;
     margin-top: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
}
}


.infobox .infobox-header {
.infobox .infobox-header {
     color: var(--royal-orange);
     color: var(--royal-orange);
    border-radius: 7px 7px 0px 0px;
     background-color: var(--pale-ocean);
     background-color: var(--pale-ocean);
     font-size: 1.4em;
     font-size: 1.4em;
Zeile 82: Zeile 82:
}
}


.infobox .content-line:first-child {
.half-title {
     padding-top: 10px;
    width: 30%;
    font-weight: bold;
    vertical-align: center;
    text-align: left;
    padding-left: 1.5em;
    padding-top: 5px;
    padding-bottom: 5px;
}
 
.half-content {
    font-weight: normal;
    font-size: small;
    vertical-align: center;
    text-align: left;
     padding-right: 1.5em;
}
}


.infobox .content-line:last-child {
.infobox .full-content {
    font-weight: normal;
    font-size: small;
    vertical-align: center;
    text-align: left;
    padding-left: 1.5em;
    padding-right: 1.5em;
     padding-bottom: 10px;
     padding-bottom: 10px;
}
}


.infobox .half-title {
.infobox .half-content-left {
     font-weight: bold;
    width: 50%;
     font-weight: normal;
    font-size: small;
     vertical-align: center;
     vertical-align: center;
     text-align: left;
     text-align: left;
     padding-left: 1.5em;
     padding-left: 1.5em;
    padding-right: 0.5em;
    padding-top: 5px;
     padding-bottom: 5px;
     padding-bottom: 5px;
    border-right: 1px solid var(--beige-dark-2);
}
}


.infobox .half-content {
.infobox .half-content-right {
     font-weight: normal;
     font-weight: normal;
     font-size: small;
     font-size: small;
     vertical-align: center;
     vertical-align: center;
     text-align: left;
     text-align: left;
     padding-right: 1.5em;
    padding-left: 1.5em;
     padding-right: 0.5em;
    padding-top: 5px;
     padding-bottom: 5px;
     padding-bottom: 5px;
}
}
.infobox .full-image {
    padding: 0px !important;
}
/* END INFOBOX */
/* END INFOBOX */
/* START PAGE-TABLE */
.page-table {
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--beige-light-2);
  min-width: 350px;
  margin-top: 1em;
  margin-bottom: 3em;
}
.page-table .sub-title {
    color: var(--text-brown);
    background-color: var(--beige-dark);
    padding: 1em 1em 1em 1em;
}
.page-table .content {
    vertical-align: top;
    padding: 0.7em 1em 0.7em 1em;
}
.page-table tr th,
.page-table tr td {
  border-right: 1px solid var(--beige-mid);
  border-bottom: 1px solid var(--beige-mid);
  padding: 5px;
}
.page-table tr th:first-child,
.page-table tr td:first-child {
  border-left: 1px solid var(--beige-mid);
}
.page-table tr th {
  background: #eee;
  text-align: left;
  border-top: solid 1px var(--beige-mid);
}
/* top-left border-radius */
.page-table tr:first-child th:first-child {
  border-top-left-radius: 6px;
}
/* top-right border-radius */
.page-table tr:first-child th:last-child {
  border-top-right-radius: 6px;
}
/* bottom-left border-radius */
.page-table tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
/* bottom-right border-radius */
.page-table tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}
/* END PAGE-TABLE */
.crafting {
    max-width: 250px;
}
.crafting .sub-title {
    text-align: center;
}
.crafting .half-title {
    width: 10%;
    border-right: 0px;
    text-align: right;
}
.crafting .small-title {
    color: var(--text-brown);
    background-color: var(--beige-dark);
    border-top: 0px;
    text-align: center;
}
.zutaten {
    border-top: 0px !important;
    border-bottom: 0px !important;
}

Aktuelle Version vom 17. August 2024, 02:46 Uhr

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

/* ---- START VARIABLEN ---- */
:root {
    --beige-dark: #c7aa90;
    --beige-dark-2: #ceb499;
    --beige-mid: #896c53;
    --beige-light: #dbd2bf;
    --beige-light-2: #d4c8b2;
    --pale-ocean: #2d3843;
    --royal-orange: #d49d49;

    --text-brown: #513e2a;
    --text-color: #3c3c3c;
    --link-color: #8f7459;
    --redlink-color: #c7aa90;
}


/* START VECTOR TABS */
.vector-menu-tabs-legacy .selected {
    background: var(--beige-light);
}
.vector-menu-tabs-legacy ul li {
    background: var(--beige-dark);
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,var(--beige-dark) 100%);
    background-repeat: no-repeat;
    background-size: 1px 100%;
  }
/* ENDE VECTOR TABS */


/* START INFOBOX */
.infobox {
    background: var(--beige-light-2);
    border: 1px solid var(--beige-mid);
    border-radius: 10px;
    border-spacing: 0px;
    font-size: 0.85em;
    width: 300px;
    margin: 0 0 1em 1em;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    float: right;
    word-break: break-word;
}

.infobox-krieg {
    width: 370px !important;
}

.infobox td {
    margin-top: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.infobox .infobox-header {
    color: var(--royal-orange);
    border-radius: 7px 7px 0px 0px;
    background-color: var(--pale-ocean);
    font-size: 1.4em;
    line-height: 1.4em;
    padding: 0.5em 0;
}

.infobox .section-title {
    color: var(--beige-dark);
    background-color: var(--pale-ocean);
    font-size: 1.0em;
    line-height: 1.0em;
    padding: 0.5em 0;
}

.infobox .sub-title {
    color: var(--text-brown);
    background-color: var(--beige-dark);
    font-size: 1.0em;
    line-height: 1.0em;
    padding: 0.5em 0;
}

.half-title {
    width: 30%;
    font-weight: bold;
    vertical-align: center;
    text-align: left;
    padding-left: 1.5em;
    padding-top: 5px;
    padding-bottom: 5px;
}

.half-content {
    font-weight: normal;
    font-size: small;
    vertical-align: center;
    text-align: left;
    padding-right: 1.5em;
}

.infobox .full-content {
    font-weight: normal;
    font-size: small;
    vertical-align: center;
    text-align: left;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-bottom: 10px;
}

.infobox .half-content-left {
    width: 50%;
    font-weight: normal;
    font-size: small;
    vertical-align: center;
    text-align: left;
    padding-left: 1.5em;
    padding-right: 0.5em;
    padding-top: 5px;
    padding-bottom: 5px;
    border-right: 1px solid var(--beige-dark-2);
}

.infobox .half-content-right {
    font-weight: normal;
    font-size: small;
    vertical-align: center;
    text-align: left;
    padding-left: 1.5em;
    padding-right: 0.5em;
    padding-top: 5px;
    padding-bottom: 5px;
}

.infobox .full-image {
    padding: 0px !important;
}

/* END INFOBOX */



/* START PAGE-TABLE */
.page-table {
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--beige-light-2);
  min-width: 350px;
  margin-top: 1em;
  margin-bottom: 3em;
}

.page-table .sub-title {
    color: var(--text-brown);
    background-color: var(--beige-dark);
    padding: 1em 1em 1em 1em;
}

.page-table .content {
    vertical-align: top;
    padding: 0.7em 1em 0.7em 1em;
}

.page-table tr th,
.page-table tr td {
  border-right: 1px solid var(--beige-mid);
  border-bottom: 1px solid var(--beige-mid);
  padding: 5px;
}

.page-table tr th:first-child,
.page-table tr td:first-child {
  border-left: 1px solid var(--beige-mid);
}
.page-table tr th {
  background: #eee;
  text-align: left;
  border-top: solid 1px var(--beige-mid);
}

/* top-left border-radius */
.page-table tr:first-child th:first-child {
  border-top-left-radius: 6px;
}

/* top-right border-radius */
.page-table tr:first-child th:last-child {
  border-top-right-radius: 6px;
}

/* bottom-left border-radius */
.page-table tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}

/* bottom-right border-radius */
.page-table tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}

/* END PAGE-TABLE */

.crafting {
    max-width: 250px;
}

.crafting .sub-title {
    text-align: center;
}

.crafting .half-title {
    width: 10%;
    border-right: 0px;
    text-align: right;
}

.crafting .small-title {
    color: var(--text-brown);
    background-color: var(--beige-dark);
    border-top: 0px;
    text-align: center;
}

.zutaten {
    border-top: 0px !important;
    border-bottom: 0px !important;
}