Template:Main page/sandbox style.css: Difference between revisions

From Ylvapedia
Jump to navigation Jump to search
(Padding tweaks to account for content box header)
(Tighten up list columns)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
column-count: 2;
column-count: 2;
column-fill: balance;
column-fill: balance;
column-gap: 0;
}
}


Line 21: Line 22:
background: #F8EDE3;
background: #F8EDE3;
margin: 0 1em 1em 0;
margin: 0 1em 1em 0;
padding: 0 16px;
padding: 0 16px .5em 16px;
border: 2px solid #DFD3C3;
border: 2px solid #DFD3C3;
border-radius: 5px;
border-radius: 5px;
Line 35: Line 36:
.main-page-content-box>h2 {
.main-page-content-box>h2 {
border-bottom: 2px solid #DFD3C3;
border-bottom: 2px solid #DFD3C3;
margin: 0 -16px;
margin: 0 -16px .5em -16px;
padding: 2px 1em;
padding: 2px 1em;
background-color: #FCA;
background-color: #FCA;
Line 41: Line 42:


.main-page-content-box>h3 {
.main-page-content-box>h3 {
padding-left: 1em;
margin: 0;
padding: 0;
}
 
.mw-editsection {
display: none;
}
}

Latest revision as of 01:10, 18 July 2024

#main-page-elin>ul {
	column-count: 2;
	column-fill: balance;
	column-gap: 0;
}

.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 .5em 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 .5em -16px;
	padding: 2px 1em;
	background-color: #FCA;
}

.main-page-content-box>h3 {
	margin: 0;
	padding: 0;
}

.mw-editsection {
	display: none;
}