chore: complete update

This commit is contained in:
2025-07-17 16:24:20 +02:00
parent 899227b0a4
commit 64a7051137
1300 changed files with 85570 additions and 2756 deletions

View File

@@ -0,0 +1,38 @@
.fade {
opacity: 0;
transform: translateY(40px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade.entered {
color: #0af;
}
.fade-in { transition: opacity 0.4s ease-out; }
.fade-out { transition: opacity 0.4s ease-in; }
.zoom-in { transition: transform 0.5s ease-out; }
/* Beispielanimation */
@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-5px); }
75% { transform: translateX(5px); }
}
.shake {
animation: shake 0.8s ease-in-out;
}
.fade-in-on-scroll,
.zoom-in {
opacity: 0;
transform: translateY(40px);
transition: opacity 0.6s ease, transform 0.6s ease;
will-change: opacity, transform;
}
.visible {
opacity: 1;
transform: none;
}

View File

@@ -0,0 +1,18 @@
/* Set some base styles, so it is easy to see */
.skip-link {
position: absolute;
display: inline-block;
padding: .375rem .75rem;
line-height: 1;
font-size: 1.25rem;
background-color: rebeccapurple;
color: white;
/* Ensure the Y position is set to zero and any movement on the transform property */
transform: translateY(0);
transition: transform 250ms ease-in;
}
/* When it is not focused, transform its Y position by its total height, using a negative value, so it hides above the viewport */
.skip-link:not(:focus) {
transform: translateY(-2rem);
}

View File

@@ -0,0 +1,62 @@
.noise-bg {
--noise-opacity: 0.15;
background-image:
repeating-radial-gradient(circle at 1px 1px,
rgba(255, 255, 255, var(--noise-opacity, 0.03)) 0,
rgba(0, 0, 0, var(--noise-opacity, 0.03)) 1px,
transparent 2px
);
background-size: 3px 3px;
}
.grain {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 9999;
background-color: #000;
mix-blend-mode: overlay;
opacity: 0.5;
animation: noise 1s steps(10) infinite;
}
@keyframes noise {
0% { filter: hue-rotate(0deg); }
100% { filter: hue-rotate(360deg); }
}
.noise-overlay {
--noise-intensity: 0.03;
view-transition-name: noise;
position: fixed;
inset: 0;
z-index: 9999;
pointer-events: none;
mix-blend-mode: overlay;
background-size: cover;
background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'>\
<filter id='noiseFilter'>\
<feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/>\
</filter>\
<rect width='100%' height='100%' filter='url(%23noiseFilter)'/>\
</svg>") repeat, rgba(0, 0, 0, var(--noise-intensity, 0.03));
}
.noise-overlay {
opacity: var(--noise-opacity, 0.05);
transition: opacity 0.3s ease;
pointer-events: none;
}
.noise-overlay.hidden {
opacity: 0;
}

View File

@@ -0,0 +1,200 @@
body {
transition: background-color 0.5s ease, color 0.5s ease;
}
/* FOR REFERENCE::
body[data-active-scroll-step="1"] header {
opacity: 1;
}
body[data-active-scroll-step="2"] header {
opacity: 0.5;
}
body[data-active-scroll-step="3"] header {
transform: translateY(-100%);
transition: transform 0.3s ease;
}*/
body[data-active-scroll-step="1"] {
background-color: #1a1a1a;
color: #eee;
}
body[data-active-scroll-step="2"] {
background-color: #000;
color: #f0f0f0;
}
body[data-active-scroll-step="3"] {
background-color: #2c1c59;
color: #fff;
}
body[data-active-scroll-step="1"] {
/* z.B. Schriftart, Hintergrund etc. */
cursor: s-resize;
}
body[data-active-scroll-step="2"] {
background-color: #1a1a1a;
}
[data-scroll-step] {
opacity: 0;
transform: translateY(2rem);
transition: opacity 0.6s ease, transform 0.6s ease;
will-change: opacity, transform;
}
body {
opacity: 1;
}
/* Aktivierte Scroll-Section */
[data-scroll-step].active {
opacity: 1;
transform: translateY(0);
}
[data-scroll-step].active {
border-left: 4px solid var(--accent-color, #6c4dff);
background-color: rgba(255, 255, 255, 0.02);
}
/* Basis-Stil für Sticky Steps */
[data-sticky-step] {
position: sticky;
top: 20vh;
margin: 2rem 0;
padding: 2rem;
background: #1e1e1e;
border-radius: 0.5rem;
opacity: 0.4;
transition: opacity 0.3s ease, transform 0.3s ease;
}
[data-sticky-step].is-sticky-active {
opacity: 1;
transform: scale(1.02);
box-shadow: 0 0 1rem rgba(255, 255, 255, 0.05);
}
/* Beispielhafte visuelle Steuerung per container-Datensatz */
[data-sticky-container][data-active-sticky-step="0"] [data-sticky-step]:nth-child(1),
[data-sticky-container][data-active-sticky-step="1"] [data-sticky-step]:nth-child(2),
[data-sticky-container][data-active-sticky-step="2"] [data-sticky-step]:nth-child(3) {
border-left: 4px solid var(--accent-color, #6c4dff);
background: linear-gradient(to right, rgba(108, 77, 255, 0.1), transparent);
}
/* Optional: sanfte Farbübergänge */
[data-sticky-step] {
transition: opacity 0.3s ease, transform 0.3s ease, background 0.4s ease;
}
/* Sticky Container zur Sicherheit sichtbar machen */
[data-sticky-container] {
position: relative;
z-index: 0;
height: 300vh;
padding: 2rem;
}
/*
Scroll LOOPS
*/
.loop-container {
overflow: hidden;
position: relative;
height: 200px;
}
.loop-content {
display: flex;
flex-direction: column;
}
/* Basisstil für scroll-loop-Elemente */
[data-scroll-loop] {
will-change: transform;
display: inline-block;
backface-visibility: hidden;
transform-style: preserve-3d;
}
/* Empfohlene Containerstruktur */
.scroll-loop-container {
overflow: hidden;
position: relative;
height: 200px; /* anpassen je nach Bedarf */
}
/* Optional für automatische Verdopplung */
.scroll-loop-container > [data-scroll-loop] {
display: flex;
flex-direction: column;
}
/* Für Background-Loop */
[data-scroll-type="background"] {
background-repeat: repeat;
background-size: auto 100%;
}
/* Pausieren bei Hover oder Aktivierung */
[data-scroll-loop][data-loop-pause="true"]:hover,
[data-scroll-loop][data-loop-pause="true"]:active {
animation-play-state: paused;
}
/*
SCROLL_FADE
*/
/* Optionaler Grundstil für sticky-fade Elemente */
/* Basisstil für sticky-fade Elemente */
[data-sticky-fade] {
opacity: 0;
transform: translateY(20px);
transition-property: opacity, transform;
transition-duration: 0.4s;
transition-timing-function: ease-out;
will-change: opacity, transform;
pointer-events: auto;
}
[data-sticky-fade][data-fade-distance="10"] {
transform: translateY(10px);
}
[data-sticky-fade][data-fade-distance="30"] {
transform: translateY(30px);
}
[data-sticky-fade][data-fade-distance="40"] {
transform: translateY(40px);
}
[data-sticky-fade][data-fade-duration="fast"] {
transition-duration: 0.2s;
}
[data-sticky-fade][data-fade-duration="slow"] {
transition-duration: 0.8s;
}
[data-sticky-fade].visible {
opacity: 1;
transform: translateY(0);
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
filter: brightness(1.05);
transition-property: opacity, transform, box-shadow;
transition-timing-function: ease;
}

View File

@@ -0,0 +1,45 @@
@view-transition {
navigation: auto;
}
@keyframes fade {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slide-down {
from { transform: translateY(-2rem); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@keyframes slide-up {
from { transform: translateY(2rem); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@keyframes blur-in {
from { filter: blur(10px); opacity: 0; }
to { filter: blur(0); opacity: 1; }
}
/* 🎯 Transitions für benannte Bereiche */
::view-transition-old(main-content),
::view-transition-new(main-content) {
animation: fade 0.4s ease;
}
::view-transition-old(site-header),
::view-transition-new(site-header) {
animation: slide-down 0.4s ease;
}
::view-transition-old(site-footer),
::view-transition-new(site-footer) {
animation: slide-up 0.4s ease;
}
::view-transition-old(sidebar),
::view-transition-new(sidebar) {
animation: blur-in 0.3s ease;
}