Template:Main page/styles.css: Difference between revisions

From Ylvapedia
Jump to navigation Jump to search
(Adding styling for the Latest Changes box)
(h2 standardization)
Line 38: Line 38:
}
}


.main-page-content-box>h2 {
.main-page-content-box>h2,
#main-page-latest-changes>h2 {
font-size: 16pt;
border-bottom: 1px solid #CB9E6F;
border-bottom: 1px solid #CB9E6F;
margin: 0 -16px .5em -16px;
margin: 0 -16px .5em -16px;
padding: 2px 1em;
padding: 3px 0 0 1em;
}
}


Line 52: Line 54:
display: none;
display: none;
}
}
#main-page-latest-changes {
#main-page-latest-changes {
padding: 1em;
padding: 0 16px .5em 16px;
max-width: 1280px;
max-width: 1280px;
min-height: 650px;
min-height: 650px;
}
}

Revision as of 20:04, 21 July 2024

@media screen and (max-width: 1200px) {
	#main-page-nav>div {
		flex-grow: 1;
	}
}

#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 {
	margin-bottom: 1em;
	padding: 0 16px .5em 16px;
}

#main-page-nav {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1em;
}

.main-page-content-box>h2,
#main-page-latest-changes>h2 {
	font-size: 16pt;
	border-bottom: 1px solid #CB9E6F;
	margin: 0 -16px .5em -16px;
	padding: 3px 0 0 1em;
}

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

.mw-editsection {
	display: none;
}

#main-page-latest-changes {
	padding: 0 16px .5em 16px;
	max-width: 1280px;
	min-height: 650px;
}