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
 
(Není zobrazeno 27 mezilehlých verzí od stejného uživatele.)
Řádek 1: Řádek 1:
/* Dejte do MediaWiki:Common.css nebo Citizen.css */
@import url("/index.php?title=MediaWiki:PortableInfobox.css&action=raw&ctype=text/css");
.skin-citizen .mw-parser-output .gold-text.bo,
 
.skin-citizen .mw-parser-output h1.gold-text.bo,
.text-gold {
.skin-citizen .mw-parser-output h2.gold-text.bo,
.skin-citizen .mw-parser-output h3.gold-text.bo {
  /* samotný zlatý přechod */
   background: linear-gradient(
   background: linear-gradient(
     180deg,
     180deg,
     #fff7d1 0%,
     #a0703a 0%,
     #f7e9b4 6%,
     #a0703a 25%,
     #d9a84a 12%,
     #ffcf5b 50%,
     #b07a22 18%,
     #a0703a 75%,
     #f6e2a3 22%,
     #a0703a 100%
    #8a5a18 28%,
    #3e2509 34%,
    #efcc7c 41%,
    #fff2c4 46%,
    #c28b32 52%,
    #7b4e15 58%,
    #f0d489 66%,
    #ffd88b 72%,
    #b97e28 81%,
    #6a4011 88%,
    #e2bb66 94%,
    #3b240b 100%
   ) !important;
   ) !important;


   -webkit-background-clip: text !important;
   -webkit-background-clip: text !important;
   background-clip: text !important;
   background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;


   /* klíčové – “zrušit” barvu textu, ať je vidět gradient */
   display: inline !important;
   color: transparent !important;
  white-space: normal !important;
   -webkit-text-fill-color: transparent !important;
 
  -webkit-box-decoration-break: clone !important;
  box-decoration-break: clone !important;
 
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,.35))
    drop-shadow(0 3px 3px rgba(0,0,0,.35))
    drop-shadow(0 6px 12px rgba(0,0,0,.25)) !important;
}
 
.citizen-section > p {
   margin-top: 0 !important;
   margin-bottom: 0 !important;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
 
.mw-parser-output p.ve-ce-branchNode.ve-ce-contentBranchNode.ve-ce-paragraphNode {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


   /* volitelné: mírný reliéf */
.ve-ui-surface .ve-ce-documentNode p {
   text-shadow:
  margin-top: 0 !important;
    0 1px 0 rgba(255,255,255,.25),
   margin-bottom: 0 !important;
    0 -1px 0 rgba(0,0,0,.35),
   text-align: justify !important;
    0 2px 6px rgba(0,0,0,.30) !important;
  text-justify: inter-word !important;
  hyphens: auto !important;
}


  /* kdyby Citizen dával display:block a dělalo to neplechu */
p:not(.mw-empty-elt) + ul,p:not(.mw-empty-elt) + ol,p:not(.mw-empty-elt) + table,p:not(.mw-empty-elt) + dl,p:not(.mw-empty-elt) + blockquote {
  display: inline-block !important;
    margin-top: 5px !important;
}
}

Aktuální verze z 14. 10. 2025, 11:54

@import url("/index.php?title=MediaWiki:PortableInfobox.css&action=raw&ctype=text/css");

.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;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;

  display: inline !important;
  white-space: normal !important;

  -webkit-box-decoration-break: clone !important;
  box-decoration-break: clone !important;

  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,.35))
    drop-shadow(0 3px 3px rgba(0,0,0,.35))
    drop-shadow(0 6px 12px rgba(0,0,0,.25)) !important;
}

.citizen-section > p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.mw-parser-output p.ve-ce-branchNode.ve-ce-contentBranchNode.ve-ce-paragraphNode {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ve-ui-surface .ve-ce-documentNode p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  hyphens: auto !important;
}

p:not(.mw-empty-elt) + ul,p:not(.mw-empty-elt) + ol,p:not(.mw-empty-elt) + table,p:not(.mw-empty-elt) + dl,p:not(.mw-empty-elt) + blockquote {
    margin-top: 5px !important;
}