MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Dornheim Anatomy
Becher (Diskussion | Beiträge) K (Language menu, Button) |
Becher (Diskussion | Beiträge) K (Formatierung) |
||
Zeile 46: | Zeile 46: | ||
.toc { | .toc { | ||
float: left | float: left | ||
+ | } | ||
+ | |||
+ | h2 { | ||
+ | clear: both; | ||
} | } | ||
Version vom 21. Februar 2020, 10:19 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ .mw-welcome-bar{ display: none !important; } *, ::before, ::after { box-sizing: unset; } .clearfix:after { content: ""; display: table; clear: both; } .p-navbar { background-color: #C2BFAD; color: #010b15 !important; padding: 1rem !important; } .nav-link { color: #010b15 !important; } .container-fluid { background-color: #C2BFAD; color: #010b15; } .clear { clear: both; } img, video { max-width: 100%; height: auto; } #footer-icons { display: none !important; } /*Inhaltsverzeichnis*/ .toc { float: left } h2 { clear: both; } .prev { float: right; max-width: 30%; } /* language-menu*/ .mw-pt-languages-label { display: none; } .mw-pt-languages { background-color: transparent; border: none; float: left; max-width: 50%; } .mw-pt-progress--complete { background-image: unset; } /* Button*/ .mw-ui-button { margin-top: 0.5em; } /*Test responsiver Segmenter*/ iframe { max-width: 90%; } /*CSS Anpassungen für die Hauptseite*/ .page-Hauptseite #firstHeading { display: none; } /*CSS Anpassungen reponsives Design*/ .p-navbar .navbar-nav.right { margin-top: 0 !important; } .navbar-collapse { flex-direction: row !important; } @media (min-width:752px) { .navbar-expand-cmln, .p-navbar.collapsible { flex-flow:row nowrap; justify-content:flex-end; } .navbar-expand-cmln .navbar-nav, .p-navbar.collapsible .navbar-nav { flex-direction:row; } .navbar-expand-cmln .navbar-nav .dropdown-menu, .p-navbar.collapsible .navbar-nav .dropdown-menu { position:absolute; } .navbar-expand-cmln .navbar-nav .nav-link, .p-navbar.collapsible .navbar-nav .nav-link, .p-navbar.collapsible .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .p-navbar.collapsible .navbar-nav .navbar-tool > a, .navbar-expand-cmln .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .navbar-expand-cmln .navbar-nav .navbar-tool > a { padding-right:1rem; padding-left:1rem; } .navbar-expand-cmln > .container, .p-navbar.collapsible > .container, .navbar-expand-cmln > .container-fluid, .p-navbar.collapsible > .container-fluid { flex-wrap:nowrap; } .navbar-expand-cmln .navbar-collapse, .p-navbar.collapsible .navbar-collapse { display:flex !important; flex-basis:auto; } .navbar-collapse, .p-navbar.collapsible .navbar-collapse { flex-direction: row !important; } .navbar-expand-cmln .navbar-toggler, .p-navbar.collapsible .navbar-toggler { display:none !important; } .p-navbar { align-content: flex-end !important; } } /* Logo Anpassung*/ .p-navbar .navbar-brand img { height: 1rem !important; } /*Anpassung Sprachumstellbox*/ .mw-pt-languages { margin-bottom: 1em !important; }