MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Dornheim Anatomy
Becher (Diskussion | Beiträge) K |
Becher (Diskussion | Beiträge) K |
||
Zeile 54: | Zeile 54: | ||
/*margin-bottom: -3px;*/ | /*margin-bottom: -3px;*/ | ||
+ | } | ||
+ | |||
+ | .container { | ||
+ | padding:0; | ||
} | } | ||
Version vom 16. Juli 2020, 12:55 Uhr
/*Anpassungen Bildgrößen*/ *{ font-family: 'Istok Web', sans-serif; border: 0px; /*letter-spacing: 0.02em;*/ /*text-align: justify;*/ } h1{ font-size: 32px; color: #c8c6b5; padding: 0; text-decoration: none; height: auto; font-weight:normal; letter-spacing: 0.02em; line-height:130%; } .mw-body h1 { margin-top: 0; } .row { margin: 0 10px; } h2{ font-size: 22px; color: #000; /*font-weight: bold;*/ margin-top: 5px; /*margin-bottom: -3px;*/ } h3{ font-size: 20px; color: #000; /*font-weight: bold;*/ margin-top: 5px; /*margin-bottom: -3px;*/ } h4{ font-size: 18px; color: #000; /*font-weight: bold;*/ margin-top: 5px; /*margin-bottom: -3px;*/ } .container { padding:0; } /*table td, table th { border: #c8c6b5 solid 1px; }*/ img, video { max-width: 100%; max-height: 100%; } /* Anpassung Button Lightbox*/ .lb-nav a.lb-prev { background: url(/images/f/f1/Prev.png) left 48% no-repeat; } .lb-nav a.lb-next { background: url(/images/c/c4/Next.png) right 48% no-repeat; } /*Anpassungen segmenter Bildtoc box*/ .box { display: flex; background-color: #ddd7c0; border-bottom: #000 solid 1px; border-top: #000 solid 1px; flex-direction: row; justify-content: center; margin-bottom: 1em; margin-top: 1em; } .segmenter { padding: 5px; display: flex; justify-content: center; margin: 1em auto; } .segmenter iframe{ margin: auto; } .pic { padding: 5px 1em; display: flex; justify-content: center; margin: 1em auto; } .toc { margin-top: 5px; margin-bottom: 5px; max-width: 400px; } .toctext { max-width: 360px; } @media only screen and (max-width:770px) { .segmenter div { margin-top: 0; } .box { flex-direction: column; } } /* Tab list */ #tabpanel { margin-top: 15px; } #tablist { list-style: none; margin: 0; padding: 0; } #tablist li { background-color: #eee; border: 1px solid #c8ccd1; border-bottom: none; 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 #c8ccd1; margin-top: 10px; padding: 1em; } #tablist .active { background-color: #dbd8c4; } .hide { display: none; } .show { display: block; } .panel { display: flex; } .panel-item { width: 45%; } /* Anpassungen e-Bibliothek*/ .page-Paper #firstHeading { display: none; } .page-Paper .container { background-color: #f4f4f3; } .page-Medikamenteninduzierte_Ulcera .container, .page-The_German_national_consensus_on_wound_documentation_and_outcomes .container, .page-Der_deutsche_nationale_Konsens_über_Wunddokumentation_und_Wundresultate .container, .page-Medikamenteninduzierte_Ulcera_en .container { background-color: white; } .page-The_German_national_consensus_on_wound_documentation_and_outcomes #firstHeading { display: none; } .page-Der_deutsche_nationale_Konsens_über_Wunddokumentation_und_Wundresultate #firstHeading { display: none; } .paper .toc { background-color: transparent; border: none; } .paper .toctitle { display: none; } .paper ul { list-style: decimal } .information ul { list-style: none; } .paper #information { cursor: pointer; } .paper table { margin: 1em auto;} .paper table td { padding: 0 0.5em; } .article ul { list-style: disclosure-closed; } .title { font-size: 2.2rem; font-weight: 500; line-height: 1.2; overflow: hidden; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom: 1px solid #a2a9b1; } .paper h3 { border-bottom: 1px solid #a2a9b1; } /* Anpassungen ul*/ ul { text-align: left; } /* Anpassungen Sprachen*/ .mw-pt-languages { padding:15px 0 !important; } /* Anpassung Tabelle Aufgabe*/ .aufgabe td:nth-of-type(even) { padding-left: 10px; padding-top: 10px; } .aufgabe td:nth-of-type(odd) { box-shadow: inset 1px 3px 5px -3px rgba(0,0,0,0.5); } .aufgabe td:empty{ box-shadow: none; } .aufgabe { width: 100%; } .aufgabe .out { margin-top: 5px; } .hidden { display: none; } div.tright { display: flex; flex-direction: column; } /* Anpassung Tabelle Lage*/ .lage { width: 100%; } .lage td:nth-of-type(2) { box-shadow: 1px 0 gray; } .lage tr { box-shadow: 0 1px gray; } .lage td { padding: 1em; } .lage tr:first-child { background-color: #dbd8c4; } /* Anpassung Tabelle Tab*/ .tab td:nth-of-type(2) { box-shadow: 1px 0 gray; } .tab tr { box-shadow: 0 1px gray; } .tab tr:first-child { box-shadow: 0 2px #dbd8c4; } /* Anpassung Ende Artikel */ div .end { display: flex; justify-content: space-between; } div .end div { flex-basis: max-content; } /* Anpassung Tabellen nebeneinander*/ div .twotable { display: flex; justify-content: space-between; } div .twotable table { margin-top: 10px; } div .twotable table:nth-of-type(1) { margin-right: 10px; } div .twotable table th { background-color: #ddd7c0; } /* temporäres Ausschalten der Nav-bar*/ #mw-navigation { display: none; } /* Logo Anpassung*/ #p-logo a img { height: 50%; } /*.p-navbar .navbar-brand img { height: 1rem !important; }*/ /*CSS Anpassungen für die Hauptseite*/ .page-Hauptseite #firstHeading { display: none; } .page-Hauptseite_en #firstHeading { display: none; } .page-Live #firstHeading { display: none; } .page-Live_en #firstHeading { display: none; } .welcome h1, .welcome h2 { border-bottom: none; } .start { display: flex; flex-wrap: nowrap; justify-content: space-between; } .start h1, .start h2 { border-bottom: none; } .startbild { max-width: 25%; } .startbild img { max-height: 460px; } .start p { padding: 0; text-align: center; } .startsegmenter p iframe { height: 300px; width: 470px; } /*Anpassung PORTALE auf der Hauptseite*/ .portal { display: flex; flex-direction: row; justify-content: space-around; } .portal-item { border: #ccd0d0 solid 0.5px; background-color: #eee; width: 30%; } .live iframe { display: flex; } .live img { display: flex; } .lecture-item { width: max-content; border: solid 1px #a2a9b1; box-shadow: 2px 2px #7f8388; } /* weitere Anpassungen*/ /*body { background-image: url("images/b/be/Hintergrund4.png"); background-repeat: no-repeat; background-size: cover; }*/ .pfad { position: absolute; top: 0; } .aufgaben { display: flex; } .aufgaben .ex_item { width: 50%; background-color: #eee; margin: 20px; padding: 10px; border: #ccd0d0 solid 0.5px; } .ex_item img { height: 100px; width: 100px; } .ex_item p { margin: 1em 0; } .aufgaben .menu_item { width: 100%; background-color: #e8e1be; text-align: -moz-center; } .n-mainpage-description { display: none; } .mw-welcome-bar{ display: none !important; } .background-image p { padding: 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 { background-image: url("images/6/63/HauptseiteBildNeu.png"); background-repeat: no-repeat; background-size: contain;} *, ::before, ::after { box-sizing: unset; } .clearfix:after { content: ""; display: table; clear: both; } .p-navbar { background-color: #272e34; color: #c8c6b7 !important; padding: 1rem !important; } .p-navbar a:visited{ color: #c8c6b7 !important; } /* Anpassung Buttons */ .button { border: lightgray solid 2px; padding: 2px; border-radius: 2px; margin-left: 10px; box-shadow: 2px 2px lightgray; } .button_style { background-color: #e8e1be; } .button_new { border: none; background-color: #e8e1be; text-transform: uppercase; max-width: 100%; } /* vorherige Button-Farbe: #edece7 */ .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; } .button_normal { border: none; background-color: #e8e1be; text-transform: uppercase; max-width: 100%; font-weight: normal; display: block; } /* vorherige Button-Farbe: #edece7 */ .button_normal a:hover, .button_normal a:focus { text-decoration: none; border-bottom: 3px solid #a2a9b1; } .button_normal a[href].new:hover { text-decoration: none; border-bottom: 3px solid #a2a9b1; } .button_normal a:active { text-decoration: none; border-bottom: 1px solid #a2a9b1; } .nav-link { color: #010b15 !important; } .container-fluid { background-color: #272e34; color: #c8c6b7; } .clear { clear: both; } img, video { max-width: 100%; max-height: 100%; } .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; } .col { padding: 0; } .duo { background-color: #000; width: 50%; } /*Segmenter Anpassung*/ iframe img { width: 100%; height: 100%; } iframe body div.embedding-ovl.centered { width: 470px !important; } /*Inhaltsverzeichnis*/ /*.toc { float: left; margin-bottom:5%; margin-right:8%; margin-left:8%; }*/ /*.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; 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-pt-progress--complete, .mw-pt-progress--stub { background-image: unset; } .mw-pt-translate-header { color: #fff; border-bottom: none; } .mw-pt-translate-header:hover { color: #000; } .mw-pt-translate-header a{ color: #fff; } .mw-pt-translate-header a:hover{ color: #0a17db; } .mw-pt-translate-header span a[href].external{ color: #fff; } .mw-pt-translate-header span a[href].external:hover{ color: #0a17db; } /*Footer Area*/ #footer-icons { display: none !important; } .mb-2, .mt-4 { margin-top: 0 !important; margin-bottom: 0 !important; } .container-fluid { margin: 0; padding: 0; } .footer-places div a { padding: 0 0.5em; color: #ffffff; } .mb-2 .row:nth-of-type(2) { display: block; } .mb-2 .row { margin-left: 0; margin-right: 0; } .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child { width: 80%; } .mb-2 .p-navbar { padding: 0 !important; } .mb-2 .p-navbar.not-collapsible { justify-content: flex-end; } .mb-2 .nav-item .nav-link { color: #272e34 !important; } .mb-2 .nav-item .nav-link:active { color: #272e34 !important; } .mb-2 .nav-item .nav-link:hover { color: #000 !important; } #footer-info div { position: relative; margin: 0 auto; } .footer-places, .footer-info { margin: 0.5em; background-color: #272e34; } /*.footer-places { width: 70%; }*/ .footer-places div { margin: 0.5em auto; } /*Test responsiver Segmenter*/ iframe { max-width: 90%; } /*CSS Anpassungen responsives Design*/ .p-navbar .navbar-nav.right { margin-top: 0 !important; } .navbar-collapse { flex-direction: row !important; } /* Positioniereung Such-leiste */ .p-navbar .navbar-form { width: 60%; } .p-search { position: fixed; left: 19%; } /* Position Nav-Bar rechte Elemente*/ .p-navbar .navbar-nav.right { margin-top: 0 !important; position: fixed; right: 1%; } /*Banner-Bilder für Hauptseite*/ .banner-image{ width: 100%; height: auto; } .banner-image p { padding: 0; } .banner-image p img{ width: 100%; height: auto; } /* Dropdown Button */ .dropbtn { background-color: #f1f1f1; color: black; padding: 16px; font-size: 15px; border: none; text-transform: uppercase; } /* The container <div> - needed to position the dropdown content */ .dropdown { position: relative; display: inline-table; width: 22%; margin-bottom: 0.3em; } /* Dropdown Content (Hidden by Default) */ .dropdown-content { display: none; background-color: #f1f1f1; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } /* Links inside the dropdown */ .dropdown-content a { color: #0b0080; padding: 12px 16px; text-decoration: none; display: block; } /* Change color of dropdown links on hover */ .dropdown-content a:hover { background-color: d #a2a9b1; border-bottom: 3px solid #a2a9b1; } /* Show the dropdown menu on hover */ .dropdown:hover .dropdown-content { display: block; } /* Change the background color of the dropdown button when the dropdown content is shown */ .dropdown:hover .dropbtn { background-color:#e8e1be; border-bottom: 3px solid #a2a9b1; } /* RESPONSIVE 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; } } @media only screen and (max-width:768px) { .aufgaben { flex-direction: column; } .aufgaben .ex_item { margin: 10px 0; padding: 10px 0; width: 100%; } .startsegmenter p iframe { height: 250px; } } @media only screen and (max-width: 790px) { .live img { width: 400px; } } @media only screen and (max-width:520px) { .mw-pt-languages { font-size: small; bottom: 35px; } .welcome h1 { font-size: x-large; } } @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; } } @media only screen and (max-width:600px) { div .twotable { flex-direction: column; } .portal { flex-direction: column; } .portal-item { width: 100%; margin-bottom: 5px; } h1 { height: auto; } } @media (max-width:752px) { .navbar-collapse .navbar-nav.right { position: relative; justify-content: flex-start !important; } .navbar-collapse { flex-direction: row !important; } .navbar-nav.right { width: 100%; } .p-search { position: relative; left: 0%; } .startbild { display: none; } } @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; } .p-navbar a.navbar-more-tools, .p-navbar a.navbar-usernotloggedin, .p-navbar a.navbar-userloggedin, .p-navbar a.navbar-tool-link, .p-navbar a:visited.navbar-tool-link { color: #ffffff; } .p-navbar { padding: 0.5rem 1rem !important; } .form-control { height: unset; } .p-navbar .navbar-brand img { top: 0px; } .p-navbar .navbar-nav.right { align-items: center; } .p-navbar .navbar-form { width: 58%; } .btn, .p-search .searchGoButton, .p-search .mw-searchButton, .mw-special-Search #mw-search-toggleall, .mw-special-Search #mw-search-togglenone, .mw-special-Search #smw-togglensview { padding-top: 0px; padding-bottom: 0px; } }