MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* Gor- | /* Gor-Wiki: gezielte Korrektur der Digitalanzeige (31.10.2026) | ||
* | * GANZ AN DAS ENDE von MediaWiki:Common.css setzen. | ||
* Vorlage:GorUhr | * Hebt die zu breite Regel auf, die [class*="digital"] und | ||
* [id*="digital"] mit Hintergrund + Rahmen versieht. | |||
* HTML und JavaScript von Vorlage:GorUhr bleiben unverändert. | |||
*/ | */ | ||
.gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital { | |||
.gor- | |||
.gor-clock- | |||
.gor-clock-wrapper > .gor-digital { | |||
display: grid !important; | display: grid !important; | ||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important; | grid-template-columns: repeat(3, minmax(0, 1fr)) !important; | ||
justify-items: stretch !important; | |||
align-items: center !important; | |||
gap: 0.45rem 0.55rem !important; | |||
box-sizing: border-box !important; | |||
width: min(100%, 320px) !important; | |||
width: | min-width: 0 !important; | ||
max-width: 100%; | max-width: 100% !important; | ||
height: auto !important; | |||
margin: 0; | margin: 0 auto !important; | ||
padding: 0.9rem 1rem; | padding: 0.9rem 1rem !important; | ||
border: 1px solid #d0bea4; | border: 1px solid #d0bea4 !important; | ||
border-radius: 8px; | border-radius: 8px !important; | ||
background: #faf6ee; | background: #faf6ee !important; | ||
box-shadow: none | box-shadow: none !important; | ||
font-variant-numeric: tabular-nums; | font-variant-numeric: tabular-nums; | ||
} | } | ||
/* | /* Wichtig: id="digitalAhn" usw. dürfen KEINE eigenen Rahmen erhalten. */ | ||
.gor-clock-wrapper > .gor-digital > span { | .gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital > span { | ||
display: block !important; | display: block !important; | ||
float: none !important; | |||
position: static !important; | |||
box-sizing: border-box !important; | |||
width: auto !important; | width: auto !important; | ||
min-width: 0 !important; | |||
max-width: none !important; | max-width: none !important; | ||
height: auto !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
| Zeile 120: | Zeile 42: | ||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
text-align: center; | text-align: center !important; | ||
line-height: 1.5; | line-height: 1.5 !important; | ||
white-space: nowrap !important; | white-space: nowrap !important; | ||
word-break: normal !important; | |||
overflow-wrap: normal !important; | overflow-wrap: normal !important; | ||
color: #44382d !important; | |||
font-size: 0.95rem !important; | |||
font-size: 0. | |||
} | } | ||
.gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital > .digital-label { | |||
.gor-clock-wrapper > .gor- | grid-column: 1 / -1 !important; | ||
margin-bottom: 0.15rem !important; | |||
font-size: 0.8rem !important; | |||
font-weight: 600 !important; | |||
margin: 0; | color: #705b45 !important; | ||
color: # | |||
} | } | ||
@media (max-width: | @media (max-width: 390px) { | ||
.gor-clock-wrapper .gor- | .gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital { | ||
gap: 0.3rem !important; | |||
padding: 0.75rem 0.45rem !important; | |||
} | } | ||
.gor-clock-wrapper > .gor-digital { | .gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital > span { | ||
font-size: 0.82rem !important; | |||
font-size: 0. | |||
} | } | ||
} | } | ||
Version vom 31. Oktober 2026, 08:57 Uhr
/* Gor-Wiki: gezielte Korrektur der Digitalanzeige (31.10.2026)
* GANZ AN DAS ENDE von MediaWiki:Common.css setzen.
* Hebt die zu breite Regel auf, die [class*="digital"] und
* [id*="digital"] mit Hintergrund + Rahmen versieht.
* HTML und JavaScript von Vorlage:GorUhr bleiben unverändert.
*/
.gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital {
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
justify-items: stretch !important;
align-items: center !important;
gap: 0.45rem 0.55rem !important;
box-sizing: border-box !important;
width: min(100%, 320px) !important;
min-width: 0 !important;
max-width: 100% !important;
height: auto !important;
margin: 0 auto !important;
padding: 0.9rem 1rem !important;
border: 1px solid #d0bea4 !important;
border-radius: 8px !important;
background: #faf6ee !important;
box-shadow: none !important;
font-variant-numeric: tabular-nums;
}
/* Wichtig: id="digitalAhn" usw. dürfen KEINE eigenen Rahmen erhalten. */
.gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital > span {
display: block !important;
float: none !important;
position: static !important;
box-sizing: border-box !important;
width: auto !important;
min-width: 0 !important;
max-width: none !important;
height: auto !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-radius: 0 !important;
background: transparent !important;
box-shadow: none !important;
text-align: center !important;
line-height: 1.5 !important;
white-space: nowrap !important;
word-break: normal !important;
overflow-wrap: normal !important;
color: #44382d !important;
font-size: 0.95rem !important;
}
.gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital > .digital-label {
grid-column: 1 / -1 !important;
margin-bottom: 0.15rem !important;
font-size: 0.8rem !important;
font-weight: 600 !important;
color: #705b45 !important;
}
@media (max-width: 390px) {
.gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital {
gap: 0.3rem !important;
padding: 0.75rem 0.45rem !important;
}
.gor-home .gor-clock-panel .gor-clock-wrapper > .gor-digital > span {
font-size: 0.82rem !important;
}
}