Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MainPage.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 144: Line 144:
background-size: auto 108%;
background-size: auto 108%;
background-position: right -30px bottom -15px;
background-position: right -30px bottom -15px;
background-clip: padding-box;
box-shadow: 0 0 3px 1px var(--color-surface-4);
box-shadow: 0 0 3px 1px var(--color-surface-4);

Revision as of 07:43, 18 October 2025

#mainpage {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	row-gap: 1em;
	column-gap: 1em;
}

.box-title {
	background-color: var(--color-destructive);
	padding-left: .25em;
	padding-right: .25em;
	color: var(--color-surface-0);
	font-weight: bold;
	font-size: .9em;
	line-height: 1.5;
	position: absolute;
	font-family: serif;
}

#mainpage a {
	color: blue;
}

.news-headlines, .news-status, #mainpage-patch, #mainpage-pack {
	border-color: var(--border-color-base);
	border-style: solid;
	border-width: 1px;
}

.news-headlines ul, .news-status ul {
	padding-left: 0.25em;
	padding-right: 0.25em;
	margin-top: 1.5em;
}

.news-status {
	border-top-right-radius: 1em;
}

.news-headlines {
	border-bottom-right-radius: 1em;
}

#mainpage-header {
	grid-column: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.patch-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
}

.patch-header img {
	width: 100%;
	height: auto;
	margin-left: -10px;
}

.patch-current {
	font-size: .9em;
}

#mainpage-search {
	width: 12em;
	max-width: 12em;
	background: red;
}

#mainpage-new {
	display: grid;
	grid-template-columns: 1fr 1fr 0.5fr;
	column-gap: 1em;
}

#mainpage-news {
	grid-column: 3 / 4;
	display: flex;
	flex-direction: column;
	gap: .5em;
}

.news-status ul {
	list-style: none;
	font-size: .9em;
	display: flex;
	row-gap: .5em;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	flex-wrap: wrap;
	justify-content: space-between;
}

.news-headlines {
	height: 100%;
}

.news-headlines > ul {
	list-style: none;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.news-headlines > ul > li {
	list-style: none;
	margin: 0;
	font-size: .9em;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.2em;
}


.news-headlines > ul > li > ul {
	list-style: none;
	margin: 0;
	font-size: .9em;
	line-height: 1.2em;
	align-self: flex-start;
}

#mainpage-patch {

	border-top-left-radius: 1em;
	border-bottom-left-radius: 1em;
	
	grid-column: 1 / 3;

	background-color: #F8F4EB;
	background-image: url(https://phialfantasy.wiki/images/1/1c/Promise_of_tomorrow_bg.jpg);
	background-repeat: no-repeat;
	background-size: auto 108%;
	background-position: right -30px bottom -15px;
	background-clip: padding-box;
	
	box-shadow: 0 0 3px 1px var(--color-surface-4);
	
	position: relative;
	
}

.patch-title {
	right: 0;
}

#mainpage-patch-links {
	display: flex;
	flex-direction: column;
	text-shadow: 0 0 3px rgb(248, 244, 235), 0 0 3px rgb(248, 244, 235), 0 0 3px rgb(248, 244, 235), 0 0 3px rgb(248, 244, 235);
}

#mainpage-pack {
	grid-column: 1;
}

#mainpage-portals {
	grid-column: 1;
}