MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Dornheim Anatomy
Becher (Diskussion | Beiträge) K |
Becher (Diskussion | Beiträge) K |
||
Zeile 104: | Zeile 104: | ||
/* language-menu*/ | /* language-menu*/ | ||
.mw-pt-languages-label { | .mw-pt-languages-label { | ||
− | background-color: | + | background-color: transparent; |
display: block; | display: block; | ||
− | width: | + | width: auto; |
text-align: left; | text-align: left; | ||
padding: 0; | padding: 0; | ||
margin: 0; | margin: 0; | ||
+ | padding-right: 0.5em; | ||
} | } | ||
Zeile 115: | Zeile 116: | ||
background-color: transparent; | background-color: transparent; | ||
border: none; | border: none; | ||
− | position: | + | position: relative; |
− | bottom: | + | bottom: 0; |
z-index: 100; | z-index: 100; | ||
display: flex; | display: flex; | ||
Zeile 149: | Zeile 150: | ||
margin-top: 0 !important; | margin-top: 0 !important; | ||
margin-bottom: 0 !important; | margin-bottom: 0 !important; | ||
+ | } | ||
+ | |||
+ | .mb-2 .row:nth-of-type(2) { | ||
+ | display: block; | ||
} | } | ||
Version vom 3. März 2020, 09:35 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; } /*Segmenter Anpassung*/ iframe img { width: 100%; height: 100%; } iframe body div.embedding-ovl.centered { width: 470px !important; } /*Inhaltsverzeichnis*/ .toc { float: left; } .inhaltsvz .toc { float: right; } h2, h4 { clear: both; } .prev { float: right; max-width: 30%; } /* language-menu*/ .mw-pt-languages-label { background-color: transparent; display: block; width: auto; text-align: left; padding: 0; margin: 0; padding-right: 0.5em; } .mw-pt-languages { background-color: transparent; border: none; position: relative; bottom: 0; z-index: 100; display: flex; padding: 0; margin: 0; } .mw-pt-languages-list { display: block; padding: 0; margin: 0; } .mw-pt-progress--complete, .mw-pt-progress--stub { background-image: unset; } .mw-pt-translate-header { position: absolute; bottom: -55px; border-bottom: none; z-index: 100; } /*Footer Area*/ #footer-icons { display: none !important; } .mb-2, .mt-4 { margin-top: 0 !important; margin-bottom: 0 !important; } .mb-2 .row:nth-of-type(2) { display: block; } .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child { width: 80%; } .mb-2 .nav-item .nav-link { color: #c2bfad !important; } .mb-2 .nav-item .nav-link:hover { color: #000 !important; } #footer-info div { position: absolute; right: 70px; bottom: 0; } .footer-places, .footer-info { margin-top: 0.5em; } .footer-places { width: 70%; margin: 0 auto; } .footer-places div { margin: 1.5em auto; } /* 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; }