MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Dornheim Anatomy
Wechseln zu:Navigation, Suche
K
K
Zeile 128: Zeile 128:
 
div .twotable table:nth-of-type(1) {
 
div .twotable table:nth-of-type(1) {
 
margin-right: 10px;
 
margin-right: 10px;
 +
}
 +
 +
div .twotable table td:nth-of-type(1) {
 +
background-color: #ddd7c0;
 
}
 
}
  

Version vom 6. April 2020, 13:54 Uhr

/* 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 ul*/

ul {
text-align: left;
}

/* Anpassungen Sprachen*/
.mw-pt-languages {
padding:15px 0 !important;
}


/* Anpassung Buttons */
.button {
border: lightgray solid 2px;
padding: 2px;
border-radius: 2px;
margin-left: 10px;
box-shadow: 2px 2px lightgray;
}

.button_new {
text-transform: uppercase;
}


/* 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 td:nth-of-type(1) {
background-color: #ddd7c0;
}


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