Zum Inhalt springen

Hauptseite: Unterschied zwischen den Versionen

Aus wiki4life
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<!-- Layer 1: Hintergrund -->
<div style="
<div style="
   height: 800px; /* Höhe der Box */
  position: relative;
   height: 800px;
   background: #1efa60;
   background: #1efa60;
   background: linear-gradient(
   background: linear-gradient(
Zeile 11: Zeile 13:
     rgba(62, 194, 60, 0) 100%
     rgba(62, 194, 60, 0) 100%
   );
   );
   background-size: cover;       /* Gradient füllt die Box komplett */
   background-size: cover;
   background-position: top;     /* direkt oben starten */
   background-position: top;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   margin: 0;                   /* kein Abstand oben */
   margin: 0;
   padding: 0;
   padding: 0;
">
">
  <!-- Layer 2: Text -->
  <div style="
    position: absolute;
    top: 0;                /* Text oben über Hintergrund */
    left: 50%;
    transform: translateX(-50%);
    font-family: Arial, sans-serif;
    font-size: 56px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    z-index: 2;            /* Text liegt über dem Hintergrund */
  ">
    Wiki4Life
  </div>
</div>
</div>

Version vom 25. September 2025, 08:51 Uhr

   Wiki4Life