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 92 mezilehlých verzí od stejného uživatele.)
Řádek 1: Řádek 1:
/* CENTRUM TITULKU (tvrdě) + zlaté pozadí */
@import url("/index.php?title=MediaWiki:PortableInfobox.css&action=raw&ctype=text/css");
.portable-infobox .pi-title{
 
   background: var(--pi-accent, #d4af37) !important;
.text-gold {
  color: #111 !important;
   background: linear-gradient(
   text-align: center !important;
    180deg,
   display: flex !important;
    #a0703a 0%,
   align-items: center !important;
    #a0703a 25%,
   justify-content: center !important;
    #ffcf5b 50%,
   padding: 12px 14px 10px !important;
    #a0703a 75%,
   border-bottom: 1px solid var(--pi-sep, rgba(0,0,0,.10)) !important;
    #a0703a 100%
   border-top-left-radius: 16px !important;
  ) !important;
   border-top-right-radius: 16px !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;


/* OBRÁZEK 100% na střed */
  filter:
.portable-infobox .pi-image,
    drop-shadow(0 1px 0 rgba(0,0,0,.35))
.portable-infobox .pi-image-collection{ text-align:center !important; background: transparent !important; }
    drop-shadow(0 3px 3px rgba(0,0,0,.35))
.portable-infobox .pi-image img{
    drop-shadow(0 6px 12px rgba(0,0,0,.25)) !important;
  display:block !important;
  margin: 0 auto !important;
  max-height: 320px;
  object-fit: contain;
  border-bottom: 1px solid var(--pi-sep, rgba(0,0,0,.10));
}
}


/* Dělítka a layout s popisky (2 sloupce label/value) */
.citizen-section > p {
.portable-infobox .pi-data{
   margin-top: 0 !important;
   display: grid !important;
   margin-bottom: 0 !important;
   grid-template-columns: 40% 60% !important;
   text-align: justify;
  gap: 6px 10px !important;
   text-justify: inter-word;
  padding: 8px 0 !important;
   hyphens: auto;
   border-top: none !important;
}
.portable-infobox .pi-data + .pi-data{
   border-top: 1px solid var(--pi-sep, rgba(0,0,0,.10)) !important;
}
.portable-infobox .pi-data-label{
  display: block !important;
   font-weight: 600 !important;
  opacity: .9;
}
}
.portable-infobox .pi-data-value{ word-break: break-word; }


/* Skupiny */
.mw-parser-output p.ve-ce-branchNode.ve-ce-contentBranchNode.ve-ce-paragraphNode {
.portable-infobox .pi-group{
   margin-top: 0 !important;
  background: var(--pi-soft, rgba(0,0,0,.035)) !important;
   margin-bottom: 0 !important;
  border-top: 1px solid var(--pi-sep, rgba(0,0,0,.10)) !important;
}
.portable-infobox .pi-group .pi-group-title{
   font-weight: 700 !important;
   margin: 6px 0 4px !important;
}
}


/* Zaoblení boxu a decentní stín */
.ve-ui-surface .ve-ce-documentNode p {
.portable-infobox{
   margin-top: 0 !important;
   border-radius: 16px !important;
   margin-bottom: 0 !important;
   box-shadow: 0 4px 18px rgba(0,0,0,.08);
  text-align: justify !important;
  text-justify: inter-word !important;
  hyphens: auto !important;
}
}


/* Dark přepínač přes prefers-color-scheme (pro jistotu) */
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 {
@media (prefers-color-scheme: dark){
    margin-top: 5px !important;
  .portable-infobox .pi-data + .pi-data{ border-top-color: rgba(255,255,255,.16) !important; }
  .portable-infobox .pi-group{
    background: rgba(255,255,255,.05) !important;
    border-top-color: rgba(255,255,255,.16) !important;
  }
  .portable-infobox .pi-image img{ border-bottom-color: rgba(255,255,255,.14) !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;
}