MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
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-content, .parsoid-body { | ||
.mw-body, | |||
.mw-body-content, | |||
.parsoid-body { | |||
/** | /** | ||
Native Font-Stack from Bootstrap | Native Font-Stack from Bootstrap | ||
Zeile 17: | Zeile 14: | ||
background-color: #fff; | background-color: #fff; | ||
} | } | ||
.mw-editform #wpTextbox1 { | .mw-editform #wpTextbox1 { | ||
font-size: 1rem !important; | font-size: 1rem !important; | ||
} | } | ||
.clearfix:after { | .clearfix:after { | ||
content: "."; | content: "."; | ||
Zeile 32: | Zeile 27: | ||
display: none !important; | display: none !important; | ||
} | } | ||
.text-small { | .text-small { | ||
font-size: smaller !important; | font-size: smaller !important; | ||
Zeile 40: | Zeile 33: | ||
font-size: larger !important; | font-size: larger !important; | ||
} | } | ||
.text-center { | .text-center { | ||
text-align: center !important; | text-align: center !important; | ||
} | } | ||
.text-left { | .text-left { | ||
text-align: left !important; | text-align: left !important; | ||
} | } | ||
.text-right { | .text-right { | ||
text-align: right !important; | text-align: right !important; | ||
} | } | ||
.pre { | .pre { | ||
font-family: monospace,'Courier'; | font-family: monospace, 'Courier'; | ||
color: #000; | color: #000; | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
Zeile 63: | Zeile 52: | ||
line-height: 1.3em; | line-height: 1.3em; | ||
} | } | ||
.img-responsive { | .img-responsive { | ||
display: block; | display: block; | ||
Zeile 69: | Zeile 57: | ||
height: auto; | height: auto; | ||
} | } | ||
span.tab { | span.tab { | ||
display: inline-block; | |||
width: 4em; | |||
} | } | ||
span.tabtab { | span.tabtab { | ||
display: inline-block; | |||
width: 8em; | |||
} | } | ||
span.tabtabtab { | span.tabtabtab { | ||
display: inline-block; | |||
width: 12em; | |||
} | } | ||
span.tabtabtabtab { | span.tabtabtabtab { | ||
display: inline-block; | |||
width: 16em; | |||
} | } | ||
/* Color utilities */ | /* Color utilities */ | ||
Zeile 93: | Zeile 78: | ||
color: #FFF !important; | color: #FFF !important; | ||
} | } | ||
.text-default { | .text-default { | ||
color: #212529 !important; | color: #212529 !important; | ||
} | } | ||
.text-muted { | .text-muted { | ||
color: #AEAEAE !important; | color: #AEAEAE !important; | ||
} | } | ||
.text-primary {} | .text-primary {} | ||
.text-secondary {} | .text-secondary {} | ||
.text-hg { | .text-hg { | ||
color: #00A651 !important; | color: #00A651 !important; | ||
} | } | ||
.text-hgrot { | .text-hgrot { | ||
color: #97373d !important; | color: #97373d !important; | ||
} | } | ||
.bg-primary {} | .bg-primary {} | ||
.bg-secondary {} | .bg-secondary {} | ||
.bg-dark { | .bg-dark { | ||
background: #333 !important; | background: #333 !important; | ||
} | } | ||
.bg-light { | .bg-light { | ||
background: #EEE !important; | background: #EEE !important; | ||
} | } | ||
.bg-hg { | .bg-hg { | ||
background: #00A651 !important; | background: #00A651 !important; | ||
} | } | ||
.bg-hgrot { | .bg-hgrot { | ||
background: #97373d !important; | background: #97373d !important; | ||
} | } | ||
.inline-img { | .inline-img { | ||
display: inline-block; | display: inline-block; | ||
Zeile 142: | Zeile 114: | ||
vertical-align: baseline; | vertical-align: baseline; | ||
} | } | ||
.key, .uibutton, .herobutton { | |||
.key, | |||
.uibutton, | |||
.herobutton { | |||
background-color: #F7F7F7; | background-color: #F7F7F7; | ||
background-image: -webkit-linear-gradient(rgba(255, 255, 255, .4), rgba(127, 127, 127, .2)); | background-image: -webkit-linear-gradient(rgba(255, 255, 255, .4), rgba(127, 127, 127, .2)); | ||
Zeile 159: | Zeile 128: | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
.uibutton { | .uibutton { | ||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
.uibutton img { | .uibutton img { | ||
max-height: 1em; | max-height: 1em; | ||
padding: 1px 0; | padding: 1px 0; | ||
} | } | ||
.herobutton { | .herobutton { | ||
/*max-width: 50%;*/ | /*max-width: 50%;*/ | ||
Zeile 177: | Zeile 143: | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
} | } | ||
.herobutton a, .herobutton span { | |||
.herobutton a, | |||
.herobutton span { | |||
display: block; | display: block; | ||
padding: 4px 10px; | padding: 4px 10px; | ||
Zeile 186: | Zeile 150: | ||
min-height: 60px; | min-height: 60px; | ||
} | } | ||
.herobutton a:hover, .herobutton span:hover { | |||
.herobutton a:hover, | |||
.herobutton span:hover { | |||
background-color: rgba(10, 10, 10, 0.1); | background-color: rgba(10, 10, 10, 0.1); | ||
} | } | ||
/* 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; | ||
} | } | ||
.table-binary { | .table-binary { | ||
border-spacing: 0; | |||
border-collapse: collapse; | |||
} | } | ||
.table-binary td { | .table-binary td { | ||
min-width: 2em; | |||
min-height: 2em; | |||
text-align: center; | |||
vertical-align: middle; | |||
} | } | ||
.table-binary tr:last-of-type td { | .table-binary tr:last-of-type td { | ||
border-top: 2px solid black; | |||
} | } | ||
/* Scratchblocks */ | /* Scratchblocks */ | ||
Zeile 252: | Zeile 212: | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
pre.blocks, pre.blocks2 { | pre.blocks, pre.blocks2 { | ||
padding: 0; | padding: 0; | ||
Zeile 259: | Zeile 218: | ||
margin: 0.8em 0; | margin: 0.8em 0; | ||
} | } | ||
.mw-tablefooter { | .mw-tablefooter { | ||
font-size: 0.8em; | font-size: 0.8em; | ||
Zeile 265: | Zeile 223: | ||
text-align: right; | text-align: right; | ||
} | } | ||
.mw-tablefooter a:link, .mw-tablefooter a:visited, .mw-tablefooter a:active, .mw-tablefooter a:hover { | |||
.mw-tablefooter a:link, | |||
.mw-tablefooter a:visited, | |||
.mw-tablefooter a:active, | |||
.mw-tablefooter a:hover { | |||
color: gray; | color: gray; | ||
} | } | ||
.lernpfad-nav {} | .lernpfad-nav {} | ||
.lernpfad-nav .back { | .lernpfad-nav .back { | ||
float: left; | float: left; | ||
width: 48%; | width: 48%; | ||
} | } | ||
.lernpfad-nav .next { | .lernpfad-nav .next { | ||
float: right; | float: right; | ||
Zeile 285: | Zeile 236: | ||
text-align: right; | text-align: right; | ||
} | } | ||
.collapsible-info { | .collapsible-info { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
Zeile 292: | Zeile 242: | ||
overflow: auto; | overflow: auto; | ||
} | } | ||
/** Alerts */ | /** Alerts */ | ||
Zeile 307: | Zeile 252: | ||
color: #fff; | color: #fff; | ||
} | } | ||
.alert-title { | .alert-title { | ||
font-weight: 600; | font-weight: 600; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.alert p { | .alert p { | ||
margin: 0; | margin: 0; | ||
} | } | ||
.alert-icon {} | .alert-icon {} | ||
.alert-error { | .alert-error { | ||
/*background: #ffecec; | /*background: #ffecec; | ||
Zeile 324: | Zeile 265: | ||
background: #dc3545; | background: #dc3545; | ||
} | } | ||
.alert-success { | .alert-success { | ||
/*background: #e9ffd9; | /*background: #e9ffd9; | ||
Zeile 330: | Zeile 270: | ||
background: #28a745; | background: #28a745; | ||
} | } | ||
.alert-warning { | .alert-warning { | ||
/*background: #fff8c4; | /*background: #fff8c4; | ||
Zeile 337: | Zeile 276: | ||
color: #212529; | color: #212529; | ||
} | } | ||
.alert-notice { | .alert-notice { | ||
/*background: #e3f7fc; | /*background: #e3f7fc; | ||
Zeile 344: | Zeile 282: | ||
color: #333; | color: #333; | ||
} | } | ||
/** Wrappers and boxes */ | /** Wrappers and boxes */ | ||
.wrapper, | .wrapper, .hgbox, .hgwindow, .hgdrawer, .hgborder { | ||
.hgbox, | |||
.hgwindow, | |||
.hgdrawer, | |||
.hgborder { | |||
margin-top: 0.5em; | margin-top: 0.5em; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
Zeile 361: | Zeile 290: | ||
border: 1px solid rgba(0, 0, 0, .25); | border: 1px solid rgba(0, 0, 0, .25); | ||
} | } | ||
.wrapper {} | .wrapper {} | ||
.wrapper .code { | .wrapper .code { | ||
font-family: monospace, 'Courier' !important; | font-family: monospace, 'Courier' !important; | ||
} | } | ||
.wrapper code, .wrapper pre { | |||
.wrapper code, | |||
.wrapper pre { | |||
background-color: rgba(248, 249, 250, 0.75); | background-color: rgba(248, 249, 250, 0.75); | ||
} | } | ||
.wrapper code.clean, .wrapper pre.clean { | |||
.wrapper code.clean, | |||
.wrapper pre.clean { | |||
background: none; | background: none; | ||
border: none; | border: none; | ||
padding: 0; | padding: 0; | ||
} | } | ||
.hgbox { | .hgbox { | ||
background: #E9E9E9; | background: #E9E9E9; | ||
} | } | ||
.hgwindow { | .hgwindow { | ||
background: #E9E9E9; | background: #E9E9E9; | ||
border-top: 17px solid rgba(0, 0, 0, .25); | border-top: 17px solid rgba(0, 0, 0, .25); | ||
} | } | ||
.hgdrawer { | .hgdrawer { | ||
border-left: 9px solid rgba(0, 0, 0, .25); | border-left: 9px solid rgba(0, 0, 0, .25); | ||
} | } | ||
.hgborder { | .hgborder { | ||
border: 2px solid #212529; | border: 2px solid #212529; | ||
background: rgba(0, 0, 0, 0); | background: rgba(0, 0, 0, 0); | ||
} | } | ||
.hgbox.inverted, .hgwindow.inverted, .hgdrawer.inverted, .hgborder.inverted { | |||
.hgbox.inverted, | |||
.hgwindow.inverted, | |||
.hgdrawer.inverted, | |||
.hgborder.inverted { | |||
border-color: rgba(255, 255, 255, .4); | border-color: rgba(255, 255, 255, .4); | ||
} | } | ||
.hgborder> :first-child, .wrapper> :first-child, .hgbox> :first-child, .hgwindow> :first-child, .hgdrawer> :first-child { | |||
.hgborder> :first-child, | |||
.wrapper> :first-child, | |||
.hgbox> :first-child, | |||
.hgwindow> :first-child, | |||
.hgdrawer> :first-child { | |||
margin-top: 0; | margin-top: 0; | ||
padding-top: 0; | padding-top: 0; | ||
} | } | ||
.hgborder> :last-child, .wrapper> :last-child, .hgbox> :last-child, .hgwindow> :last-child, .hgdrawer> :last-child { | |||
.hgborder> :last-child, | |||
.wrapper> :last-child, | |||
.hgbox> :last-child, | |||
.hgwindow> :last-child, | |||
.hgdrawer> :last-child { | |||
margin-bottom: 0; | margin-bottom: 0; | ||
padding-bottom: 0; | padding-bottom: 0; | ||
} | } | ||
.hintbox { | .hintbox { | ||
font-size: 0.95em; | font-size: 0.95em; | ||
Zeile 429: | Zeile 332: | ||
/*border: 1px solid gray;*/ | /*border: 1px solid gray;*/ | ||
} | } | ||
.taskbox { | .taskbox { | ||
background: #BEE599; | background: #BEE599; | ||
/*border: 1px solid #a6ca8a;*/ | /*border: 1px solid #a6ca8a;*/ | ||
} | } | ||
.taskbox--icon { | |||
} | |||
.tldrbox { | .tldrbox { | ||
background: #f7f7ff; | background: #f7f7ff; | ||
} | } | ||
.solutionbox { | .solutionbox { | ||
background-color: #f5f599; | background-color: #f5f599; | ||
/*border: 1px solid #d1d183;*/ | /*border: 1px solid #d1d183;*/ | ||
} | } | ||
.importantbox { | .importantbox { | ||
border-color: #ff593f; | border-color: #ff593f; | ||
} | } | ||
.quote, blockquote { | |||
.quote, | |||
blockquote { | |||
font-style: italic; | font-style: italic; | ||
font-size: 0.85rem; | font-size: 0.85rem; | ||
} | } | ||
.quote-source { | .quote-source { | ||
font-style: normal !important; | font-style: normal !important; | ||
Zeile 461: | Zeile 359: | ||
margin-top: 0.5em; | margin-top: 0.5em; | ||
} | } | ||
blockquote { | blockquote { | ||
border-left: 4px solid silver; | border-left: 4px solid silver; | ||
padding-left: 4px; | padding-left: 4px; | ||
} | } | ||
.quote blockquote { | .quote blockquote { | ||
border: none; | border: none; | ||
Zeile 472: | Zeile 368: | ||
margin: 0; | margin: 0; | ||
} | } | ||
.hehodex { | .hehodex { | ||
padding: .8em; | padding: .8em; | ||
display:inline-block; | display: inline-block; | ||
margin:1em auto; | margin: 1em auto; | ||
font-size:.8rem; | font-size: .8rem; | ||
} | } | ||
.hehodex center { | .hehodex center { | ||
font-size:1.2rem; | font-size: 1.2rem; | ||
} | } | ||
.hehomon-image { | .hehomon-image { | ||
width:210px; | width: 210px; | ||
padding:5px; | padding: 5px; | ||
margin:0 1em 0 0; | margin: 0 1em 0 0; | ||
float:left; | float: left; | ||
} | } | ||
.hehodex span { | .hehodex span { | ||
font-variant:small-caps; | font-variant: small-caps; | ||
margin-left: 1em; | margin-left: 1em; | ||
} | } | ||
.hehodex table { | .hehodex table { | ||
border-left: 1px solid rgba(0, 0, 0, .25); | border-left: 1px solid rgba(0, 0, 0, .25); | ||
} | } | ||
.hehodex.pflanze { | .hehodex.pflanze { | ||
background-color:#37ce5f; | background-color: #37ce5f; | ||
} | } | ||
.hehodex.elektro { | .hehodex.elektro { | ||
background-color:#edd644; | background-color: #edd644; | ||
} | } | ||
.hehodex.wasser { | .hehodex.wasser { | ||
background-color:#57a4ed; | background-color: #57a4ed; | ||
} | } | ||
.hehodex.feuer { | .hehodex.feuer { | ||
background-color:#ed5e5e; | background-color: #ed5e5e; | ||
} | } | ||
.hehodex.drache { | .hehodex.drache { | ||
background-color:#e0a4fc; | background-color: #e0a4fc; | ||
} | } | ||
.hehodex.flug { | .hehodex.flug { | ||
background-color:#a0e1ff; | background-color: #a0e1ff; | ||
} | } | ||
.hehodex.gift { | .hehodex.gift { | ||
background-color:#c19ad3; | background-color: #c19ad3; | ||
} | } | ||
.hehodex.käfer { | .hehodex.käfer { | ||
background-color:#c4e8a7; | background-color: #c4e8a7; | ||
} | } | ||
.hehodex.gestein { | .hehodex.gestein { | ||
background-color:#e8dba7; | background-color: #e8dba7; | ||
} | } | ||
.hehodex.kampf { | .hehodex.kampf { | ||
background-color:#e0c2aa; | background-color: #e0c2aa; | ||
} | } | ||
.hehodex.eis { | .hehodex.eis { | ||
background-color: #9bfff3; | background-color: #9bfff3; | ||
} | } | ||
.hehodex.psycho { | .hehodex.psycho { | ||
background-color:#ff9bc9; | background-color: #ff9bc9; | ||
} | } | ||
.hehodex.geist { | .hehodex.geist { | ||
background-color:#a7a3ff; | background-color: #a7a3ff; | ||
} | } | ||
/* Spaltenlayouts */ | /* Spaltenlayouts */ | ||
Zeile 556: | Zeile 448: | ||
} | } | ||
} | } | ||
/* RQuiz */ | /* RQuiz */ | ||
Version vom 2. September 2020, 18:06 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
body, .mw-body, .mw-body-content, .parsoid-body {
/**
Native Font-Stack from Bootstrap
See https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
*/
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;
color: #212529;
text-align: left;
background-color: #fff;
}
.mw-editform #wpTextbox1 {
font-size: 1rem !important;
}
.clearfix:after {
content: ".";
clear: both;
display: block;
visibility: hidden;
height: 0px;
}
.hidden {
display: none !important;
}
.text-small {
font-size: smaller !important;
}
.text-large {
font-size: larger !important;
}
.text-center {
text-align: center !important;
}
.text-left {
text-align: left !important;
}
.text-right {
text-align: right !important;
}
.pre {
font-family: monospace, 'Courier';
color: #000;
background-color: #f8f9fa;
border: 1px solid #eaecf0;
padding: 1em;
white-space: pre-wrap;
display: block;
line-height: 1.3em;
}
.img-responsive {
display: block;
max-width: 100%;
height: auto;
}
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;
}
/* Color utilities */
.text-white {
color: #FFF !important;
}
.text-default {
color: #212529 !important;
}
.text-muted {
color: #AEAEAE !important;
}
.text-primary {}
.text-secondary {}
.text-hg {
color: #00A651 !important;
}
.text-hgrot {
color: #97373d !important;
}
.bg-primary {}
.bg-secondary {}
.bg-dark {
background: #333 !important;
}
.bg-light {
background: #EEE !important;
}
.bg-hg {
background: #00A651 !important;
}
.bg-hgrot {
background: #97373d !important;
}
.inline-img {
display: inline-block;
max-height: 1.1em;
width: auto;
/*vertical-align: middle;
vertical-align: initial;*/
vertical-align: baseline;
}
.key, .uibutton, .herobutton {
background-color: #F7F7F7;
background-image: -webkit-linear-gradient(rgba(255, 255, 255, .4), rgba(127, 127, 127, .2));
background-image: -moz-linear-gradient(rgba(255, 255, 255, .4), rgba(127, 127, 127, .2));
background-image: -o-linear-gradient(rgba(255, 255, 255, .4), rgba(127, 127, 127, .2));
background-image: linear-gradient(rgba(255, 255, 255, .4), rgba(127, 127, 127, .2));
border: 1px solid;
border-color: #DDD #AAA #888 #CCC;
border-radius: 2px;
font-family: inherit;
padding: 0 .4em;
text-shadow: 0 1px rgba(255, 255, 255, .5);
white-space: nowrap;
}
.uibutton {
border-radius: 4px;
}
.uibutton img {
max-height: 1em;
padding: 1px 0;
}
.herobutton {
/*max-width: 50%;*/
/*min-width: 240px;*/
padding: 0;
border-radius: 4px;
text-align: center;
margin-bottom: 0.5em;
}
.herobutton a, .herobutton span {
display: block;
padding: 4px 10px;
border-radius: 4px;
background-color: transparent;
min-height: 60px;
}
.herobutton a:hover, .herobutton span:hover {
background-color: rgba(10, 10, 10, 0.1);
}
/* Tables */
.infobox {
position: relative;
float: right !important;
margin: 0 0 8px 12px;
}
.infobox table {
position: relative;
margin-bottom: 0;
background-color: #fff;
max-width: 360px;
border: 1px solid #dddddd;
border-collapse: collapse;
border-spacing: 0;
}
.infobox table caption {
text-align: center;
padding: 0 0 4px;
font-size: smaller;
}
.infobox table .infobox-header {
text-align: center;
font-weight: bold;
background-color: #f5f5f5;
font-size: 19px;
}
.infobox table th {
background-color: #f5f5f5;
font-weight: bold;
border: 1px solid #dddddd;
max-width: 358px;
}
.infobox table td {
border: 1px solid #dddddd;
max-width: 358px;
}
.table-binary {
border-spacing: 0;
border-collapse: collapse;
}
.table-binary td {
min-width: 2em;
min-height: 2em;
text-align: center;
vertical-align: middle;
}
.table-binary tr:last-of-type td {
border-top: 2px solid black;
}
/* Scratchblocks */
code.blocks, code.blocks2 {
border: none;
margin: 0 4px;
padding: 0;
background-color: transparent !important;
vertical-align: middle;
}
pre.blocks, pre.blocks2 {
padding: 0;
background-color: transparent;
border: none;
margin: 0.8em 0;
}
.mw-tablefooter {
font-size: 0.8em;
color: gray;
text-align: right;
}
.mw-tablefooter a:link, .mw-tablefooter a:visited, .mw-tablefooter a:active, .mw-tablefooter a:hover {
color: gray;
}
.lernpfad-nav {}
.lernpfad-nav .back {
float: left;
width: 48%;
}
.lernpfad-nav .next {
float: right;
width: 48%;
text-align: right;
}
.collapsible-info {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
overflow: auto;
}
/** Alerts */
.alert {
/*border-radius: 4px;*/
padding: 8px;
margin: 8px;
font-size: 0.9em;
border: 1px solid rgba(0, 0, 0, .125);
color: #fff;
}
.alert-title {
font-weight: 600;
text-transform: uppercase;
}
.alert p {
margin: 0;
}
.alert-icon {}
.alert-error {
/*background: #ffecec;
border: 1px solid #f5aca6;*/
background: #dc3545;
}
.alert-success {
/*background: #e9ffd9;
border: 1px solid #a6ca8a;*/
background: #28a745;
}
.alert-warning {
/*background: #fff8c4;
border: 1px solid #f2c779;*/
background: #ffc107;
color: #212529;
}
.alert-notice {
/*background: #e3f7fc;
border: 1px solid #8ed9f6;*/
background: #17a2b8;
color: #333;
}
/** Wrappers and boxes */
.wrapper, .hgbox, .hgwindow, .hgdrawer, .hgborder {
margin-top: 0.5em;
margin-bottom: 0.5em;
padding: 8px;
border: 1px solid rgba(0, 0, 0, .25);
}
.wrapper {}
.wrapper .code {
font-family: monospace, 'Courier' !important;
}
.wrapper code, .wrapper pre {
background-color: rgba(248, 249, 250, 0.75);
}
.wrapper code.clean, .wrapper pre.clean {
background: none;
border: none;
padding: 0;
}
.hgbox {
background: #E9E9E9;
}
.hgwindow {
background: #E9E9E9;
border-top: 17px solid rgba(0, 0, 0, .25);
}
.hgdrawer {
border-left: 9px solid rgba(0, 0, 0, .25);
}
.hgborder {
border: 2px solid #212529;
background: rgba(0, 0, 0, 0);
}
.hgbox.inverted, .hgwindow.inverted, .hgdrawer.inverted, .hgborder.inverted {
border-color: rgba(255, 255, 255, .4);
}
.hgborder> :first-child, .wrapper> :first-child, .hgbox> :first-child, .hgwindow> :first-child, .hgdrawer> :first-child {
margin-top: 0;
padding-top: 0;
}
.hgborder> :last-child, .wrapper> :last-child, .hgbox> :last-child, .hgwindow> :last-child, .hgdrawer> :last-child {
margin-bottom: 0;
padding-bottom: 0;
}
.hintbox {
font-size: 0.95em;
background: #EEE;
/*border: 1px solid gray;*/
}
.taskbox {
background: #BEE599;
/*border: 1px solid #a6ca8a;*/
}
.taskbox--icon {
}
.tldrbox {
background: #f7f7ff;
}
.solutionbox {
background-color: #f5f599;
/*border: 1px solid #d1d183;*/
}
.importantbox {
border-color: #ff593f;
}
.quote, blockquote {
font-style: italic;
font-size: 0.85rem;
}
.quote-source {
font-style: normal !important;
font-size: 0.8rem;
display: block;
margin-top: 0.5em;
}
blockquote {
border-left: 4px solid silver;
padding-left: 4px;
}
.quote blockquote {
border: none;
padding: 0;
margin: 0;
}
.hehodex {
padding: .8em;
display: inline-block;
margin: 1em auto;
font-size: .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, .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 */
@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-gapfill table.code input {
width: 30px;
}