MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde geleert.) Markierung: Geleert |
|||
Zeile 1: | Zeile 1: | ||
/* Grid "Zentrale Hinhalte" */ | |||
.hs-inhalte { | |||
display:grid; | |||
grid-template-columns: repeat(1, 1fr); | |||
gap:1em; | |||
} | |||
@media only screen and (min-width:680px) { | |||
.hs-inhalte { | |||
grid-template-columns:repeat(2,1fr); | |||
} | |||
} | |||
@media only screen and (min-width:980px) { | |||
.hs-inhalte { | |||
grid-template-columns:repeat(4,1fr); | |||
} | |||
} | |||
@media only screen and (min-width:1980px) { | |||
.hs-inhalte { | |||
grid-template-columns:repeat(8,1fr); | |||
} | |||
} | |||
.hs-inhalte-item { | |||
border: 1px solid #aaa; | |||
border-top: 5px solid #606876; | |||
} | |||
.hs-inhalte-item.werke { | |||
border-top-color: #1d4e38; | |||
} | |||
.hs-inhalte-item.verfasserin { | |||
border-top-color:#9534a3; | |||
} | |||
.hs-inhalte-item.personen { | |||
border-top-color: #c97600; | |||
} | |||
.hs-inhalte-item.geographie { | |||
border-top-color: #266684; | |||
} | |||
.hs-inhalte-item.auffaelligkeiten { | |||
border-top-color: #4a1b24; | |||
} | |||
.hs-inhalte-item.schlagworte { | |||
border-top-color: #577c4f; | |||
} | |||
.hs-inhalte-item.datierungen { | |||
border-top-color: #1c1e72; | |||
} | |||
.hs-inhalte-item.abfassungsregionen { | |||
border-top-color: #665851; | |||
} | |||
.hs-inhalte-item-image, .hs-inhalte-item-body { | |||
padding:0.2em 0.4em; | |||
} | |||
.hs-inhalte-item-header { | |||
text-align:center; | |||
border-bottom:1px solid #aaa; | |||
font-weight: bold; | |||
line-height: 1.5; | |||
font-family:inherit; | |||
padding:0.4em; | |||
} | |||
.hs-inhalte-item-image { | |||
text-align:center; | |||
height:108px; | |||
} |
Version vom 3. Mai 2021, 13:32 Uhr
/* Grid "Zentrale Hinhalte" */ .hs-inhalte { display:grid; grid-template-columns: repeat(1, 1fr); gap:1em; } @media only screen and (min-width:680px) { .hs-inhalte { grid-template-columns:repeat(2,1fr); } } @media only screen and (min-width:980px) { .hs-inhalte { grid-template-columns:repeat(4,1fr); } } @media only screen and (min-width:1980px) { .hs-inhalte { grid-template-columns:repeat(8,1fr); } } .hs-inhalte-item { border: 1px solid #aaa; border-top: 5px solid #606876; } .hs-inhalte-item.werke { border-top-color: #1d4e38; } .hs-inhalte-item.verfasserin { border-top-color:#9534a3; } .hs-inhalte-item.personen { border-top-color: #c97600; } .hs-inhalte-item.geographie { border-top-color: #266684; } .hs-inhalte-item.auffaelligkeiten { border-top-color: #4a1b24; } .hs-inhalte-item.schlagworte { border-top-color: #577c4f; } .hs-inhalte-item.datierungen { border-top-color: #1c1e72; } .hs-inhalte-item.abfassungsregionen { border-top-color: #665851; } .hs-inhalte-item-image, .hs-inhalte-item-body { padding:0.2em 0.4em; } .hs-inhalte-item-header { text-align:center; border-bottom:1px solid #aaa; font-weight: bold; line-height: 1.5; font-family:inherit; padding:0.4em; } .hs-inhalte-item-image { text-align:center; height:108px; }