Update assets/style.css
This commit is contained in:
parent
e5dc79f7b2
commit
45a2e0aff9
1 changed files with 7 additions and 24 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
/* Public Domain - Radioplayer Stylesheet */
|
/* Public Domain - Radioplayer Stylesheet */
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
|
@ -476,36 +477,18 @@ footer a:hover {
|
||||||
|
|
||||||
/* --- MOBILE OPTIMIERUNG (Komplett bereinigt) --- */
|
/* --- MOBILE OPTIMIERUNG (Komplett bereinigt) --- */
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
:root {
|
|
||||||
--header-height: 85px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#aktueller-sender {
|
#aktueller-sender {
|
||||||
height: 38px;
|
|
||||||
line-height: 38px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-start;
|
justify-content: center; /* Standard: Zentriert */
|
||||||
padding: 0 10px; /* Etwas weniger Padding auf schmalen Handys */
|
}
|
||||||
|
|
||||||
|
/* Diese Klasse wird per JS hinzugefügt, wenn der Text zu lang ist */
|
||||||
|
#aktueller-sender.has-marquee {
|
||||||
|
justify-content: flex-start !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#current-station-name {
|
#current-station-name {
|
||||||
font-size: 1rem !important;
|
transition: none !important; /* Erzwingt Ruhe beim Umschalten */
|
||||||
font-weight: 600;
|
|
||||||
display: inline-block;
|
|
||||||
/* Verhindert, dass der Text vor der Animation springt */
|
|
||||||
transform: translateX(0);
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.marquee-active {
|
|
||||||
font-size: 0.90rem !important;
|
|
||||||
/* Die Animation muss zwingend bei 0 starten */
|
|
||||||
animation: marquee-pause 15s linear infinite;
|
|
||||||
padding-right: 50px; /* Puffer am Ende des Textes */
|
|
||||||
}
|
|
||||||
|
|
||||||
.share-row, .json-row {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue