Vorlage:MP/Header/styles.css
Aus DragonballWiki
Weitere Optionen
.home-header {
position: relative;
margin-top: -1rem;
margin-bottom: 10px;
padding-top: 1rem;
line-height: 1.4;
}
.z-index {
z-index: 1;
}
.home-header:before {
content: "";
position: absolute;
top: 1rem;
bottom: 4.75rem;
left: 0;
right: 0;
opacity: 1;
background-image: url(https://static.wikitide.net/outlasterwiki/b/b3/OUT_W_Logo.svg);
background-repeat: no-repeat;
background-position: right;
pointer-events: none;
z-index: 0;
}
.home-header__pretitle {
margin-bottom: var( --space-xs );
color: var( --color-subtle );
font-size: 0.875rem;
font-style: italic;
font-weight: 600;
letter-spacing: 0.05em;
}
.home-header__pretitle img {
margin-bottom: 4px;
}
.home-header__title {
margin: 0;
font-size: 3rem;
margin-top: -0.15em;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.01em;
line-height: 1;
}
.home-header__subtitle {
margin-top: var( --space-xs );
font-size: 0.975rem;
width: 90%;
}
@media screen and (max-width: 1119px) {
.home-header__subtitle {
width: 85%;
}
}
@media screen and (max-width: 720px) {
.home-header__subtitle {
width: 100%;
}
.home-header__pretitle, .home-header__title, .home-header__subtitle {
text-align: center;
}
}
@media screen and (max-width: 720px) {
.home-header:before {
background-image: none !important;
}
}
.text-flex {
display: flex;
flex-direction: row;
width: 100%;
justify-content: space-between !important;
}
.right-text {
text-align: right;
margin-right: -0.30em;
}
.un {
display: inline-block;
}
.un::after {
content: '';
width: 0px;
height: 1px;
display: block;
background: var(--color-base);
transition: 300ms;
}
.un:hover::after {
width: 100%;
}