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
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
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;
.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);
}
}


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


.mainpage-subtitle {
/* Searchbar Fix */
   color: #e8c56d;
 
  margin-bottom: 1.5rem;
#skin-citizen-search-trigger {
   display: flex;
}
}


.mainpage-search {
.onos-searchbar {
   display: inline-block;
   display: flex;
   margin-top: 1.5rem;
   align-items: center;
   background: #e8c56d;
   gap: 0.8rem;
   color: #111;
 
   padding: 0.1rem 0.1rem;
   margin: 2rem auto 0;
   padding: 1rem 1.6rem;
 
  max-width: 560px;
  width: 100%;
 
   border-radius: 999px;
   border-radius: 999px;
   font-weight: bold;
 
  background: rgba(20, 25, 35, 0.85);
  border: 1px solid rgba(10,15,25,0.9);
 
  color: rgba(255,255,255,0.75);
   font-weight: 500;
 
   cursor: pointer;
   cursor: pointer;
   transition: transform 0.15s ease, box-shadow 0.15s ease;
 
   transition: all 0.15s ease;
  backdrop-filter: blur(6px);
}
}


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


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


.mainpage-navpill {
.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;
  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;
  }
}
}

Aktuelle Version vom 25. April 2026, 02:00 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 {
  display: flex;
}

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

  margin: 2rem auto 0;
  padding: 1rem 1.6rem;

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

  border-radius: 999px;

  background: rgba(20, 25, 35, 0.85);
  border: 1px solid rgba(10,15,25,0.9);

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