MediaWiki:Common.css: Porovnání verzí
Z Iurium Wiki
m (margin) |
m (break-inside) |
||
Řádek 35: | Řádek 35: | ||
.mp_container_obory { | .mp_container_obory { | ||
− | |||
column-width: 14em; | column-width: 14em; | ||
− | column-gap: 1em; | + | column-gap: 1em; |
} | } | ||
Řádek 53: | Řádek 52: | ||
#oboryTitle li { | #oboryTitle li { | ||
padding-top: 0.4em; | padding-top: 0.4em; | ||
− | + | break-inside: avoid-column; | |
text-align:center; | text-align:center; | ||
} | } |
Verze z 25. 10. 2018, 10:42
/* ====================== 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; break-inside: avoid-column; text-align:center; } /* ============================================================ 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; } }