MediaWiki:Mobile.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Jneug (Diskussion | Beiträge) (Der Seiteninhalt wurde durch einen anderen Text ersetzt: „{{MediaWiki:Common.css}}“) Markierungen: Mobile Bearbeitung Mobile Web-Bearbeitung |
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung Markierungen: Mobile Bearbeitung Mobile Web-Bearbeitung |
||
Zeile 1: | Zeile 1: | ||
{{ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
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: 1.1rem; | |||
font-weight: 400; | |||
line-height: 1.5; | |||
color: #212529; | |||
text-align: left; | |||
background-color: #fff; | |||
} | |||
.clearfix:after { | |||
content: "."; | |||
clear: both; | |||
display: block; | |||
visibility: hidden; | |||
height: 0px; | |||
} | |||
/* 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; | |||
} | |||
/* Scratchblocks */ | |||
code.blocks { | |||
border: none; | |||
margin: 0 4px; | |||
padding: 0; | |||
background-color: transparent; | |||
vertical-align: middle; | |||
} | |||
pre.blocks { | |||
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; | |||
font-weight: 600; | |||
} | |||
.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; | |||
} | |||
/** Wrappers and boxes */ | |||
.wrapper, .box, .window, .drawer, .border { | |||
margin-top: 0.5em; | |||
margin-bottom: 0.5em; | |||
padding: 8px; | |||
border: 1px solid rgba(0, 0, 0, .25); | |||
} | |||
.wrapper { | |||
} | |||
.box { | |||
background: #E9E9E9; | |||
} | |||
.window { | |||
background: #E9E9E9; | |||
border-top: 17px solid rgba(0,0,0,.25); | |||
} | |||
.drawer { | |||
border-left: 9px solid rgba(0,0,0,.25); | |||
} | |||
.border { | |||
border: 2px solid #212529; | |||
background: rgba(0,0,0,0); | |||
} | |||
.border > :first-child, | |||
.wrapper > :first-child, | |||
.box > :first-child, | |||
.window > :first-child, | |||
.drawer > :first-child { | |||
margin-top: 0; | |||
padding-top: 0; | |||
} | |||
.border > :last-child, | |||
.wrapper > :last-child, | |||
.box > :last-child, | |||
.window > :last-child, | |||
.drawer > :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;*/ | |||
} | |||
.solutionbox { | |||
background-color: #f5f599; | |||
/*border: 1px solid #d1d183;*/ | |||
} | |||
.importantbox { | |||
border-color: #ff593f; | |||
} | |||
.quote { | |||
font-style: italic; | |||
font-size: 0.85rem; | |||
} | |||
.quote-source { | |||
font-style: normal !important; | |||
font-size: 0.8rem; | |||
} |
Version vom 30. Juni 2018, 22:40 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
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: 1.1rem;
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fff;
}
.clearfix:after {
content: ".";
clear: both;
display: block;
visibility: hidden;
height: 0px;
}
/* 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;
}
/* Scratchblocks */
code.blocks {
border: none;
margin: 0 4px;
padding: 0;
background-color: transparent;
vertical-align: middle;
}
pre.blocks {
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;
font-weight: 600;
}
.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;
}
/** Wrappers and boxes */
.wrapper, .box, .window, .drawer, .border {
margin-top: 0.5em;
margin-bottom: 0.5em;
padding: 8px;
border: 1px solid rgba(0, 0, 0, .25);
}
.wrapper {
}
.box {
background: #E9E9E9;
}
.window {
background: #E9E9E9;
border-top: 17px solid rgba(0,0,0,.25);
}
.drawer {
border-left: 9px solid rgba(0,0,0,.25);
}
.border {
border: 2px solid #212529;
background: rgba(0,0,0,0);
}
.border > :first-child,
.wrapper > :first-child,
.box > :first-child,
.window > :first-child,
.drawer > :first-child {
margin-top: 0;
padding-top: 0;
}
.border > :last-child,
.wrapper > :last-child,
.box > :last-child,
.window > :last-child,
.drawer > :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;*/
}
.solutionbox {
background-color: #f5f599;
/*border: 1px solid #d1d183;*/
}
.importantbox {
border-color: #ff593f;
}
.quote {
font-style: italic;
font-size: 0.85rem;
}
.quote-source {
font-style: normal !important;
font-size: 0.8rem;
}