Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Gor-Uhr – konsolidiertes Pergamentdesign
* Vollständiger Ersatz für ALLE bisherigen Uhr-Regeln in MediaWiki:Common.css.
* Vorlage:GorUhr und das JavaScript bleiben unverändert.
*/
/* Gemeinsames Layout: Uhr, Digitalanzeige und Ahn-Info untereinander */
.gor-clock-wrapper {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-items: center;
justify-content: flex-start;
gap: 0.8rem;
margin: 0.85rem 0 0.65rem;
text-align: center;
color: #3b3128;
}
/* Analoges Zifferblatt */
.gor-clock-wrapper .gor-clock {
position: relative;
box-sizing: border-box;
flex: 0 0 auto;
width: 270px;
height: 270px;
max-width: 100%;
border: 5px solid #66533f;
border-radius: 50%;
background: radial-gradient(circle at 35% 30%, #fbf7ef 0%, #f2e9d8 75%, #e8dcc6 100%);
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), 0 3px 8px rgba(52,38,24,0.13);
}
/* Zeiger: Position und transform-origin nicht verändern, damit JS-Rotation passt */
.gor-clock-wrapper .hand {
position: absolute;
left: 50%;
top: 50%;
transform-origin: 50% 100%;
transform: translate(-50%, -100%) rotate(0deg);
border-radius: 5px;
}
.gor-clock-wrapper .hand-ahn {
width: 6px;
height: 30%;
background: #44372b;
}
.gor-clock-wrapper .hand-ehn {
width: 4px;
height: 40%;
background: #665647;
}
.gor-clock-wrapper .hand-ihn {
width: 2px;
height: 45%;
background: #a65244;
}
.gor-clock-wrapper .center-dot {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 14px;
height: 14px;
box-sizing: content-box;
border: 2px solid #fbf7ef;
border-radius: 50%;
background: #44372b;
box-shadow: 0 0 2px rgba(0,0,0,0.25);
}
.gor-clock-wrapper .gor-number {
position: absolute;
width: 2em;
text-align: center;
font-size: 0.78rem;
color: #483e33;
transform: translate(-50%, -50%);
pointer-events: none;
}
.gor-clock-wrapper .gor-number-inner {
font-size: 0.65rem;
color: #907963;
}
/* Digitalanzeige: EINE Box mit dreispaltigem Raster */
.gor-clock-wrapper > .gor-digital {
box-sizing: border-box;
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
align-items: center;
justify-items: stretch;
column-gap: 0.5rem;
row-gap: 0.45rem;
flex: none;
width: 320px;
max-width: 100%;
min-width: 0;
margin: 0;
padding: 0.9rem 1rem;
border: 1px solid #d0bea4;
border-radius: 8px;
background: #faf6ee;
box-shadow: none;
color: #44382d;
font-size: 0.95rem;
font-variant-numeric: tabular-nums;
}
/* Verhindert die schmalen, ineinander geschachtelten Spalten aus alten Regeln */
.gor-clock-wrapper > .gor-digital > span {
box-sizing: border-box;
display: block !important;
flex: none !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-radius: 0 !important;
background: transparent !important;
box-shadow: none !important;
text-align: center;
line-height: 1.5;
white-space: nowrap !important;
overflow-wrap: normal !important;
word-break: normal !important;
}
.gor-clock-wrapper > .gor-digital > .digital-label {
grid-column: 1 / -1;
color: #705b45;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.035em;
margin-bottom: 0.1rem !important;
}
/* Ahn-Hinweis separat unter der Digitalbox */
.gor-clock-wrapper > .gor-info {
flex: none;
width: 100%;
min-width: 0;
margin: 0;
padding: 0;
border: 0;
color: #7b6b59;
font-size: 0.8rem;
text-align: center;
}
@media (max-width: 380px) {
.gor-clock-wrapper .gor-clock {
width: 240px;
height: 240px;
}
.gor-clock-wrapper > .gor-digital {
width: 100%;
padding: 0.75rem 0.5rem;
column-gap: 0.25rem;
font-size: 0.85rem;
}
}