8.581
Bearbeitungen
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung Markierungen: Mobile Bearbeitung Mobile Web-Bearbeitung |
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
body, | body, | ||
.mw-body, | .mw-body, | ||
.mw-body-content, | .mw-body-content, | ||
.parsoid-body { | .parsoid-body, | ||
#mw-head { | |||
background-color: #fff; | |||
color: #212529; | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |||
font-size: 1rem; | |||
font-weight: 400; | |||
line-height: 1.6; | |||
text-align: left; | |||
/*@media (prefers-color-scheme: dark) { | |||
background-color: @clr-gray1; | |||
color: @font-color-dark; | |||
}*/ | |||
} | } | ||
/*@media (prefers-color-scheme: dark) { | |||
.vector-menu-tabs li { | |||
background-image: linear-gradient(to top, #77c1f6, rgba(38, 41, 44, 0.5), rgba(38, 41, 44, 0)); | |||
} | |||
.vector-menu-tabs .selected { | |||
background-color: #34393d; | |||
} | background-color: @clr-gray1; | ||
a { | |||
.link-pseudos(lighten(@clr-primary, 20%), @clr-primary) | |||
} | |||
} | |||
.mw-body { | |||
margin-top: 0px; | |||
} | } | ||
}*/ | |||
h1, | |||
h2, | |||
h3, | |||
h4, | |||
h4,h5,h6 { | h5, | ||
font- | h6 { | ||
color: #212529; | |||
/*@media (prefers-color-scheme: dark) { | |||
color: @font-color-dark; | |||
}*/ | |||
} | } | ||
/****************** | |||
Links | |||
******************/ | |||
/*@media (prefers-color-scheme: dark) { | |||
a, | |||
.mw-parser-output a.external, | |||
.vector-menu-portal .vector-menu-content li a, | |||
.vector-menu-tabs li a { | |||
.link-pseudos(lighten(@clr-primary, 20%), @clr-primary) | |||
} | |||
a.new { | |||
.link-pseudos(#df6565,#df6565) | |||
} | |||
}*/ | |||
.mw-editform #wpTextbox1 { | .mw-editform #wpTextbox1 { | ||
font-size: 1rem !important; | |||
} | } | ||
.text-small { | .text-small { | ||
font-size: smaller !important; | |||
} | } | ||
.text-large { | .text-large { | ||
font-size: larger !important; | |||
} | } | ||
.text-center { | .text-center { | ||
text-align: center !important; | |||
} | } | ||
.text-left { | .text-left { | ||
text-align: left !important; | |||
} | } | ||
.text-right { | .text-right { | ||
text-align: right !important; | |||
} | |||
pre, | |||
code, | |||
.mw-code, | |||
.pre { | |||
font-family: monospace, 'Courier'; | |||
color: #4e6a8e; | |||
} | } | ||
.pre { | .pre { | ||
background-color: #f8f9fa; | |||
border: 1px solid #3a3a3a; | |||
padding: 1em; | |||
white-space: pre-wrap; | |||
display: block; | |||
line-height: 1.3em; | |||
} | } | ||
code { | |||
background-color: transparent; | |||
border: none; | |||
} | } | ||
/* Color utilities */ | /* Color utilities */ | ||
.text-white { | .text-white { | ||
color: #FFF !important; | |||
} | } | ||
.text-default { | .text-default { | ||
color: #212529 !important; | |||
} | } | ||
.text-muted { | .text-muted { | ||
color: #AEAEAE !important; | |||
} | } | ||
.text-hg, | |||
.text- | .text-primary { | ||
color: #00A651 !important; | |||
.text- | |||
} | } | ||
.text-hgrot, | |||
.text- | .text-secondary { | ||
color: #97373d !important; | |||
} | } | ||
.bg-dark { | .bg-dark { | ||
background-color: #3a3a3a !important; | |||
} | } | ||
.bg-light { | .bg-light { | ||
background-color: #f8f9fa !important; | |||
} | } | ||
.bg-hg, | |||
.bg- | .bg-primary { | ||
background-color: #00A651 !important; | |||
} | } | ||
.bg-hgrot, | |||
.bg- | .bg-secondary { | ||
background-color: #97373d !important; | |||
} | } | ||
.key, | .key, | ||
.uibutton, | .uibutton, | ||
.herobutton { | .herobutton { | ||
background-color: #f8f9fa; | |||
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.4), rgba(127, 127, 127, 0.2)); | |||
background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.4), rgba(127, 127, 127, 0.2)); | |||
background-image: -o-linear-gradient(rgba(255, 255, 255, 0.4), rgba(127, 127, 127, 0.2)); | |||
background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(127, 127, 127, 0.2)); | |||
border: 1px solid; | |||
border-color: #DDD #AAA #888 #CCC; | |||
border-radius: 2px; | |||
font-family: inherit; | |||
padding: 0 0.4em; | |||
text-shadow: 0 1px rgba(255, 255, 255, 0.5); | |||
white-space: nowrap; | |||
} | } | ||
.uibutton { | .uibutton { | ||
border-radius: 4px; | |||
} | } | ||
.uibutton img { | .uibutton img { | ||
max-height: 1em; | |||
padding: 1px 0; | |||
} | } | ||
.herobutton { | .herobutton { | ||
/*max-width: 50%;*/ | |||
/*min-width: 240px;*/ | |||
padding: 0; | |||
border-radius: 4px; | |||
text-align: center; | |||
margin-bottom: 0.5em; | |||
} | } | ||
.herobutton a, | .herobutton a, | ||
.herobutton span { | .herobutton span { | ||
display: block; | |||
padding: 4px 10px; | |||
border-radius: 4px; | |||
background-color: transparent; | |||
min-height: 60px; | |||
} | } | ||
.herobutton a:hover, | .herobutton a:hover, | ||
.herobutton span:hover { | .herobutton span:hover { | ||
background-color: rgba(10, 10, 10, 0.1); | |||
} | |||
/* Layout */ | |||
.clearfix:after { | |||
content: "."; | |||
clear: both; | |||
display: block; | |||
visibility: hidden; | |||
height: 0px; | |||
} | |||
.hidden { | |||
display: none !important; | |||
} | |||
span.tab { | |||
display: inline-block; | |||
width: 4em; | |||
} | |||
span.tabtab { | |||
display: inline-block; | |||
width: 8em; | |||
} | } | ||
span.tabtabtab { | |||
display: inline-block; | |||
. | width: 12em; | ||
} | } | ||
. | span.tabtabtabtab { | ||
display: inline-block; | |||
width: 16em; | |||
} | } | ||
.img-responsive { | |||
. | display: block; | ||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
.img-inline, | |||
. | .inline-img { | ||
. | display: inline-block; | ||
. | max-height: 1.1em; | ||
width: auto; | |||
/*vertical-align: middle; | |||
vertical-align: initial;*/ | |||
vertical-align: baseline; | |||
} | } | ||
/* Tables */ | |||
.infobox { | .infobox { | ||
position: relative; | position: relative; | ||
float: right !important; | float: right !important; | ||
margin: 0 0 8px 12px; | margin: 0 0 8px 12px; | ||
} | } | ||
.infobox table { | .infobox table { | ||
position: relative; | position: relative; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
background-color: #fff; | background-color: #fff; | ||
max-width: 360px; | max-width: 360px; | ||
border: 1px solid #dddddd; | border: 1px solid #dddddd; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border-spacing: 0; | border-spacing: 0; | ||
} | } | ||
.infobox table caption { | .infobox table caption { | ||
text-align: center; | text-align: center; | ||
padding: 0 0 4px; | padding: 0 0 4px; | ||
font-size: smaller; | font-size: smaller; | ||
} | } | ||
.infobox table .infobox-header { | .infobox table .infobox-header { | ||
text-align: center; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
background-color: #f5f5f5; | background-color: #f5f5f5; | ||
font-size: 19px; | font-size: 19px; | ||
} | } | ||
.infobox table th { | .infobox table th { | ||
background-color: #f5f5f5; | background-color: #f5f5f5; | ||
font-weight: bold; | font-weight: bold; | ||
border: 1px solid #dddddd; | border: 1px solid #dddddd; | ||
max-width: 358px; | max-width: 358px; | ||
} | } | ||
.infobox table td { | .infobox table td { | ||
border: 1px solid #dddddd; | border: 1px solid #dddddd; | ||
max-width: 358px; | max-width: 358px; | ||
} | |||
.logictable { | |||
border-spacing: 0; | |||
border-collapse: collapse; | |||
} | |||
.logictable td { | |||
min-width: 2em; | |||
min-height: 2em; | |||
max-width: 4em; | |||
max-height: 2em; | |||
text-align: center; | |||
vertical-align: middle; | |||
} | |||
table.code { | |||
font-family: monospace, 'Courier'; | |||
color: #4e6a8e; | |||
} | |||
table.code input { | |||
width: 2em; | |||
} | |||
.wikitable, | |||
.toc { | |||
-webkit-box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4); | |||
-moz-box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4); | |||
box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4); | |||
} | |||
.wikitable th { | |||
text-align: center; | |||
} | |||
.mw-tablefooter { | |||
font-size: 0.8em; | |||
color: #c8ccd1; | |||
text-align: right; | |||
} | |||
.mw-tablefooter:link, | |||
.mw-tablefooter:active, | |||
.mw-tablefooter:visited, | |||
.mw-tablefooter:hover { | |||
color: #c8ccd1; | |||
} | |||
.binarytable tr:last-of-type td { | |||
border-top: 2px solid black; | |||
} | } | ||
/* Scratchblocks */ | /* Scratchblocks */ | ||
code.blocks, | |||
code.blocks, code.blocks2 { | code.blocks2 { | ||
border: none; | |||
margin: 0 4px; | |||
padding: 0; | |||
background-color: transparent !important; | |||
vertical-align: middle; | |||
} | } | ||
pre.blocks, | |||
pre.blocks, pre.blocks2 { | pre.blocks2 { | ||
padding: 0; | |||
background-color: transparent; | |||
border: none; | |||
margin: 0.8em 0; | |||
} | } | ||
/* Navigation */ | |||
.lernpfad-nav .back { | .lernpfad-nav .back { | ||
float: left; | |||
width: 48%; | |||
} | } | ||
.lernpfad-nav .next { | .lernpfad-nav .next { | ||
float: right; | |||
width: 48%; | |||
text-align: right; | |||
} | } | ||
/********************* | |||
Alerts | |||
*********************/ | |||
.alert { | .alert { | ||
border-radius: 4px; | |||
padding: 8px; | |||
margin: 8px; | |||
font-size: 0.9em; | |||
border: 1px solid rgba(0, 0, 0, 0.25); | |||
color: #212529; | |||
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); | |||
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); | |||
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); | |||
} | } | ||
.alert-title { | .alert-title { | ||
font-weight: 600; | |||
text-transform: uppercase; | |||
} | } | ||
.alert p { | .alert p { | ||
margin: 0; | |||
} | } | ||
.alert-error { | .alert-error { | ||
/*background: #ffecec; | |||
border: 1px solid #f5aca6;*/ | |||
background: #dc3545; | |||
color: #fff; | |||
} | } | ||
.alert-success { | .alert-success { | ||
/*background: #e9ffd9; | |||
border: 1px solid #a6ca8a;*/ | |||
background: #28a745; | |||
color: #fff; | |||
} | } | ||
.alert-warning { | .alert-warning { | ||
/*background: #fff8c4; | |||
border: 1px solid #f2c779;*/ | |||
background: #ffc107; | |||
color: #212529; | |||
} | } | ||
.alert-notice { | .alert-notice { | ||
/*background: #e3f7fc; | |||
border: 1px solid #8ed9f6;*/ | |||
background: #17a2b8; | |||
/*color: @clr-gray2;*/ | |||
color: #212529; | |||
} | |||
/********************** | |||
Wrappers and boxes | |||
**********************/ | |||
.collapsible-info { | |||
border: 1px solid #3a3a3a; | |||
background-color: #f8f9fa; | |||
padding: 5px; | |||
overflow: auto; | |||
} | } | ||
.wrapper, | .wrapper, | ||
.hgbox, | .hgbox, | ||
Zeile 351: | Zeile 377: | ||
.hgdrawer, | .hgdrawer, | ||
.hgborder { | .hgborder { | ||
margin-top: 0.5em; | |||
margin-bottom: 0.5em; | |||
padding: 8px; | |||
border: 1px solid rgba(0, 0, 0, 0.25); | |||
color: #212529; | |||
-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); | |||
-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); | |||
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); | |||
} | } | ||
.wrapper .code { | .wrapper .code { | ||
font-family: monospace, 'Courier' !important; | |||
color: #4e6a8e; | |||
} | } | ||
.wrapper code, | .wrapper code, | ||
.wrapper pre { | .wrapper pre { | ||
background-color: rgba(248, 249, 250, 0.75); | |||
} | } | ||
.wrapper code.clean, | .wrapper code.clean, | ||
.wrapper pre.clean { | .wrapper pre.clean { | ||
background: none; | |||
border: none; | |||
padding: 0; | |||
} | } | ||
.hgbox { | .hgbox { | ||
background-color: #eaecf0; | |||
} | } | ||
.hgwindow { | .hgwindow { | ||
background-color: #c8ccd1; | |||
border-top: 17px solid rgba(0, 0, 0, 0.25); | |||
} | } | ||
.hgdrawer { | .hgdrawer { | ||
border-left: 9px solid rgba(0, 0, 0, 0.25); | |||
} | } | ||
.hgborder { | .hgborder { | ||
border: 2px solid #26292C; | |||
background-color: rgba(0, 0, 0, 0); | |||
} | } | ||
.hgbox.inverted, | .hgbox.inverted, | ||
.hgwindow.inverted, | .hgwindow.inverted, | ||
.hgdrawer.inverted, | .hgdrawer.inverted, | ||
.hgborder.inverted { | .hgborder.inverted { | ||
border-color: rgba(255, 255, 255, 0.4); | |||
} | } | ||
.hgborder > :first-child, | |||
.wrapper > :first-child, | |||
.hgborder> :first-child, | .hgbox > :first-child, | ||
.wrapper> :first-child, | .hgwindow > :first-child, | ||
.hgbox> :first-child, | .hgdrawer > :first-child { | ||
.hgwindow> :first-child, | margin-top: 0; | ||
.hgdrawer> :first-child { | padding-top: 0; | ||
} | } | ||
.hgborder > :last-child, | |||
.hgborder> :last-child, | .wrapper > :last-child, | ||
.wrapper> :last-child, | .hgbox > :last-child, | ||
.hgbox> :last-child, | .hgwindow > :last-child, | ||
.hgwindow> :last-child, | .hgdrawer > :last-child { | ||
.hgdrawer> :last-child { | margin-bottom: 0; | ||
padding-bottom: 0; | |||
} | } | ||
.hintbox { | .hintbox { | ||
font-size: 0.95em; | |||
background-color: #eaecf0; | |||
/*border: 1px solid gray;*/ | |||
} | } | ||
.taskbox { | .taskbox { | ||
background-color: #BEE599; | |||
/*border: 1px solid #a6ca8a;*/ | |||
} | |||
.tldrbox { | |||
background-color: #f8f9fa; | |||
} | } | ||
.solutionbox { | .solutionbox { | ||
background-color: #f5f599; | |||
/*border: 1px solid #d1d183;*/ | |||
} | } | ||
.importantbox { | .importantbox { | ||
border-color: #ff593f; | |||
} | |||
.shortlinkbox { | |||
background-color: #f5f8da; | |||
} | } | ||
.quote, | .quote, | ||
blockquote { | blockquote { | ||
font-style: italic; | |||
font-size: 0.85rem; | |||
} | } | ||
.quote-source { | .quote-source { | ||
font-style: normal !important; | |||
font-size: 0.8rem; | |||
display: block; | |||
margin-top: 0.5em; | |||
} | } | ||
blockquote { | blockquote { | ||
border-left: 4px solid #3a3a3a; | |||
padding-left: 4px; | |||
} | } | ||
.quote blockquote { | .quote blockquote { | ||
border: none; | |||
padding: 0; | |||
margin: 0; | |||
} | |||
.hehodex { | |||
padding: 0.8em; | |||
display: inline-block; | |||
margin: 1em auto; | |||
font-size: 0.8rem; | |||
} | |||
.hehodex center { | |||
font-size: 1.2rem; | |||
} | |||
.hehomon-image { | |||
width: 210px; | |||
padding: 5px; | |||
margin: 0 1em 0 0; | |||
float: left; | |||
} | |||
.hehodex span { | |||
font-variant: small-caps; | |||
margin-left: 1em; | |||
} | |||
.hehodex table { | |||
border-left: 1px solid rgba(0, 0, 0, 0.25); | |||
} | |||
.hehodex.pflanze { | |||
background-color: #37ce5f; | |||
} | |||
.hehodex.elektro { | |||
background-color: #edd644; | |||
} | |||
.hehodex.wasser { | |||
background-color: #57a4ed; | |||
} | |||
.hehodex.feuer { | |||
background-color: #ed5e5e; | |||
} | |||
.hehodex.drache { | |||
background-color: #e0a4fc; | |||
} | |||
.hehodex.flug { | |||
background-color: #a0e1ff; | |||
} | |||
.hehodex.gift { | |||
background-color: #c19ad3; | |||
} | |||
.hehodex.käfer { | |||
background-color: #c4e8a7; | |||
} | |||
.hehodex.gestein { | |||
background-color: #e8dba7; | |||
} | |||
.hehodex.kampf { | |||
background-color: #e0c2aa; | |||
} | |||
.hehodex.eis { | |||
background-color: #9bfff3; | |||
} | |||
.hehodex.psycho { | |||
background-color: #ff9bc9; | |||
} | |||
.hehodex.geist { | |||
background-color: #a7a3ff; | |||
} | } | ||
/* Spaltenlayouts */ | /* Spaltenlayouts */ | ||
@media (min-width: 50em) { | |||
@media ( min-width:50em) { | div.hgrow { | ||
display: flex; | |||
flex-direction: row; | |||
} | |||
div.hgrow > .hgcol { | |||
flex: 1 1 auto; | |||
width: 100vw; | |||
margin: 0 1em 0 0; | |||
} | |||
div.hgrow > .hgcol:last-child { | |||
margin: 0; | |||
} | |||
div.hgrow > .hgcol.hgcol-50 { | |||
width: 50vw; | |||
} | |||
} | } | ||
/* RQuiz */ | /* RQuiz */ | ||
.rquiz-gapfill table.code input { | .rquiz-gapfill table.code input { | ||
width: 30px; | |||
} | |||
h1 { | |||
font-size: 150%; | |||
} | |||
h2 { | |||
font-size: 130%; | |||
} | |||
h3 { | |||
font-size: 110%; | |||
} | |||
h4, | |||
h5, | |||
h6 { | |||
font-size: 100%; | |||
} | |||
/* Tables */ | |||
.content .wikitable tbody { | |||
min-width: 100%; | |||
display: table; | |||
} | |||
.infobox { | |||
position: static; | |||
float: none; | |||
margin: 8px; | |||
} | |||
/** Alerts */ | |||
.alert { | |||
border-radius: 0; | |||
padding: 8px 16px; | |||
margin: 0.5em -16px; | |||
border-left: 0; | |||
border-right: 0; | |||
} | |||
/** Wrappers and boxes */ | |||
.wrapper, | |||
.hgbox, | |||
.hgwindow, | |||
.hgdrawer, | |||
.hgborder { | |||
padding: 8px 16px; | |||
margin: 0.5em -16px; | |||
border-left: 0; | |||
border-right: 0; | |||
} | |||
.hgdrawer { | |||
padding-left: 7px; | |||
} | |||
.hgborder { | |||
padding-left: 14px; | |||
padding-right: 14px; | |||
} | } | ||
@media screen and (min-width: 768px) { | @media screen and (min-width: 768px) { | ||
.banner-container, | |||
.header, | |||
.page-header-bar, | |||
.overlay-header, | |||
.content, | |||
.overlay-content, | |||
.content-unstyled, | |||
.pre-content, | |||
.post-content, | |||
#mw-content-text > form, | |||
#mw-mf-page-center .pointer-overlay { | |||
width: 100%; | |||
max-width: 90%; | |||
} | |||
.page-heading { | |||
width: calc(100% - 330px); | |||
} | |||
.thumbimage { | |||
border-top-right-radius: 20px !important; | |||
border-bottom-right-radius: 0px !important; | |||
border-top-left-radius: 20px !important; | |||
border-bottom-left-radius: 0px !important; | |||
box-shadow: none !important; | |||
} | |||
.overlay .header-container.header-chrome { | |||
top: 0 !important; | |||
z-index: 2; | |||
border: 0; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
left: 0; | |||
width: 100% !important; | |||
right: inherit; | |||
border-radius: 0px !important; | |||
} | |||
.header-container.header-chrome:hover { | |||
width: 340px !important; | |||
margin: 15px !important; | |||
border-top-left-radius: 20px !important; | |||
border-top-right-radius: 20px !important; | |||
border-bottom-right-radius: 20px !important; | |||
border-bottom-left-radius: 20px !important; | |||
padding-top: 5px !important; | |||
padding-bottom: 5px !important; | |||
} | |||
.header-chrome:hover .branding-box img { | |||
width: 116px !important; | |||
opacity: 1 !important; | |||
} | |||
.overlay.search-overlay .overlay-content { | |||
max-width: 90%; | |||
} | |||
.overlay .header-container.header-chrome:hover { | |||
width: 100% !important; | |||
margin: 0px !important; | |||
border-top-left-radius: 0px !important; | |||
border-top-right-radius: 0px !important; | |||
border-bottom-right-radius: 0px !important; | |||
border-bottom-left-radius: 0px !important; | |||
padding-top: 0px !important; | |||
padding-bottom: 0px !important; | |||
} | |||
.header-container.header-chrome { | |||
background: var(--menu-background); | |||
/* | |||
-webkit-backdrop-filter: blur(20px); | |||
backdrop-filter: blur(20px); | |||
*/ | |||
position: fixed !important; | |||
top: 0 !important; | |||
z-index: 2; | |||
padding-top: 5px; | |||
width: 340px; | |||
padding-bottom: 5px; | |||
margin: 15px; | |||
border: 0; | |||
border-radius: 20px; | |||
right: 0; | |||
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2) !important; | |||
} | |||
.header-chrome.overlay-header-container + .overlay-content { | |||
padding-top: 0; | |||
margin-top: 3.375em !important; | |||
} | |||
.thumbimage { | |||
border-top-right-radius: 20px; | |||
border-top-left-radius: 20px; | |||
} | |||
.thumb { | |||
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); | |||
border-radius: 20px; | |||
} | |||
.content figcaption, | |||
.content .thumbcaption { | |||
padding-left: 15px !important; | |||
padding-right: 15px !important; | |||
padding-bottom: 15px !important; | |||
box-sizing: border-box; | |||
padding-top: 10px !important; | |||
color: var(--caption); | |||
} | |||
.page-actions-menu__list-item > a { | |||
font-weight: 400; | |||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; | |||
color: var(--grey-text-color); | |||
} | |||
#main-menu-input:checked .mw-body { | |||
transform: translate(-300px, 0) !important; | |||
transition: transform 250ms ease-in-out; | |||
} | |||
.toggle-list__checkbox .mw-body { | |||
transform: translate(-300px, 0) !important; | |||
transition: transform 250ms ease-in-out; | |||
} | |||
} | } | ||
@media screen and (min-width: 1025px) { | @media screen and (min-width: 1025px) { | ||
.pre-content h1 { | |||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; | |||
font-weight: 900; | |||
font-size: 3em; | |||
color: var(--text-color); | |||
} | |||
} | } | ||
.header .search-box { | .header .search-box { | ||
display: none; | |||
} | } | ||
#mw-mf-page-left ul.hlist li a { | #mw-mf-page-left ul.hlist li a { | ||
color: var(--link-color); | |||
} | } | ||
.overlay-header-container, .overlay-footer-container { | .overlay-header-container, | ||
.overlay-footer-container { | |||
background: var(--translucent-background); | |||
} | } | ||
.content table.infobox { | .content table.infobox { | ||
background-color: #fff; | |||
border: none; | |||
} | } | ||
#mw-mf-page-left { | #mw-mf-page-left { | ||
right: 0; | |||
top: 0; | |||
left: inherit; | |||
background: var(--translucent-background); | |||
-webkit-transform: translate(100%, 0); | |||
-moz-transform: translate(100%, 0); | |||
-ms-transform: translate(100%, 0); | |||
transform: translate(100%, 0); | |||
} | } | ||
#main-menu-input:checked ~ .main-menu-mask { | #main-menu-input:checked ~ .main-menu-mask { | ||
opacity: 1; | |||
} | } | ||
.mw-searchresults-has-iw .iw-resultset { | .mw-searchresults-has-iw .iw-resultset { | ||
background: var(--infobox-background); | |||
} | } | ||
#main-menu-input:checked ~ body { | #main-menu-input:checked ~ body { | ||
overflow: hidden !important; | |||
} | } | ||
.main-menu-mask { | .main-menu-mask { | ||
background: rgba(0, 0, 0, 0.2); | |||
-webkit-backdrop-filter: blur(10px); | |||
backdrop-filter: blur(10px); | |||
} | } | ||
/* Dark Mode */ | /* Dark Mode */ | ||
html, body, #content, .mw-body, #mw-mf-page-center { | html, | ||
body, | |||
#content, | |||
.mw-body, | |||
#mw-mf-page-center { | |||
background: var(--body-background); | |||
color: var(--text-color); | |||
} | } | ||
.toggle-list__list { | .toggle-list__list { | ||
background: var(--translucent-background); | |||
-webkit-backdrop-filter: blur(20px); | |||
backdrop-filter: blur(20px); | |||
} | } | ||
.toggle-list-item:hover { | .toggle-list-item:hover { | ||
background: var(--body-background); | |||
} | } | ||
.toggle-list-item__label { | .toggle-list-item__label { | ||
color: var(--text-color); | |||
} | } | ||
#mw-usercssyoucanpreview { | #mw-usercssyoucanpreview { | ||
background: #fff; | |||
} | } | ||
.mw-highlight { | .mw-highlight { | ||
background: var(--translucent-background); | |||
border-radius: 20px; | |||
border: 0; | |||
} | } | ||
.wikitable, table { | .wikitable, | ||
table { | |||
color: #000; | |||
background: #fff; | |||
} | } | ||
.page-summary h2, .page-summary h3, .overlay.search-overlay li.page-summary .wikidata-description { | .page-summary h2, | ||
.page-summary h3, | |||
.overlay.search-overlay li.page-summary .wikidata-description { | |||
color: var(--text-color); | |||
} | } | ||
.unicode, .haudio { | .unicode, | ||
.haudio { | |||
filter: var(--filter); | |||
} | } | ||
.branding-box img { | .branding-box img { | ||
filter: var(--filter); | |||
} | } | ||
.header .branding-box { | .header .branding-box { | ||
width: 0px; | |||
transition: 100ms ease-in-out; | |||
} | } | ||
.header .branding-box h1 img, .header .branding-box a img { | .header .branding-box h1 img, | ||
.header .branding-box a img { | |||
transition: 250ms ease-in-out; | |||
} | } | ||
.mw-ui-icon-element, .mw-ui-icon-before:before { | .mw-ui-icon-element, | ||
.mw-ui-icon-before:before { | |||
filter: var(--filter); | |||
} | } | ||
.client-js .toc { | .client-js .toc { | ||
background-color: var(--body-background); | |||
border-radius: 20px; | |||
} | } | ||
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { | #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, | ||
#pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { | |||
opacity: 1; | |||
filter: var(--filter); | |||
} | } | ||
.minerva__tab-container .minerva__tab:visited, .minerva__tab-container .minerva__tab:hover, .minerva__tab-container .minerva__tab:active, .minerva__tab-container .minerva__tab.new, .minerva__tab-container .minerva__tab.new:visited, .minerva__tab-container .minerva__tab.new:active, .minerva__tab-container .minerva__tab.new:hover { | .minerva__tab-container .minerva__tab:visited, | ||
.minerva__tab-container .minerva__tab:hover, | |||
.minerva__tab-container .minerva__tab:active, | |||
.minerva__tab-container .minerva__tab.new, | |||
.minerva__tab-container .minerva__tab.new:visited, | |||
.minerva__tab-container .minerva__tab.new:active, | |||
.minerva__tab-container .minerva__tab.new:hover { | |||
color: var(--text-color); | |||
} | } | ||
#mw-mf-page-left ul li a { | #mw-mf-page-left ul li a { | ||
color: var(--text-color); | |||
} | } | ||
.content figure .thumbinner, .content .thumb .thumbinner { | .content figure .thumbinner, | ||
.content .thumb .thumbinner { | |||
border-radius: 20px; | |||
border: none; | |||
background: var(--infobox-background); | |||
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); | |||
} | } | ||
.overlay { | .overlay { | ||
background: var(--translucent-background); | |||
-webkit-backdrop-filter: blur(20px); | |||
backdrop-filter: blur(20px); | |||
} | } | ||
.hatnote { | .hatnote { | ||
background: var(--translucent-background); | |||
color: var(--caption); | |||
border-radius: 10px; | |||
} | } | ||
a { | a { | ||
color: var(--link-color); | |||
} | } | ||
a:visited { | a:visited { | ||
color: var(--visited-link-color); | |||
} | } | ||
.infobox a, .wikitable a, table a { | .infobox a, | ||
.wikitable a, | |||
table a { | |||
color: #3366cc; | |||
} | } | ||
.infobox a:visited, .wikitable a:visited, table a:visited { | .infobox a:visited, | ||
.wikitable a:visited, | |||
table a:visited { | |||
color: #6b4ba1; | |||
} | } | ||
.infobox img { | .infobox img { | ||
border-top-right-radius: 0 !important; | |||
border-top-left-radius: 0 !important; | |||
border-bottom-left-radius: 0 !important; | |||
border-bottom-right-radius: 0 !important; | |||
} | } | ||
.infobox .thumb { | .infobox .thumb { | ||
border-top-right-radius: 0 !important; | |||
border-top-left-radius: 0 !important; | |||
border-bottom-left-radius: 0 !important; | |||
border-bottom-right-radius: 0 !important; | |||
} | } | ||
.infobox .thumbimage { | .infobox .thumbimage { | ||
border-top-right-radius: 0 !important; | |||
border-top-left-radius: 0 !important; | |||
border-bottom-left-radius: 0 !important; | |||
border-bottom-right-radius: 0 !important; | |||
} | } | ||
:root { | :root { | ||
--translucent-background: rgba(234, 236, 240, 0.8); | |||
--infobox-background: #ffffff; | |||
--menu-background: rgba(234, 236, 240, 0.96); | |||
--hatnote-background: rgba(234, 236, 240, 0.8); | |||
--body-background: #ffffff; | |||
--text-color: #000000; | |||
--link-color: #3366cc; | |||
--visited-link-color: #6b4ba1; | |||
--filter: none; | |||
--caption: #54595d; | |||
--image-border: none; | |||
} | } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
:root { | |||
--translucent-background: rgba(75, 75, 75, 0.8); | |||
--infobox-background: rgba(75, 75, 75, 0.8); | |||
--menu-background: rgba(75, 75, 75, 0.96); | |||
--hatnote-background: rgba(75, 75, 75, 0.5); | |||
--body-background: #000; | |||
--text-color: #fff; | |||
--link-color: #9eb6e7; | |||
--visited-link-color: #c0b0da; | |||
--filter: brightness(0) invert(1); | |||
--caption: #fff; | |||
--image-border: 2px solid #fff; | |||
} | |||
} | } | ||
/* Banner */ | /* Banner */ | ||
#searchInput { | #searchInput { | ||
border-radius: 10px; | |||
} | } | ||
.search-overlay { | .search-overlay { | ||
z-index: 3; | |||
} | } | ||
#mw-mf-page-left ul { | #mw-mf-page-left ul { | ||
padding-bottom: 0px; | |||
padding-top: 22px; | |||
} | } | ||
#mw-mf-page-left { | #mw-mf-page-left { | ||
z-index: 4; | |||
} | } | ||
#mw-mf-page-left ul li a { | #mw-mf-page-left ul li a { | ||
color: var(--text-color); | |||
} | } | ||
#mw-mf-page-left ul li { | #mw-mf-page-left ul li { | ||
background: transparent; | |||
border: none; | |||
} | } | ||
.overlay.search-overlay.visible { | .overlay.search-overlay.visible { | ||
overflow: scroll; | |||
} | } | ||
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback { | .overlay.search-overlay .results, | ||
.overlay.search-overlay .search-feedback { | |||
background: transparent; | |||
box-shadow: none; | |||
} | } | ||
.overlay.search-overlay li.page-summary { | .overlay.search-overlay li.page-summary { | ||
margin-bottom: 20px; | |||
margin-top: 10px; | margin-top: 10px; | ||
border: 0; | border: 0; | ||
box-shadow: 3px 3px 6px rgba(0,0,0,0. | box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); | ||
border-radius: 20px; | border-radius: 20px; | ||
} | } | ||
.page-list, .topic-title-list, .site-link-list { | .page-list, | ||
.topic-title-list, | |||
.site-link-list { | |||
overflow: visible; | |||
} | } | ||
.list-thumb.list-thumb-y { | .list-thumb.list-thumb-y { | ||
border-top-left-radius: 20px; | |||
border-bottom-left-radius: 20px; | border-bottom-left-radius: 20px; | ||
} | } | ||
.overlay.search-overlay .search-content { | .overlay.search-overlay .search-content { | ||
border-bottom: 0; | |||
} | } | ||
.overlay.search-overlay { | .overlay.search-overlay { | ||
background: var(--translucent-background); | |||
-webkit-backdrop-filter: blur(20px); | |||
backdrop-filter: blur(20px); | |||
} | } | ||
.header-container.header-chrome { | .header-container.header-chrome { | ||
background: var(--menu-background); | |||
/* | |||
-webkit-backdrop-filter: blur(20px); | |||
backdrop-filter: blur(20px); | |||
*/ | |||
position: fixed; | |||
top: 0; | |||
right: 0; | |||
z-index: 2; | |||
box-sizing: border-box; | |||
border: 0; | |||
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2) !important; | |||
transition: all 250ms ease-in-out; | |||
} | } | ||
@media screen and (max-width: 767px) { | @media screen and (max-width: 767px) { | ||
#mw-mf-viewport { | |||
padding-top: 60px; | |||
} | |||
.header-container.header-chrome { | |||
width: 100%; | |||
} | |||
.content figcaption, | |||
.content .thumbcaption { | |||
color: var(--text-color); | |||
padding: 15px !important; | |||
} | |||
.notifications-overlay.navigation-drawer { | |||
top: 53px; | |||
} | |||
} | } | ||
.header-chrome.overlay-header-container + .overlay-content { | .header-chrome.overlay-header-container + .overlay-content { | ||
padding-top: 0; | |||
margin-top: 3.375em; | |||
} | } | ||
.overlay-content { | .overlay-content { | ||
z-index: 1; | |||
} | } | ||
.page-actions-menu { | .page-actions-menu { | ||
border-top: 0; | |||
border-bottom: 0; | |||
} | } | ||
/* Fonts */ | /* Fonts */ | ||
.pre-content h1 { | .pre-content h1 { | ||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; | |||
font-weight: 900; | |||
font-size: 2em; | |||
color: var(--text-color); | |||
} | } | ||
h2 .mw-headline { | h2 .mw-headline { | ||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; | |||
font-weight: 800; | |||
font-size: 1.5em; | |||
color: var(--text-color); | |||
} | } | ||
h3 .mw-headline{ | h3 .mw-headline { | ||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; | |||
font-weight: 600; | |||
font-size: 25px; | |||
color: var(--text-color); | |||
} | } | ||
h4 .mw-headline{ | h4 .mw-headline { | ||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; | |||
font-weight: 500; | |||
font-size: 18px; | |||
color: var(--text-color); | |||
} | } | ||
body, p { | body, | ||
p { | |||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; | |||
font-weight: 300; | |||
} | } | ||
/* Visual Tweaks */ | /* Visual Tweaks */ | ||
footer .last-modified-bar, .minerva-footer, footer > .post-content > h2 { | footer .last-modified-bar, | ||
.minerva-footer, | |||
footer > .post-content > h2 { | |||
border-bottom: none; | |||
border-top: none; | |||
} | } | ||
.overlay.media-viewer .cancel { | .overlay.media-viewer .cancel { | ||
top: 60px; | |||
} | } | ||
.infobox { | .infobox { | ||
border-radius: 20px; | |||
box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.3); | |||
} | } | ||
table { | table { | ||
border-radius: 0px; | |||
box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.3); | |||
} | } | ||
input { | input { | ||
border-radius: 10px; | |||
} | } | ||
.thumbimage { | .thumbimage { | ||
border-top-right-radius: 20px; | |||
border-bottom-right-radius: 0px; | |||
border-top-left-radius: 20px; | |||
border-bottom-left-radius: 0px; | |||
box-shadow: none; | |||
} | } | ||
.header { | .header { | ||
border-top: none; | |||
} | } | ||
.overlay.search-overlay .header input { | .overlay.search-overlay .header input { | ||
border-radius: 10px; | |||
border: 0; | |||
} | } | ||
.client-js #searchIcon { | .client-js #searchIcon { | ||
display: block; | |||
} | } | ||
#mw-clearyourcache { | #mw-clearyourcache { | ||
display: none; | |||
} | } | ||
.skin-minerva-search-trigger { | .skin-minerva-search-trigger { | ||
display: none; | |||
} | } | ||
.list-thumb.list-thumb-none { | .list-thumb.list-thumb-none { | ||
border-top-left-radius: 20px; | |||
border-bottom-left-radius: 20px; | |||
} | } | ||
.content table.infobox { | .content table.infobox { | ||
background: var(--infobox-background) !important; | |||
color: var(--text-color); | |||
border-radius: 20px; | |||
} | } | ||
table.infobox { | table.infobox { | ||
max-width: 400px; | |||
} | } | ||
.content table.infobox a { | .content table.infobox a { | ||
color: var(--link-color); | |||
} | } | ||
.content table.infobox a:visited { | .content table.infobox a:visited { | ||
color: var(--visited-link-color); | |||
} | } | ||
thead { | thead { | ||
backdrop-filter: blur(20px); | |||
-webkit-backdrop-filter: blur(20px); | |||
border: 1px solid #54595d; | |||
border-color: rgba(84, 89, 93, 0.3); | |||
} | } | ||
thead th { | thead th { | ||
background-color: rgba(234, 236, 240, 0.8) !important; | |||
} | } | ||
.hatnote a, .dablink a, .rellink a { | .hatnote a, | ||
.dablink a, | |||
.rellink a { | |||
color: var(--link-color); | |||
} | } | ||
/* Editor */ | /* Editor */ | ||
.oo-ui-toolbar-bar { | .oo-ui-toolbar-bar { | ||
background-color: var(--translucent-background); | |||
-webkit-backdrop-filter: blur(20px); | |||
backdrop-filter: blur(20px); | |||
color: var(--text-color); | |||
} | } | ||
.oo-ui-iconElement-icon { | .oo-ui-iconElement-icon { | ||
filter: var(--filter); | |||
} | } | ||
.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon, .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator { | .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon, | ||
.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator { | |||
filter: var(--filter); | |||
} | } | ||
.client-js .mw-edittools-section input[type="button"] { | .client-js .mw-edittools-section input[type="button"] { | ||
color: var(--text-color); | |||
} | } |
Bearbeitungen