Szablon:Nagłówek hasła roku/style.css
Wygląd
.tpl--rok .NavHead,
.tpl--rok .NavContent,
.tpl--rok .wikitable,
.tpl--rok.NavFrame {
box-sizing: border-box;
}
.tpl--rok .wikitable {
width: 100%;
border-collapse: collapse;
font-size: 92%;
text-align: center;
margin: 0;
}
.tpl--rok .wikitable tbody {
background: #fcfcfc;
}
.tpl--rok .NavHead {
padding: .2em;
height: auto;
background-color: transparent;
color: black;
font-weight: bold;
display: flex;
gap: .5em;
}
.tpl--rok .NavToggle {
position: unset;
}
/* modern browser */
@supports (display: flow-root) {
.tpl--rok.collapsed .NavContent {
display:none;
}
}
/* largeish browser */
@media screen and (min-width: 550px) {
.tpl--rok.NavFrame {
float: right;
width: 260px;
margin: 0 0 1em 1em;
}
.tpl--rok .NavHead {
justify-content: flex-end;
}
}
/* nawigacja po latach i stuleciach + TOC */
.tpl--rok-nawi {
margin-bottom: 3em;
}
.tpl--rok-nawi--lata {
text-align: center;
border-bottom: 1px solid grey;
display: flow-root;
}
.tpl--rok-nawi--toc {
display: inline-block;
margin-top: 2em;
margin-bottom: -1em;
}
/* obsługa braku toc (v'22) */
body.skin-vector-2022 .tpl--rok-nawi--toc {
display: none;
}
/* lista władców (druga kolumna) */
@supports (grid-template-columns: 1fr) {
.wladcy--lista {
word-wrap: normal;
}
.wladcy--lista ul,
.wladcy--lista li {
list-style:none;
margin:0;
padding:0;
width: 100%;
box-sizing: border-box;
}
.wladcy--lista li {
display: grid;
grid-template-columns: 1fr 3fr 1fr;
text-align: center;
align-items: center;
}
.wladcy--lista li+li {
border-top: 1px dotted gray;
}
}
/* kalendarz (gregoriański) */
.wladcy--kalend {
margin-top: 1em;
}
.wladcy--head {
font-weight: bold;
margin: .5em 0;
}