8.581
Bearbeitungen
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(30 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 31: | Zeile 31: | ||
--common-border: #212121; | --common-border: #212121; | ||
--header-background: #070707; | --header-background: #070707; | ||
--code-background: # | --code-background: #212121; | ||
--code-color: #83a8d8; | --code-color: #83a8d8; | ||
--notice-color: #76e5f8; | --notice-color: #76e5f8; | ||
Zeile 37: | Zeile 37: | ||
--success-color: #84ec9b; | --success-color: #84ec9b; | ||
--warning-color: #ffd44a; | --warning-color: #ffd44a; | ||
--wrapper-hint: # | --wrapper-hint: #8db1bb; | ||
--wrapper-task: # | --wrapper-task: #648746; | ||
--wrapper-bonus: # | --wrapper-bonus: #9f762a; | ||
--wrapper-tldr: # | --wrapper-tldr: #7d7d7d; | ||
--wrapper-solution: # | --wrapper-solution: #7c8003; | ||
--wrapper-shortlink: # | --wrapper-shortlink: #6a6e46; | ||
--wrapper-important: # | --wrapper-important: #9a210e; | ||
} | } | ||
} | } | ||
/****************** | /****************** | ||
General styles | |||
******************/ | ******************/ | ||
body, | body, | ||
Zeile 119: | Zeile 119: | ||
color: var(--link-color-visited); | color: var(--link-color-visited); | ||
} | } | ||
} | |||
.last-modified-bar { | |||
border-bottom: solid 1px var(--common-border); | |||
background-color: var(--common-background); | |||
color: var(--text-color); | |||
} | |||
.mw-ui-button:link, | |||
.mw-ui-button:active, | |||
.mw-ui-button:visited { | |||
background-color: var(--common-background); | |||
color: var(--text-color); | |||
border-color: var(--common-border); | |||
} | } | ||
/****************** | /****************** | ||
Zeile 149: | Zeile 161: | ||
a.new:visited { | a.new:visited { | ||
color: #df6565; | color: #df6565; | ||
} | |||
@media (prefers-color-scheme: dark) { | |||
a:not([href]) { | |||
color: #bcc6cf; | |||
} | |||
} | } | ||
.mw-editform #wpTextbox1 { | .mw-editform #wpTextbox1 { | ||
Zeile 176: | Zeile 193: | ||
} | } | ||
pre, | pre, | ||
.content pre, | |||
.pre { | .pre { | ||
background-color: var(--code-background); | background-color: var(--code-background); | ||
Zeile 183: | Zeile 201: | ||
display: block; | display: block; | ||
line-height: 1.3em; | line-height: 1.3em; | ||
} | |||
pre.output, | |||
.content pre.output, | |||
.pre.output { | |||
background-color: #000; | |||
color: #fff; | |||
border-radius: 6px; | |||
font-family: 'Andale Mono', 'Courier New', monospace; | |||
font-size: 86%; | |||
padding: 0.8rem; | |||
} | } | ||
code, | code, | ||
Zeile 188: | Zeile 216: | ||
background-color: transparent; | background-color: transparent; | ||
border: none; | border: none; | ||
} | |||
@media (prefers-color-scheme: dark) { | |||
.mw-content-ltr.mw-highlight-lines pre, | |||
.mw-content-ltr.content .mw-highlight-lines pre { | |||
box-shadow: inset 2.75em 0 0 #3a3a3a; | |||
} | |||
.mw-highlight .linenos { | |||
color: var(--text-color); | |||
} | |||
.mw-highlight .hll { | |||
background-color: #393921; | |||
} | |||
} | } | ||
/* Color utilities */ | /* Color utilities */ | ||
.text-white { | .text-white { | ||
color: #FFF !important; | color: #FFF !important; | ||
} | |||
.text-black { | |||
color: #000 !important; | |||
} | |||
.text-light { | |||
color: #f8f9fa !important; | |||
} | |||
.text-dark { | |||
color: #212529 !important; | |||
} | } | ||
.text-default { | .text-default { | ||
Zeile 480: | Zeile 529: | ||
.collapsible-info { | .collapsible-info { | ||
border: 1px solid #3a3a3a; | border: 1px solid #3a3a3a; | ||
background-color: | background-color: var(--common-background); | ||
padding: 5px; | padding: 5px; | ||
overflow: auto; | overflow: auto; | ||
Zeile 493: | Zeile 542: | ||
padding: 8px; | padding: 8px; | ||
border: 1px solid rgba(0, 0, 0, 0.25); | border: 1px solid rgba(0, 0, 0, 0.25); | ||
color: | /*color: @wrapper-text-color;*/ | ||
-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); | -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); | ||
-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); | -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); | ||
Zeile 502: | Zeile 551: | ||
color: #4e6a8e; | color: #4e6a8e; | ||
} | } | ||
.wrapper pre { | .wrapper pre { | ||
background-color: | /*background-color: fade(@code-background, 75%); | ||
@media (prefers-color-scheme:dark) { | |||
background-color: fade(@code-background-dark, 25%); | |||
}*/ | |||
} | } | ||
.wrapper code.clean, | .wrapper code.clean, | ||
Zeile 513: | Zeile 564: | ||
} | } | ||
.hgbox { | .hgbox { | ||
background-color: | background-color: var(--common-background); | ||
} | } | ||
.hgwindow { | .hgwindow { | ||
Zeile 535: | Zeile 586: | ||
border-color: rgba(255, 255, 255, 0.4); | border-color: rgba(255, 255, 255, 0.4); | ||
} | } | ||
.hgborder > :first- | .hgborder > p:first-of-type, | ||
.wrapper > :first- | .wrapper > p:first-of-type, | ||
.hgbox > :first- | .hgbox > p:first-of-type, | ||
.hgwindow > :first- | .hgwindow > p:first-of-type, | ||
.hgdrawer > :first- | .hgdrawer > p:first-of-type { | ||
margin-top: 0; | margin-top: 0; | ||
padding-top: 0; | padding-top: 0; | ||
} | } | ||
.hgborder > :last-child, | .hgborder > p:last-child, | ||
.wrapper > :last-child, | .wrapper > p:last-child, | ||
.hgbox > :last-child, | .hgbox > p:last-child, | ||
.hgwindow > :last-child, | .hgwindow > p:last-child, | ||
.hgdrawer > :last-child { | .hgdrawer > p:last-child { | ||
margin-bottom: 0; | margin-bottom: 0; | ||
padding-bottom: 0; | padding-bottom: 0; | ||
Zeile 572: | Zeile 623: | ||
} | } | ||
.importantbox { | .importantbox { | ||
background-color: var(--wrapper-important); | |||
} | } | ||
.shortlinkbox { | .shortlinkbox { | ||
Zeile 707: | Zeile 758: | ||
float: none; | float: none; | ||
margin: 8px; | margin: 8px; | ||
} | |||
.header .branding-box h1, | |||
.header .branding-box a { | |||
color: var(--link-color); | |||
font-size: 150%; | |||
} | } | ||
/** Alerts */ | /** Alerts */ |
Bearbeitungen