MediaWiki:Vector.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 210: | Zeile 210: | ||
.page-table .crafting { | .page-table .crafting { | ||
background-color: red; | background-color: red !important; | ||
} | } | ||
Version vom 3. August 2024, 03:55 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 TEST */
.vector-menu-dropdown .mw-list-item a {
color: red;
}
/* END TEST */
/* 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: 350px !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;
}
.infobox .half-title {
width: 30%;
font-weight: bold;
vertical-align: center;
text-align: left;
padding-left: 1.5em;
padding-top: 5px;
padding-bottom: 5px;
}
.infobox .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 */
.page-table .crafting {
background-color: red !important;
}