Vorlage:MP/Header/styles.css: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| (8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
.home-header { |
.home-header { |
||
position: relative; |
position: relative; |
||
margin-top: |
margin-top: 0rem; |
||
margin-bottom: |
margin-bottom: -20px; |
||
padding-top: 1rem; |
padding-top: 1rem; |
||
line-height: 1.4; |
line-height: 1.4; |
||
| Zeile 11: | Zeile 11: | ||
.home-header:before { |
.home-header:before { |
||
content: ""; |
content: ""; |
||
position: |
position: fixed; |
||
top: |
top: 4.5rem; |
||
bottom: 4.75rem; |
bottom: 4.75rem; |
||
left: 0; |
left: 0; |
||
right: |
right: 75px; |
||
opacity: 1; |
opacity: 1; |
||
background-image: url(https://dragonballwiki.de/w/images/ |
background-image: url(https://dragonballwiki.de/w/images/9/92/DragonballWiki_Logo-200.png); |
||
background-repeat: no-repeat; |
background-repeat: no-repeat; |
||
background-position: right; |
background-position: right; |
||
pointer-events: none; |
pointer-events: none; |
||
z-index: 0; |
z-index: 0; |
||
height: 200px; |
|||
} |
} |
||
.home-header__pretitle { |
.home-header__pretitle { |
||
Aktuelle Version vom 5. November 2026, 21:44 Uhr
.home-header {
position: relative;
margin-top: 0rem;
margin-bottom: -20px;
padding-top: 1rem;
line-height: 1.4;
}
.z-index {
z-index: 1;
}
.home-header:before {
content: "";
position: fixed;
top: 4.5rem;
bottom: 4.75rem;
left: 0;
right: 75px;
opacity: 1;
background-image: url(https://dragonballwiki.de/w/images/9/92/DragonballWiki_Logo-200.png);
background-repeat: no-repeat;
background-position: right;
pointer-events: none;
z-index: 0;
height: 200px;
}
.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%;
}