Template:Main page/sandbox style.css: Difference between revisions
Jump to navigation
Jump to search
(Nested list font weights and header tweaks) |
(Padding tweaks to account for content box header) |
||
Line 1: | Line 1: | ||
#main-page-elin > ul { | #main-page-elin>ul { | ||
column-count: 2; | |||
column-fill: balance; | |||
} | } | ||
.main-page-content-box ul { | |||
margin: 0 0 0 1em; | |||
} | |||
.main-page-content-box ul li { | .main-page-content-box ul li { | ||
break-inside: avoid-column; | |||
list-style: none; | |||
font-weight: bold; | |||
} | } | ||
.main-page-content-box ul li li { | .main-page-content-box ul li li { | ||
font-weight: normal; | |||
} | } | ||
.main-page-content-box { | .main-page-content-box { | ||
background: #F8EDE3; | |||
margin: 0 1em 1em 0; | |||
padding: 0 16px; | |||
border: 2px solid #DFD3C3; | |||
border-radius: 5px; | |||
} | } | ||
#main-page-nav { | #main-page-nav { | ||
display: flex; | |||
justify-content: flex-start; | |||
align-items: stretch; | |||
flex-wrap: wrap | |||
} | } | ||
.main-page-content-box > h2 { | |||
.main-page-content-box>h2 { | |||
border-bottom: 2px solid #DFD3C3; | |||
margin: 0 -16px; | |||
padding: 2px 1em; | |||
background-color: #FCA; | |||
} | } | ||
.main-page-content-box > h3 { | |||
.main-page-content-box>h3 { | |||
padding-left: 1em; | |||
} | } |
Revision as of 00:49, 18 July 2024
#main-page-elin>ul {
column-count: 2;
column-fill: balance;
}
.main-page-content-box ul {
margin: 0 0 0 1em;
}
.main-page-content-box ul li {
break-inside: avoid-column;
list-style: none;
font-weight: bold;
}
.main-page-content-box ul li li {
font-weight: normal;
}
.main-page-content-box {
background: #F8EDE3;
margin: 0 1em 1em 0;
padding: 0 16px;
border: 2px solid #DFD3C3;
border-radius: 5px;
}
#main-page-nav {
display: flex;
justify-content: flex-start;
align-items: stretch;
flex-wrap: wrap
}
.main-page-content-box>h2 {
border-bottom: 2px solid #DFD3C3;
margin: 0 -16px;
padding: 2px 1em;
background-color: #FCA;
}
.main-page-content-box>h3 {
padding-left: 1em;
}