MediaWiki:Common.css: Porovnání verzí
Z Iurium Wiki
m (display) |
m (break-inside) |
||
Řádek 43: | Řádek 43: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
+ | -webkit-column-break-inside: avoid; /* Chrome, Safari */ | ||
+ | page-break-inside: avoid; /* Theoretically FF 20+ */ | ||
+ | break-inside: avoid-column; /* IE 11 */ | ||
+ | display:table; /* Actually FF 20+ */ | ||
} | } | ||
Řádek 52: | Řádek 56: | ||
#oboryTitle li { | #oboryTitle li { | ||
padding-top: 0.4em; | padding-top: 0.4em; | ||
− | |||
text-align:center; | text-align:center; | ||
} | } |
Verze z 25. 10. 2018, 10:46
/* ====================== 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; -webkit-column-break-inside: avoid; /* Chrome, Safari */ page-break-inside: avoid; /* Theoretically FF 20+ */ break-inside: avoid-column; /* IE 11 */ display:table; /* Actually FF 20+ */ } #oboryTitle li:first-child { margin-top:0px; } #oboryTitle li { padding-top: 0.4em; 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; } }