MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 2: | Zeile 2: | ||
/* Grid "Zentrale Hinhalte" */ | /* Grid "Zentrale Hinhalte" */ | ||
.hs-inhalte | .hs-inhalte { | ||
display:grid; | display:grid; | ||
grid-template-columns: repeat(1, 1fr); | grid-template-columns: repeat(1, 1fr); | ||
Zeile 27: | Zeile 27: | ||
} | } | ||
.hs-inhalte-item { | .hs-inhalte-item:hover { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-top: 5px solid #266684; | border-top: 5px solid #266684; |
Version vom 3. Mai 2021, 16:04 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:hover { border: 1px solid #aaa; border-top: 5px solid #266684; margin-top: 20px; } .hs-inhalte-item-image, .hs-inhalte-item-body { padding:0.2em 0.4em; } .hs-inhalte-item-header { text-align:left; border-bottom:1px solid #aaa; font-weight: bold; line-height: 1.5; font-family:inherit; padding:0.4em; padding-left: 20px; height: 150px; }