MediaWiki:Timeless.css: Unterschied zwischen den Versionen
Aus Dornheim Anatomy
Becher (Diskussion | Beiträge) |
Becher (Diskussion | Beiträge) |
||
Zeile 311: | Zeile 311: | ||
/* Rahmen der Bilder-Galerie */ | /* Rahmen der Bilder-Galerie */ | ||
+ | |||
+ | div.tright { | ||
+ | display: flex; | ||
+ | flex-direction: column; | ||
+ | } | ||
.tright{ | .tright{ |
Aktuelle Version vom 25. März 2020, 13:20 Uhr
/* CSS placed here will affect users of the Timeless skin */ /* Tab list */ #tabpanel { margin-top: 15px; } #tablist { list-style: none; margin: 0; padding: 0; } #tablist li { background-color: lightgrey; border: 1px solid black; border-bottom: none; border-radius: 0.5em 0.5em 0 0; display: inline; font-weight: bold; height: 1em; padding: 0.5em 0.5em 10px; } #tablist li:focus, #tablist li:hover { background-color: white; } #tabcontent { background-color: white; border: 1px solid black; margin-top: 10px; padding: 1em; } #tablist .active { background-color: green; } .hide { display: none; } .show { display: block; } /*CSS Anpassungen für die Hauptseite*/ .page-Hauptseite #firstHeading { display: none; } #mw-content-container { background-color: #f4efd8; } /* 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; position: relative; bottom: 20px; z-index: 100; border: none; display: flex; padding: 0; margin: 0; } .mw-pt-languages-list { display: block; padding: 0; margin: 0; } #mw-header-container { background-color: #ddd7c0; } .mw-pt-progress--complete, .mw-pt-progress--stub { background-image: unset; } .mw-pt-translate-header { position: absolute; bottom: 0; color: #000; border-bottom: none; z-index: 100; } /* Button*/ .button_new { border: none; background-color: transparent; text-transform: uppercase; } .button_new a:hover, .button_new a:focus { text-decoration: none; border-bottom: 3px solid #a2a9b1; } .button_new a[href].new:hover { text-decoration: none; border-bottom: 3px solid #a2a9b1; } .button_new a:active { text-decoration: none; border-bottom: 1px solid #a2a9b1; } /*Background-Image*/ body { background-image: url("images/b/be/Hintergrund4.png"); background-repeat: no-repeat; background-size: cover; } /*Inhaltsverzeichnis*/ .toc { float: left; } .inhaltsvz .toc { float: right; } h2, h4 { clear: both; } .prev { float: right; max-width: 30%; } /*Segmenter Anpassung*/ iframe img { width: 100%; height: 100%; } iframe body div.embedding-ovl.centered { width: 470px !important; } /*weitere Anpassungen*/ #mw-footer-container { color: #000; } #mw-footer-container a { color: #000; } .duo { width: 50%; } .pfad { position: absolute; top: 0; } .gallery a { height: 72px; width: 72px; float: left; margin: 1px; background-color: #fff; border: 1px solid #c8ccd1; display: flex; } .gallery a img { max-height: 100%; display: block; margin: auto; } .gallery p img{ display: block; margin: auto; max-width:72px; max-height:72px; } p { padding: 0 0.5em; text-align: justify; margin: 0.4em 0 0.5em 0; } /* Hauptbild Galerie */ } .picture a img { max-height: 100%; display: block; margin: auto; } .picture p img { display: block; margin: auto; max-width: 300px; max-height: 300px; } /*.welcome h1 { border: none; font-size: xxx-large; font-weight: bold; } .welcome { background-color: #ddd7c0; }*/ *, ::before, ::after { box-sizing: unset; } .clearfix:after { content: ""; display: table; clear: both; } .clear { clear: both; } img, video { max-width: 100%; height: auto; } /*Test responsiver Segmenter*/ iframe { max-width: 90%; } /*CSS Anpassungen responsives Design*/ @media only screen and (max-width: 1200px) { .mw-pt-languages { margin-left: 1em; } .mw-pt-translate-header { margin-left: 1em; margin-right: 1em; } } @media only screen and (max-width:760px) { .duo { width: 100%; } .welcome h1 { font-size: xx-large; padding: 0 0.5em; } } @media only screen and (max-width:520px) { .mw-pt-languages { font-size: small; bottom: 35px; } .welcome h1 { font-size: x-large; padding: 0.5em 0.5em 0 0.5em; } } @media only screen and (max-width:420px) { .footer-places { width: 100%; flex-direction: column; } .footer-places div { margin: 0 auto; } .mb-2 .nav-item { bottom: -20px; } } /* Rahmen der Bilder-Galerie */ div.tright { display: flex; flex-direction: column; } .tright{ clear: right; float: right; margin: 0 0 0.5em 0.5em; } .thumbinner { background: #fcfcfc; border: solid #eeeeee; border-width: 1px 1px 0.2em; box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02); padding: 0em; margin-left: 1em; margin-right: auto; }