MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Dornheim Anatomy
Wechseln zu:Navigation, Suche
K (Sprache)
K (Sprache)
Zeile 562: Zeile 562:
 
color: #fff;
 
color: #fff;
 
border-bottom: none;
 
border-bottom: none;
 +
}
 +
 +
.mw-pt-translate-header:hover {
 +
color: #000;
 
}
 
}
  

Version vom 27. Mai 2020, 07:20 Uhr

/*Anpassungen Bildgrößen*/
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;
}

/* 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: #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;
}

/*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%;
}


/* 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;
}

.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 h1 {
border: none;
font-size: xxx-large;
font-weight: bold;
font-family: initial;
margin-top: 0;
}

.welcome {
background-image: url(https://dornheim-anatomy.com/images/e/ef/TitelAnatomie.png);
background-repeat: no-repeat;
background-size: contain;}

*, ::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 
}

/* 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;
}
/* 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;
}
.nav-link {
color: #010b15 !important;
}


.container-fluid {
background-color: #C2BFAD;
color: #010b15;
}

.container {
width: 90%;
}

.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;
}

.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: #000;
}

.mw-pt-translate-header span a[href].external{
color: #fff;
}

.mw-pt-translate-header span a[href].external:hover{
color: #000;
}


/*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;
}

.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: #c2bfad !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;
}

/*.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;
}

@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: 1200px) {
  .mw-pt-languages {
    margin-left: 1em;
  }
  .mw-pt-translate-header {
    margin-left: 1em;
    margin-right: 1em;
  }
}

@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;
   }
}

@media only screen and (max-width:600px) {
  div .twotable {
    flex-direction: column;
   }
}

@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;
}
}