Template:Main page/header/styles.css: Difference between revisions
Template page
More actions
No edit summary Tag: Reverted |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
.tg-mainpage-header { | .tg-mainpage-header { | ||
position: relative; | position: relative; | ||
margin-top: -2rem; | margin-top: -2rem; | ||
| Line 21: | Line 20: | ||
position: relative; | position: relative; | ||
margin-top: 2.5rem; | margin-top: 2.5rem; | ||
width: | width: 640px; | ||
max-width: 100%; | max-width: 100%; | ||
padding-top: 0.75rem; | padding-top: 0.75rem; | ||
Latest revision as of 12:51, 17 January 2026
.tg-mainpage-header {
position: relative;
margin-top: -2rem;
margin-bottom: -4rem;
padding-top: 6rem;
padding-bottom: 6rem;
clear: both;
overflow: hidden; /* Prevent circular inscription from affecting element size */
}
.tg-mainpage-content {
align-items: center;
display: flex;
flex-direction: column;
text-align: center;
}
/* Temp styles until we have wordmark */
.tg-mainpage-header-wordmark {
position: relative;
margin-top: 2.5rem;
width: 640px;
max-width: 100%;
padding-top: 0.75rem;
}
.tg-mainpage-header-wordmark img {
width: 100%;
height: 100%;
}
.tg-mainpage-header-tagline {
margin-top: -0.25rem;
color: black;
font-size: 12px;
line-height: 1;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}