Toggle menu
Toggle preferences menu
Toggle personal menu
Nejste přihlášen(a)
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Porovnání verzí

MediaWiki interface page
Bez shrnutí editace
Bez shrnutí editace
Řádek 1: Řádek 1:
/* Zlatý text (metalický) */
/* Do MediaWiki:Common.css (nebo Citizen.css) */
.gold-text {
.mw-parser-output .gold-text {
  /* ostrý vertikální přechod se záblesky */
   background: linear-gradient(
   background: linear-gradient(
     180deg,
     180deg,
Řádek 13: Řádek 12:
     #7a4b12 88%,
     #7a4b12 88%,
     #e6c469 100%
     #e6c469 100%
   );
   ) !important;


   -webkit-background-clip: text;
   -webkit-background-clip: text !important;
   background-clip: text;
   background-clip: text !important;
  color: transparent;                /* klíč k textovému gradientu */


   /* jemná plasticita */
   color: transparent !important;             /* pro většinu prohlížečů */
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
   -webkit-text-fill-color: transparent !important; /* Safari/Chromium */
}
 
/* Volitelné: trochu „lesku“ šikmým přechodem přes celý element */
.gold-text.shine {
   position: relative;
  display: inline-block;
}
.gold-text.shine::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    70deg,
    transparent 15%,
    rgba(255,255,255,.25) 25%,
    transparent 38%
  );
  mix-blend-mode: screen;             /* dodá highlight, ne vždy nutné */
  pointer-events: none;
}
}

Verze z 12. 10. 2025, 20:33

/* Do MediaWiki:Common.css (nebo Citizen.css) */
.mw-parser-output .gold-text {
  background: linear-gradient(
    180deg,
    #fff7d1 0%,
    #f4d98b 16%,
    #c9953a 28%,
    #ffe7a3 40%,
    #9e6a1f 52%,
    #f8e7b5 66%,
    #c88b35 78%,
    #7a4b12 88%,
    #e6c469 100%
  ) !important;

  -webkit-background-clip: text !important;
  background-clip: text !important;

  color: transparent !important;              /* pro většinu prohlížečů */
  -webkit-text-fill-color: transparent !important; /* Safari/Chromium */
}