translated comments in css
This commit is contained in:
1 parent
0891a60beb
commit
2c5e95ce7f
1 file changed
+28
-28
+28
-28
@@ -18,8 +18,8 @@ body {
|
||||
}
|
||||
|
||||
/*
|
||||
* Fixe Navbar überlappt den Kartenanfang – 80px
|
||||
* Freiraum halten (alle Modi, auch Portrait).
|
||||
* The fixed navbar overlaps the top of the card – keep
|
||||
* 80px of clearance (all modes, including portrait).
|
||||
*/
|
||||
.container {
|
||||
display: flex;
|
||||
@@ -70,14 +70,14 @@ body {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* Hamburger: nur im Phone-Portrait sichtbar.
|
||||
* "button.nav-toggle" ist spezifischer als ".button",
|
||||
* sonst überschreibt display: inline-block diese Regel. */
|
||||
/* Hamburger: only visible on phone portrait.
|
||||
* "button.nav-toggle" is more specific than ".button",
|
||||
* otherwise display: inline-block overrides this rule. */
|
||||
button.nav-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Enger als der globale 6px-Margin der Buttons */
|
||||
/* Tighter than the global 6px button margin */
|
||||
.navbar .button {
|
||||
margin: 0;
|
||||
}
|
||||
@@ -270,9 +270,9 @@ button, .button {
|
||||
}
|
||||
|
||||
/*
|
||||
* scrollIntoView() richtet das Ziel am Viewport-Rand
|
||||
* aus, wo die fixe Navbar liegt. scroll-margin-top hält
|
||||
* das Ziel unter der Navbar frei.
|
||||
* scrollIntoView() aligns the target with the viewport
|
||||
* edge, where the fixed navbar sits. scroll-margin-top
|
||||
* keeps the target clear below the navbar.
|
||||
*/
|
||||
.adhoc-result,
|
||||
.success-message {
|
||||
@@ -295,8 +295,8 @@ button, .button {
|
||||
}
|
||||
|
||||
/*
|
||||
* Verhindert abgeschnittene Inhalte, wenn die Karte
|
||||
* höher als der Viewport ist ("center" schneidet oben ab).
|
||||
* Prevents clipped content when the card is taller
|
||||
* than the viewport ("center" clips at the top).
|
||||
*/
|
||||
@supports (align-items: safe center) {
|
||||
body {
|
||||
@@ -304,7 +304,7 @@ button, .button {
|
||||
}
|
||||
}
|
||||
|
||||
/* Sehr schmale Telefone: noch kompakter */
|
||||
/* Very narrow phones: even more compact */
|
||||
@media (max-width: 400px) {
|
||||
.navbar {
|
||||
left: 2%;
|
||||
@@ -328,22 +328,22 @@ button, .button {
|
||||
}
|
||||
|
||||
/*
|
||||
* Phone: Navbar-Aktionen in beiden Ausrichtungen
|
||||
* hinter dem Hamburger-Button als Dropdown anzeigen.
|
||||
* Phone: show the navbar actions in both orientations
|
||||
* as a dropdown behind the hamburger button.
|
||||
*
|
||||
* Landscape-Phone: Viewport breiter als 600px – kurze
|
||||
* Seite (Höhe) und Touch-Eingabe entscheiden.
|
||||
* Landscape phone: viewport wider than 600px – short
|
||||
* side (height) and touch input decide.
|
||||
*/
|
||||
@media (max-width: 600px),
|
||||
(orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
|
||||
body {
|
||||
/*
|
||||
* Padding statt margin-bottom an der Karte:
|
||||
* Ränder am Scroll-Ende werden vom Scrollbereich
|
||||
* nicht erfasst, Padding schon.
|
||||
* Padding instead of margin-bottom on the card:
|
||||
* margins at the scroll end are not covered by the
|
||||
* scroll area, padding is.
|
||||
*/
|
||||
padding-bottom: 10px;
|
||||
/* 10px unten abziehen */
|
||||
/* Subtract the 10px bottom padding */
|
||||
min-height: calc(100vh - 10px);
|
||||
}
|
||||
|
||||
@@ -367,7 +367,7 @@ button, .button {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* Navbar ist hier flacher als am Desktop */
|
||||
/* Navbar is flatter here than on the desktop */
|
||||
.adhoc-result,
|
||||
.success-message {
|
||||
scroll-margin-top: 80px;
|
||||
@@ -377,8 +377,8 @@ button, .button {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
/* ".navbar .button" setzt margin: 0 – deshalb
|
||||
* höher spezifisch ans Ziel: Button nach rechts */
|
||||
/* ".navbar .button" sets margin: 0 – hence target
|
||||
* more specifically: push the button to the right */
|
||||
.navbar .nav-toggle {
|
||||
margin-left: auto;
|
||||
}
|
||||
@@ -402,12 +402,12 @@ button, .button {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* Alle Panel-Buttons gleich breit, Text zentriert */
|
||||
/* All panel buttons equally wide, text centered */
|
||||
.nav-actions .button {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Sprach-Button liegt im .lang-menu-Wrapper */
|
||||
/* Language button sits inside the .lang-menu wrapper */
|
||||
.nav-actions .lang-menu .button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
@@ -426,9 +426,9 @@ button, .button {
|
||||
}
|
||||
|
||||
/*
|
||||
* Dark-Theme über die Klasse "dark" am html-Element.
|
||||
* JS setzt sie anhand der gespeicherten Wahl oder der
|
||||
* System-Einstellung (siehe detectTheme).
|
||||
* Dark theme via the "dark" class on the html element.
|
||||
* JS sets it based on the saved choice or the system
|
||||
* setting (see detectTheme).
|
||||
*/
|
||||
:root.dark body {
|
||||
background: #181818;
|
||||
|
||||
Reference in new issue
Block a user