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 51: Zeile 51:
}
}


.onos-search-button {
/* Searchbar Fix */
   display: inline-flex;
 
#skin-citizen-search-trigger {
  all: unset;
   display: flex;
}
 
.onos-searchbar {
  display: flex;
   align-items: center;
   align-items: center;
   gap: 0.7rem;
   gap: 0.8rem;
   margin-top: 2rem;
 
   padding: 0.95rem 2.3rem;
   margin: 2rem auto 0;
   padding: 0.9rem 1.4rem;
 
  max-width: 480px;
  width: 100%;
 
   border-radius: 999px;
   border-radius: 999px;
   background: linear-gradient(180deg, #ffd969, #e8b940);
 
   color: #111;
   background: rgba(20, 25, 35, 0.85);
   font-weight: 800;
  border: 1px solid rgba(255,255,255,0.15);
 
   color: rgba(255,255,255,0.75);
   font-weight: 500;
 
   cursor: pointer;
   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;
   transition: all 0.15s ease;
   user-select: none;
  backdrop-filter: blur(6px);
}
 
.onos-searchbar:hover {
  background: rgba(30, 35, 50, 0.95);
   border-color: rgba(255,212,92,0.6);
  color: #fff;
   transform: translateY(-1px);
}
}


.onos-search-button:hover {
.onos-search-icon {
   transform: translateY(-2px);
   font-size: 1.2rem;
  filter: brightness(1.05);
   opacity: 0.8;
   box-shadow: 0 12px 36px rgba(232,185,64,0.28);
}
}


.onos-search-button__icon {
.onos-search-text {
   font-size: 1.35rem;
   white-space: nowrap;
   line-height: 1;
   overflow: hidden;
  text-overflow: ellipsis;
}
}



Version vom 25. April 2026, 01:57 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);
}

/* Searchbar Fix */

#skin-citizen-search-trigger {
  all: unset;
  display: flex;
}

.onos-searchbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  margin: 2rem auto 0;
  padding: 0.9rem 1.4rem;

  max-width: 480px;
  width: 100%;

  border-radius: 999px;

  background: rgba(20, 25, 35, 0.85);
  border: 1px solid rgba(255,255,255,0.15);

  color: rgba(255,255,255,0.75);
  font-weight: 500;

  cursor: pointer;

  transition: all 0.15s ease;
  backdrop-filter: blur(6px);
}

.onos-searchbar:hover {
  background: rgba(30, 35, 50, 0.95);
  border-color: rgba(255,212,92,0.6);
  color: #fff;
  transform: translateY(-1px);
}

.onos-search-icon {
  font-size: 1.2rem;
  opacity: 0.8;
}

.onos-search-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.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;
  }
}