MediaWiki:Vector.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
(23 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen. | /* Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen. | ||
body { | body { | ||
background-color: # | background-color: #1474EB; | ||
} | } | ||
#mw-page-base:before { | #mw-page-base:before { | ||
background-image: linear-gradient(to bottom,rgba( | background-image: linear-gradient(to bottom,rgba(20,116,235,.0) 25%,#1474EB); | ||
position: absolute; | position: absolute; | ||
bottom: 0; | bottom: 0; | ||
content: ""; | content: ""; | ||
display: block; | display: block; | ||
height: | height: 7.5em; | ||
width: 100%; | width: 100%; | ||
z-index: -1; | z-index: -1; | ||
Zeile 18: | Zeile 16: | ||
#mw-page-base { | #mw-page-base { | ||
background: # | background: #1474EB url(/resources/assets/header.png) no-repeat 50%/cover; | ||
position: sticky; | position: sticky; | ||
top: 0; | top: 0; | ||
opacity: 100%; | opacity: 100%; | ||
height: | height: 30em; | ||
width: 100%; | width: 100%; | ||
z-index: -2; | z-index: -2; | ||
Zeile 29: | Zeile 27: | ||
#left-navigation, #right-navigation { | #left-navigation, #right-navigation { | ||
margin-top: | margin-top: 27.5em; | ||
} | } | ||
Zeile 35: | Zeile 33: | ||
padding-left: 0; | padding-left: 0; | ||
} | } | ||
#p-logo { | |||
margin-bottom: 20em; | |||
} | |||
.vector-user-menu-legacy { | .vector-user-menu-legacy { | ||
background-color: | background-color: rgba(0,0,0,.5); | ||
top: 0; | top: 0 !important; | ||
right: 0 !important; | right: 0 !important; | ||
padding: 0.5em; | padding: 0.5em; | ||
Zeile 45: | Zeile 48: | ||
} | } | ||
a.new { | a.new, a.new:visited, .vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited { | ||
color: #f00; | color: #f00; | ||
} | } | ||
a, a:visited, a:active { | a, a:visited, a:active, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited, .vector-menu-tabs-legacy li a, .vector-menu-tabs-legacy li a:visited, .toctogglelabel, .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.external { | ||
color: #a7d7f9; | color: #a7d7f9; | ||
} | } | ||
.vector-legacy-sidebar .vector-menu-portal { | |||
margin: 0.25em; | |||
margin-left: -0.5em; | |||
padding: 0.5em; | |||
background-color: rgba(0,0,0,.5); | |||
border: 1px solid #ffd700; | |||
border-left-width: 0; | |||
} | |||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { | |||
color: #fff; | |||
text-align: center; | |||
font-weight: bold; | |||
background-image: linear-gradient(to right,rgba(255,215,0,0) 0,#ffd700 33%,#ffd700 66%,rgba(255,215,0,0) 100%); | |||
} | |||
.vector-menu-tabs-legacy .selected { | |||
background: rgba(0,0,0,.5); | |||
} | |||
.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited, .vector-menu-dropdown .vector-menu-heading, h1, h2, h3, h4, h5, h6, .tocnumber { | |||
color: #fff; | |||
} | |||
h1 { | |||
border-bottom: none !important; | |||
} | |||
.vector-menu-tabs-legacy li { | |||
background-image: linear-gradient(to top,rgba(255,215,0,.5) 0,rgba(0,0,0,.5) 1px,rgba(0,0,0,.3) 100%); | |||
} | |||
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading { | |||
background-image: linear-gradient(to bottom,rgba(255,215,0,0) 0,#ffd700 100%); | |||
} | |||
.vector-menu-dropdown .vector-menu-content { | |||
background-color: rgba(0,0,0,.2); | |||
border: 1px solid #ffd700; | |||
} | |||
.mw-body { | |||
border: 1px solid #ffd700; | |||
border-right-width: 0; | |||
} | |||
.mw-body, .parsoid-body { | |||
background-color: rgba(0,0,0,.5); | |||
color: #fff; | |||
} | |||
.toc, .toccolours { | |||
border: 1px solid #ffd700; | |||
background-color: rgba(0,0,0,.2); | |||
} | |||
ul { | |||
list-style-image: none; | |||
} | |||
.wikitable { | |||
background-color: rgba(0,0,0,.15); | |||
color: #fff; | |||
border: 1px solid #ffd700; | |||
} | |||
.wikitable > tr > th, .wikitable > * > tr > th { | |||
background-color: rgba(0,0,0,.3); | |||
} | |||
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { | |||
border: 1px solid rgba(255,215,0,.5); | |||
} | |||
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) { | |||
border: initial; | |||
background: initial; | |||
} | |||
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'] { | |||
border: initial; | |||
border-bottom: 0; | |||
background-color: initial; | |||
} | |||
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption { | |||
border: initial; | |||
border-top: 0; | |||
background-color: initial; | |||
font-size: inherit; | |||
} | |||
.diff-context, .diff-deletedline, .diff-addedline { | |||
background: rgba(0,0,0,.3); | |||
} | |||
.diff-context { | |||
border-color: #fff; | |||
color: #fff; | |||
} | |||
.diff-deletedline { | |||
border-color: #f00; | |||
} | |||
.diff-addedline { | |||
border-color: #0f0; | |||
} | |||
.diff-deletedline .diffchange { | |||
background: rgba(255,0,0,.75); | |||
} | |||
.diff-addedline .diffchange { | |||
background: rgba(0,105,0,.75); | |||
}*/ |
Aktuelle Version vom 12. Oktober 2023, 06:44 Uhr
/* Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen.
body {
background-color: #1474EB;
}
#mw-page-base:before {
background-image: linear-gradient(to bottom,rgba(20,116,235,.0) 25%,#1474EB);
position: absolute;
bottom: 0;
content: "";
display: block;
height: 7.5em;
width: 100%;
z-index: -1;
}
#mw-page-base {
background: #1474EB url(/resources/assets/header.png) no-repeat 50%/cover;
position: sticky;
top: 0;
opacity: 100%;
height: 30em;
width: 100%;
z-index: -2;
}
#left-navigation, #right-navigation {
margin-top: 27.5em;
}
#p-personal ul {
padding-left: 0;
}
#p-logo {
margin-bottom: 20em;
}
.vector-user-menu-legacy {
background-color: rgba(0,0,0,.5);
top: 0 !important;
right: 0 !important;
padding: 0.5em;
border-left: 1px solid gold;
border-bottom: 1px solid gold;
}
a.new, a.new:visited, .vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited {
color: #f00;
}
a, a:visited, a:active, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited, .vector-menu-tabs-legacy li a, .vector-menu-tabs-legacy li a:visited, .toctogglelabel, .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.external {
color: #a7d7f9;
}
.vector-legacy-sidebar .vector-menu-portal {
margin: 0.25em;
margin-left: -0.5em;
padding: 0.5em;
background-color: rgba(0,0,0,.5);
border: 1px solid #ffd700;
border-left-width: 0;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
color: #fff;
text-align: center;
font-weight: bold;
background-image: linear-gradient(to right,rgba(255,215,0,0) 0,#ffd700 33%,#ffd700 66%,rgba(255,215,0,0) 100%);
}
.vector-menu-tabs-legacy .selected {
background: rgba(0,0,0,.5);
}
.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited, .vector-menu-dropdown .vector-menu-heading, h1, h2, h3, h4, h5, h6, .tocnumber {
color: #fff;
}
h1 {
border-bottom: none !important;
}
.vector-menu-tabs-legacy li {
background-image: linear-gradient(to top,rgba(255,215,0,.5) 0,rgba(0,0,0,.5) 1px,rgba(0,0,0,.3) 100%);
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: linear-gradient(to bottom,rgba(255,215,0,0) 0,#ffd700 100%);
}
.vector-menu-dropdown .vector-menu-content {
background-color: rgba(0,0,0,.2);
border: 1px solid #ffd700;
}
.mw-body {
border: 1px solid #ffd700;
border-right-width: 0;
}
.mw-body, .parsoid-body {
background-color: rgba(0,0,0,.5);
color: #fff;
}
.toc, .toccolours {
border: 1px solid #ffd700;
background-color: rgba(0,0,0,.2);
}
ul {
list-style-image: none;
}
.wikitable {
background-color: rgba(0,0,0,.15);
color: #fff;
border: 1px solid #ffd700;
}
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: rgba(0,0,0,.3);
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
border: 1px solid rgba(255,215,0,.5);
}
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
border: initial;
background: initial;
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'] {
border: initial;
border-bottom: 0;
background-color: initial;
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
border: initial;
border-top: 0;
background-color: initial;
font-size: inherit;
}
.diff-context, .diff-deletedline, .diff-addedline {
background: rgba(0,0,0,.3);
}
.diff-context {
border-color: #fff;
color: #fff;
}
.diff-deletedline {
border-color: #f00;
}
.diff-addedline {
border-color: #0f0;
}
.diff-deletedline .diffchange {
background: rgba(255,0,0,.75);
}
.diff-addedline .diffchange {
background: rgba(0,105,0,.75);
}*/