MediaWiki:Common.css: Porovnání verzí
MediaWiki interface page
More actions
Bez shrnutí editace značka: ruční vrácení zpět |
Bez shrnutí editace |
||
| Řádek 12: | Řádek 12: | ||
background-clip: text !important; | background-clip: text !important; | ||
/* průhledná výplň, aby byl vidět gradient */ | |||
-webkit-text-fill-color: transparent !important; | |||
color: transparent !important; | color: transparent !important; | ||
display: inline-block !important; | display: inline-block !important; | ||
} | |||
/* WebKit/Chromium/Safari: čistý stroke */ | |||
@supports (-webkit-text-stroke: 1px #000) { | |||
.text-gold { | |||
-webkit-text-stroke: 1.2px #000 !important; | |||
text-shadow: none !important; /* zrušit fallback */ | |||
} | |||
} | |||
/* Firefox fallback: jen čtyři stíny – obrys bez vyplnění */ | |||
@supports not (-webkit-text-stroke: 1px #000) { | |||
.text-gold { | |||
text-shadow: | |||
1px 0 0 #000, | |||
-1px 0 0 #000, | |||
0 1px 0 #000, | |||
0 -1px 0 #000 !important; | |||
} | |||
} | } | ||
Verze z 12. 10. 2025, 20:49
.text-gold {
background: linear-gradient(
180deg,
#a0703a 0%,
#a0703a 25%,
#ffcf5b 50%,
#a0703a 75%,
#a0703a 100%
) !important;
-webkit-background-clip: text !important;
background-clip: text !important;
/* průhledná výplň, aby byl vidět gradient */
-webkit-text-fill-color: transparent !important;
color: transparent !important;
display: inline-block !important;
}
/* WebKit/Chromium/Safari: čistý stroke */
@supports (-webkit-text-stroke: 1px #000) {
.text-gold {
-webkit-text-stroke: 1.2px #000 !important;
text-shadow: none !important; /* zrušit fallback */
}
}
/* Firefox fallback: jen čtyři stíny – obrys bez vyplnění */
@supports not (-webkit-text-stroke: 1px #000) {
.text-gold {
text-shadow:
1px 0 0 #000,
-1px 0 0 #000,
0 1px 0 #000,
0 -1px 0 #000 !important;
}
}