Template:MainPage.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
} | } | ||
.news-headlines, .news-status, #mainpage-patch, #mainpage-pack { | |||
border-color: var(--border-color-base); | border-color: var(--border-color-base); | ||
border-style: solid; | border-style: solid; | ||
| Line 13: | Line 13: | ||
} | } | ||
.news-headlines, .news-status { | |||
padding-left: 0.5em; | padding-left: 0.5em; | ||
padding-right: 0.5em; | padding-right: 0.5em; | ||
| Line 77: | Line 77: | ||
} | } | ||
.news-headlines > ul { | |||
list-style: none; | list-style: none; | ||
margin: 0; | margin: 0; | ||
| Line 85: | Line 85: | ||
} | } | ||
.news-headlines > ul > li { | |||
list-style: none; | list-style: none; | ||
margin: 0; | margin: 0; | ||
| Line 96: | Line 96: | ||
.news-headlines > ul > li > ul { | |||
list-style: none; | list-style: none; | ||
margin: 0; | margin: 0; | ||
Revision as of 06:37, 18 October 2025
#mainpage {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto;
row-gap: 1em;
column-gap: 1em;
}
.news-headlines, .news-status, #mainpage-patch, #mainpage-pack {
border-color: var(--border-color-base);
border-style: solid;
border-width: 1px;
}
.news-headlines, .news-status {
padding-left: 0.5em;
padding-right: 0.5em;
}
#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;
border-top-right-radius: 1em;
border-bottom-right-radius: 1em;
display: flex;
flex-direction: column;
gap: .5em;
}
.news-status ul {
padding-top: .5em;
padding-left: .5em;
padding-right: 0.5em;
list-style: none;
font-size: .9em;
display: flex;
row-gap: .5em;
margin: 0;
flex-wrap: wrap;
justify-content: space-between;
}
.news-headlines > ul {
list-style: none;
margin: 0;
display: flex;
flex-direction: column;
gap: .5em;
}
.news-headlines > ul > li {
list-style: none;
margin: 0;
font-size: .9em;
display: flex;
flex-direction: column;
align-items: center;
line-height: 1.5em;
}
.news-headlines > ul > li > ul {
list-style: none;
margin: 0;
font-size: .9em;
display: flex;
flex-direction: column;
line-height: 1.5em;
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;
box-shadow: 0 0 3px 1px var(--color-surface-4);
}
#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;
}