Template:Main Page Infoblocks/Styles.css: Difference between revisions
Jump to navigation
Jump to search
PhantomCaleb (talk | contribs) No edit summary |
PhantomCaleb (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
margin-top: 1.5rem; | margin-top: 1.5rem; | ||
max-width: 125rem; | |||
} | } | ||
.infoblock { | .infoblock, .niwa-nav { | ||
background-color: #17568c; | background-color: #17568c; | ||
border-radius: 0.5rem; | border-radius: 0.5rem; | ||
flex: 1 | flex: 1 1 30rem; | ||
margin: 0.5rem; | margin: 0.5rem; | ||
padding: 1.5rem; | padding: 1.5rem; | ||
text-align: left; | text-align: left; | ||
} | |||
.niwa-nav { | |||
flex-basis: 100%; | |||
} | } | ||
Line 49: | Line 53: | ||
flex-grow: 1; | flex-grow: 1; | ||
text-align: center; | text-align: center; | ||
} | } |
Latest revision as of 02:44, 28 October 2022
/* [[Category:Template Styles]] */
.infoblock-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 1.5rem;
max-width: 125rem;
}
.infoblock, .niwa-nav {
background-color: #17568c;
border-radius: 0.5rem;
flex: 1 1 30rem;
margin: 0.5rem;
padding: 1.5rem;
text-align: left;
}
.niwa-nav {
flex-basis: 100%;
}
.infoblock-header {
font-size: 2.5rem;
font-weight: 800;
letter-spacing: 1px;
line-height: 1em;
padding-top: 0.25rem;
padding-bottom: 1.25rem;
text-transform: uppercase;
}
.infoblock-body {
display: flex;
}
.infoblock-title {
display: flex;
column-gap: 0.25rem;
align-items: center;
font-weight: 900;
font-size: 1.25rem;
}
.otd-refresh-button {
font-size: 0.875rem;
font-weight: normal;
}
.infoblock-image {
flex-grow: 1;
text-align: center;
}