MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus kvwmap
Zeile 45: | Zeile 45: | ||
} | } | ||
− | #start- | + | #start-block-1, #start-block-2, #start-huebschesbild, #start-logo { |
position: relative; | position: relative; | ||
} | } | ||
Zeile 62: | Zeile 62: | ||
} | } | ||
− | #start- | + | #start-block-1, #start-block-2, #start-huebschesbild, #start-logo { |
position: relative; | position: relative; | ||
display: flex; | display: flex; | ||
Zeile 69: | Zeile 69: | ||
} | } | ||
− | #start- | + | #start-block-1, #start-block-2 { |
box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; | box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; | ||
} | } | ||
Zeile 78: | Zeile 78: | ||
} | } | ||
− | #start- | + | #start-block-1 { |
order: 2; | order: 2; | ||
width: 50%; | width: 50%; | ||
} | } | ||
− | #start- | + | #start-block-2 { |
order: 3; | order: 3; | ||
width: 50%; | width: 50%; | ||
Zeile 98: | Zeile 98: | ||
@media only screen and (min-width: 1000px) { | @media only screen and (min-width: 1000px) { | ||
− | #start- | + | #start-block-1, #start-block-2, #start-huebschesbild, #start-logo { |
position: absolute; | position: absolute; | ||
} | } | ||
− | #start- | + | #start-block-1 { |
left: 30%; | left: 30%; | ||
top: 5%; | top: 5%; | ||
Zeile 108: | Zeile 108: | ||
} | } | ||
− | #start- | + | #start-block-2 { |
left: 82%; | left: 82%; | ||
top: 45%; | top: 45%; | ||
Zeile 136: | Zeile 136: | ||
} | } | ||
− | #start- | + | #start-block-2 { |
left: 82%; | left: 82%; | ||
top: 45%; | top: 45%; | ||
Zeile 143: | Zeile 143: | ||
} | } | ||
− | .start- | + | .start-block-1, .start-block-2, .start-logo { |
width: 250px; | width: 250px; | ||
height: fit-content; | height: fit-content; | ||
} | } | ||
− | .start- | + | .start-block-1, .start-block-2 { |
} | } | ||
− | .start- | + | .start-block-1, .start-block-2 { |
padding: 0.5em 1em; | padding: 0.5em 1em; | ||
} | } |
Version vom 30. Oktober 2023, 10:40 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ .noautonum .tocnumber { display: none; } .portlet h3 { font-size: 106%; } .portlet ul { line-height: 1.5em; font-size: 106%; } img.halfwidth { width: 100%; height: auto; } div#mw-panel.collapsible-nav { position: fixed; } body.page-kvwmap_-_Open_Source_WebGIS #firstHeading { display: none; } body.page-kvwmap_-_Open_Source_WebGIS .mw-content-ltr > p { display: none; } div#p-namespaces.vectorTabs { display: none; } /* -------------- Startseite -------------- */ .start-wrapper { position: relative; width: 100%; height: 100vh; margin: 0; padding: 0; font-size: 1.3em; } #start-block-1, #start-block-2, #start-huebschesbild, #start-logo { position: relative; } /* Max. Breite 1000 px */ @media only screen and (max-width: 1000px) { .start-wrapper { height: 100%; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 1em; } #start-block-1, #start-block-2, #start-huebschesbild, #start-logo { position: relative; display: flex; flex-direction: row; justify-content: center; } #start-block-1, #start-block-2 { box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; } #start-logo { order: 1; width: 100%; } #start-block-1 { order: 2; width: 50%; } #start-block-2 { order: 3; width: 50%; } #start-huebschesbild { order: 4; width: 50%; } } /* Min. Breite 1000 px */ @media only screen and (min-width: 1000px) { #start-block-1, #start-block-2, #start-huebschesbild, #start-logo { position: absolute; } #start-block-1 { left: 30%; top: 5%; transform: translate(-50%,0%); } #start-block-2 { left: 82%; top: 45%; transform: translate(-50%,0%); } #start-huebschesbild { left: 60%; top: 15%; transform: translate(-50%,0%); } #start-logo { left: 27%; top: 50%; transform: translate(-50%,0%); } } /* Min. Breite 1400 px */ @media only screen and (min-width: 1400px) { #start-logo { left: 30%; top: 60%; } #start-block-2 { left: 82%; top: 45%; } } .start-block-1, .start-block-2, .start-logo { width: 250px; height: fit-content; } .start-block-1, .start-block-2 { } .start-block-1, .start-block-2 { padding: 0.5em 1em; } #start-huebschesbild img { width: 60%; height: auto; border: 10px solid #3976aa; border-radius: 100%; background: #eef7fb; } /* -------------- Startseite Ende -------------- */