MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Dornheim Anatomy
Becher (Diskussion | Beiträge) K (Inhaltsverzeichnis) |
Becher (Diskussion | Beiträge) K (footer area) |
||
Zeile 126: | Zeile 126: | ||
.mb-2 .nav-item { | .mb-2 .nav-item { | ||
+ | position: absolute; | ||
+ | right: 50px; | ||
+ | } | ||
+ | |||
+ | .mb-2 .col { | ||
+ | min-width: 100%; | ||
+ | } | ||
+ | |||
+ | #footer-info div { | ||
position: absolute; | position: absolute; | ||
right: 50px; | right: 50px; |
Version vom 28. Februar 2020, 13:57 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ /* temporäres Ausschalten der Nav-bar*/ #mw-navigation { display: none; } .n-mainpage-description { display: none; } .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; } .p-navbar a:visited{ color: #000 } .button_new { border-top: none; } .nav-link { color: #010b15 !important; } .container-fluid { background-color: #C2BFAD; color: #010b15; } .clear { clear: both; } img, video { max-width: 100%; height: auto; } .navbar-tools-more-tools a { color: #000; } .navbar-tools a { color: #000; } .p-search { position: absolute; left: 45%; } .form-control { padding-top: 0.1em; padding-bottom: 0.1em; } /*Inhaltsverzeichnis*/ .toc { float: left } .inhaltsvz .toc { float: right; } h2, h4 { clear: both; } .prev { float: right; max-width: 30%; } /* language-menu*/ .mw-pt-languages-label { display: none; } .mw-pt-languages { background-color: transparent; border: none; position: absolute; bottom: -65px; z-index: 100; } .mw-pt-progress--complete { background-image: unset; } .mw-pt-translate-header { position: absolute; bottom: 0; border-bottom: none } /*Footer Area*/ #footer-icons { display: none !important; } .mb-2, .mt-4 { margin-top: 0 !important; margin-bottom: 0 !important; } .mb-2 .nav-item { position: absolute; right: 50px; } .mb-2 .col { min-width: 100%; } #footer-info div { position: absolute; right: 50px; } /* 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 responsives 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; }