MediaWiki:Common.css: Porovnání verzí
Z Iurium Wiki
m (css pro hl. stranu) |
m (break-inside) |
||
(Není zobrazeno 16 mezilehlých verzí od stejného uživatele.) | |||
Řádek 9: | Řádek 9: | ||
body.page-Home div#catlinks { display: none; } | body.page-Home div#catlinks { display: none; } | ||
.mw-body { background-color:#ffffff;} | .mw-body { background-color:#ffffff;} | ||
− | . | + | .mainBox { |
float:left; | float:left; | ||
margin-bottom:30px; | margin-bottom:30px; | ||
max-width:600px; | max-width:600px; | ||
} | } | ||
− | . | + | .mainHeadBox { |
background-color: #4c5063; /* #FFBB05;*/ | background-color: #4c5063; /* #FFBB05;*/ | ||
color:#ffffff; | color:#ffffff; | ||
Řádek 24: | Řádek 24: | ||
border-radius: 5px; | border-radius: 5px; | ||
} | } | ||
− | . | + | .mainContentBox { |
background-color: #FFFFFF; | background-color: #FFFFFF; | ||
padding: 10px; | padding: 10px; | ||
} | } | ||
+ | |||
+ | #publikovano > a:link {color:#ffffff;} | ||
+ | #publikovano > a:visited {color:#ffffff;} | ||
+ | #publikovano > a:hover {color:#ffffff;} | ||
+ | #publikovano > a:active {color:#ffffff;} | ||
.mp_container_obory { | .mp_container_obory { | ||
Řádek 47: | Řádek 52: | ||
#oboryTitle li { | #oboryTitle li { | ||
padding-top: 0.4em; | padding-top: 0.4em; | ||
+ | text-align:center; | ||
+ | -webkit-column-break-inside: avoid; | ||
+ | page-break-inside: avoid; | ||
+ | break-inside: avoid; | ||
} | } | ||
Aktuální verze z 25. 10. 2018, 10:52
/* ====================== Common.css ========================== popis: zde uvedené styly budou ovlivňovat všechny skiny ============================================================ */ /* =================== HLAVNÍ STRANA ================ */ body.page-Home h1#firstHeading { display: none; } body.page-Home div#contentSub { display: none; } body.page-Home div#catlinks { display: none; } .mw-body { background-color:#ffffff;} .mainBox { float:left; margin-bottom:30px; max-width:600px; } .mainHeadBox { background-color: #4c5063; /* #FFBB05;*/ color:#ffffff; padding: 10px !important; font-size: 1.3rem; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; } .mainContentBox { background-color: #FFFFFF; padding: 10px; } #publikovano > a:link {color:#ffffff;} #publikovano > a:visited {color:#ffffff;} #publikovano > a:hover {color:#ffffff;} #publikovano > a:active {color:#ffffff;} .mp_container_obory { column-width: 14em; column-gap: 1em; } #oboryTitle { list-style-type: none; margin: 0; padding: 0; } #oboryTitle li:first-child { margin-top:0px; } #oboryTitle li { padding-top: 0.4em; text-align:center; -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; } /* ============================================================ PORTÁLY ============================================================ */ .otherHeadBox { padding: 4px !important; font-size: 110%; font-weight: bold; border-radius: 5px 5px 0 0; } .otherContentBox { border: 1px solid; padding: 7px; margin-bottom: 15px; border-radius: 0 0 5px 5px; } .portalMainBox { padding: 4px !important; font-size: 20pt; font-weight: bold; border-radius: 5px; } /* oddíly portálů */ .oddilPortalu { float: left; margin: 1rem 0.5rem; width: 31%; overflow-x: hidden; } @media (max-width: 600px) { .oddilPortalu { width: 100%; float: none; margin: 1rem 0; } }