Menü aufrufen
Toggle preferences menu
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

MediaWiki:Citizen.css: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
.mainpage-hero {
/* Onos Main Page */
   min-height: 420px;
 
   padding: 5rem 2rem 2rem;
.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;
   background:
   margin-bottom: 4rem;
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.85)),
    url("/images/your-background.jpg") center/cover no-repeat;
  border-radius: 0 0 20px 20px;
}
}


.mainpage-logo {
.onos-hero__title {
   font-size: 4rem;
  color: #fff;
   font-weight: 700;
   font-size: clamp(3rem, 7vw, 5.5rem);
   color: white;
  line-height: 1;
   font-weight: 900;
   letter-spacing: -0.04em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
}


.mainpage-subtitle {
.onos-hero__subtitle {
   color: #e8c56d;
  margin-top: 1.2rem;
   margin-bottom: 1.5rem;
   color: #ffd45c;
   font-size: 1.05rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}
}


.mainpage-search {
.onos-search-button {
   display: inline-block;
   display: inline-flex;
   margin-top: 1.5rem;
  align-items: center;
   background: #e8c56d;
  gap: 0.7rem;
   margin-top: 2rem;
  padding: 0.95rem 2.3rem;
  border-radius: 999px;
   background: linear-gradient(180deg, #ffd969, #e8b940);
   color: #111;
   color: #111;
  padding: 0.1rem 0.1rem;
   font-weight: 800;
  border-radius: 999px;
   font-weight: bold;
   cursor: pointer;
   cursor: pointer;
   transition: transform 0.15s ease, box-shadow 0.15s ease;
  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;
}
}


.mainpage-search:hover {
.onos-search-button:hover {
   transform: translateY(-2px);
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(232,197,109,0.3);
  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;
}
}


.mainpage-navgrid {
.onos-navgrid {
  position: relative;
  z-index: 1;
   display: grid;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
   grid-template-columns: repeat(5, minmax(140px, 1fr));
   gap: .75rem;
   gap: 0.85rem;
   max-width: 1100px;
   max-width: 1120px;
   margin: 3rem auto 0;
   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);
}
}


.mainpage-navpill {
.onos-navpill a {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
   padding: 1rem;
   padding: 1rem;
  border-radius: 8px;
   color: #fff !important;
   color: white;
   font-weight: 800;
   font-weight: 700;
   text-decoration: none !important;
   text-align: left;
   text-shadow: 0 2px 8px rgba(0,0,0,0.9);
   background: rgba(0,0,0,.55);
}
   border: 1px solid rgba(255,255,255,.18);
 
.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;
  }
}