MediaWiki:Citizen.css: Unterschied zwischen den Versionen
MediaWiki-Schnittstellenseite
Weitere Optionen
Kevkus (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Kevkus (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
.mainpage-hero { | /* Onos Main Page */ | ||
min-height: | |||
padding: | .onos-mainpage { | ||
margin: -1.5rem -1rem 0; | |||
} | |||
.onos-hero { | |||
position: relative; | |||
min-height: 520px; | |||
padding: 6rem 2rem 2rem; | |||
overflow: hidden; | |||
background: | |||
radial-gradient(circle at center, rgba(255, 210, 90, 0.10), transparent 28rem), | |||
linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.92)), | |||
url('/images/onos-hero.jpg') center / cover no-repeat; | |||
border-radius: 0 0 24px 24px; | |||
} | |||
.onos-hero::before { | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
background: | |||
linear-gradient(to bottom, rgba(8,10,16,0.25), rgba(8,10,16,0.95)), | |||
radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.55) 80%); | |||
pointer-events: none; | |||
} | |||
.onos-hero__content { | |||
position: relative; | |||
z-index: 1; | |||
text-align: center; | text-align: center; | ||
margin-bottom: 4rem; | |||
} | } | ||
. | .onos-hero__title { | ||
font-size: | color: #fff; | ||
font-weight: | font-size: clamp(3rem, 7vw, 5.5rem); | ||
line-height: 1; | |||
font-weight: 900; | |||
letter-spacing: -0.04em; | |||
text-shadow: 0 4px 20px rgba(0,0,0,0.8); | |||
} | } | ||
. | .onos-hero__subtitle { | ||
color: # | margin-top: 1.2rem; | ||
color: #ffd45c; | |||
font-size: 1.05rem; | |||
font-weight: 700; | |||
text-shadow: 0 2px 8px rgba(0,0,0,0.9); | |||
} | } | ||
. | .onos-search-button { | ||
display: inline- | display: inline-flex; | ||
margin-top: | align-items: center; | ||
background: # | gap: 0.7rem; | ||
margin-top: 2rem; | |||
padding: 0.95rem 2.3rem; | |||
border-radius: 999px; | |||
background: linear-gradient(180deg, #ffd969, #e8b940); | |||
color: #111; | color: #111; | ||
font-weight: 800; | |||
font-weight: | |||
cursor: pointer; | cursor: pointer; | ||
transition: transform 0. | box-shadow: 0 8px 28px rgba(0,0,0,0.45); | ||
transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease; | |||
user-select: none; | |||
} | } | ||
. | .onos-search-button:hover { | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
box-shadow: 0 | filter: brightness(1.05); | ||
box-shadow: 0 12px 36px rgba(232,185,64,0.28); | |||
} | |||
.onos-search-button__icon { | |||
font-size: 1.35rem; | |||
line-height: 1; | |||
} | } | ||
. | .onos-navgrid { | ||
position: relative; | |||
z-index: 1; | |||
display: grid; | display: grid; | ||
grid-template-columns: repeat( | grid-template-columns: repeat(5, minmax(140px, 1fr)); | ||
gap: . | gap: 0.85rem; | ||
max-width: | max-width: 1120px; | ||
margin: | margin: 0 auto; | ||
} | |||
.onos-navpill { | |||
position: relative; | |||
min-height: 58px; | |||
display: flex; | |||
align-items: center; | |||
overflow: hidden; | |||
border-radius: 10px; | |||
background: | |||
linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.35)), | |||
var(--bg, linear-gradient(135deg, #171b24, #06070a)); | |||
background-size: cover; | |||
background-position: center; | |||
border: 1px solid rgba(255,255,255,0.16); | |||
box-shadow: inset 0 0 0 1px rgba(0,0,0,0.55); | |||
transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease; | |||
} | |||
.onos-navpill:hover { | |||
transform: translateY(-2px); | |||
border-color: rgba(255,212,92,0.55); | |||
filter: brightness(1.12); | |||
} | } | ||
. | .onos-navpill a { | ||
position: relative; | |||
z-index: 1; | |||
width: 100%; | |||
height: 100%; | |||
padding: 1rem; | padding: 1rem; | ||
color: #fff !important; | |||
color: | font-weight: 800; | ||
font-weight: | text-decoration: none !important; | ||
text- | text-shadow: 0 2px 8px rgba(0,0,0,0.9); | ||
} | |||
.onos-navpill a:hover { | |||
color: #ffd45c !important; | |||
} | |||
/* Mobile */ | |||
@media screen and (max-width: 900px) { | |||
.onos-navgrid { | |||
grid-template-columns: repeat(2, minmax(120px, 1fr)); | |||
} | |||
.onos-hero { | |||
padding: 4rem 1rem 1.5rem; | |||
} | |||
} | |||
@media screen and (max-width: 520px) { | |||
.onos-navgrid { | |||
grid-template-columns: 1fr; | |||
} | |||
} | } | ||
Version vom 25. April 2026, 01:47 Uhr
/* Onos Main Page */
.onos-mainpage {
margin: -1.5rem -1rem 0;
}
.onos-hero {
position: relative;
min-height: 520px;
padding: 6rem 2rem 2rem;
overflow: hidden;
background:
radial-gradient(circle at center, rgba(255, 210, 90, 0.10), transparent 28rem),
linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.92)),
url('/images/onos-hero.jpg') center / cover no-repeat;
border-radius: 0 0 24px 24px;
}
.onos-hero::before {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(to bottom, rgba(8,10,16,0.25), rgba(8,10,16,0.95)),
radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.55) 80%);
pointer-events: none;
}
.onos-hero__content {
position: relative;
z-index: 1;
text-align: center;
margin-bottom: 4rem;
}
.onos-hero__title {
color: #fff;
font-size: clamp(3rem, 7vw, 5.5rem);
line-height: 1;
font-weight: 900;
letter-spacing: -0.04em;
text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.onos-hero__subtitle {
margin-top: 1.2rem;
color: #ffd45c;
font-size: 1.05rem;
font-weight: 700;
text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}
.onos-search-button {
display: inline-flex;
align-items: center;
gap: 0.7rem;
margin-top: 2rem;
padding: 0.95rem 2.3rem;
border-radius: 999px;
background: linear-gradient(180deg, #ffd969, #e8b940);
color: #111;
font-weight: 800;
cursor: pointer;
box-shadow: 0 8px 28px rgba(0,0,0,0.45);
transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
user-select: none;
}
.onos-search-button:hover {
transform: translateY(-2px);
filter: brightness(1.05);
box-shadow: 0 12px 36px rgba(232,185,64,0.28);
}
.onos-search-button__icon {
font-size: 1.35rem;
line-height: 1;
}
.onos-navgrid {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: repeat(5, minmax(140px, 1fr));
gap: 0.85rem;
max-width: 1120px;
margin: 0 auto;
}
.onos-navpill {
position: relative;
min-height: 58px;
display: flex;
align-items: center;
overflow: hidden;
border-radius: 10px;
background:
linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.35)),
var(--bg, linear-gradient(135deg, #171b24, #06070a));
background-size: cover;
background-position: center;
border: 1px solid rgba(255,255,255,0.16);
box-shadow: inset 0 0 0 1px rgba(0,0,0,0.55);
transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}
.onos-navpill:hover {
transform: translateY(-2px);
border-color: rgba(255,212,92,0.55);
filter: brightness(1.12);
}
.onos-navpill a {
position: relative;
z-index: 1;
width: 100%;
height: 100%;
padding: 1rem;
color: #fff !important;
font-weight: 800;
text-decoration: none !important;
text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}
.onos-navpill a:hover {
color: #ffd45c !important;
}
/* Mobile */
@media screen and (max-width: 900px) {
.onos-navgrid {
grid-template-columns: repeat(2, minmax(120px, 1fr));
}
.onos-hero {
padding: 4rem 1rem 1.5rem;
}
}
@media screen and (max-width: 520px) {
.onos-navgrid {
grid-template-columns: 1fr;
}
}