mirror of
https://github.com/Ladebeze66/devsite.git
synced 2025-12-15 21:46:49 +01:00
109 lines
1.8 KiB
CSS
109 lines
1.8 KiB
CSS
|
||
@tailwind base;
|
||
@tailwind components;
|
||
@tailwind utilities;
|
||
|
||
:root {
|
||
--background: #ffffff;
|
||
--foreground: #171717;
|
||
}
|
||
|
||
@media (prefers-color-scheme: dark) {
|
||
:root {
|
||
--background: #0a0a0a;
|
||
--foreground: #ededed;
|
||
}
|
||
}
|
||
|
||
body {
|
||
color: var(--foreground);
|
||
background: var(--background);
|
||
font-family: Arial, Helvetica, sans-serif;
|
||
}
|
||
|
||
@keyframes fade-in {
|
||
from {
|
||
opacity: 0;
|
||
transform: translateY(-10px);
|
||
}
|
||
to {
|
||
opacity: 1;
|
||
transform: translateY(0);
|
||
}
|
||
}
|
||
|
||
.animate-fade-in {
|
||
animation: fade-in 0.5s ease-out;
|
||
}
|
||
|
||
@keyframes blink {
|
||
0% { opacity: 0; }
|
||
50% { opacity: 1; }
|
||
100% { opacity: 0; }
|
||
}
|
||
|
||
.wait-animation .dot-1 {
|
||
animation: blink 1s infinite 0s;
|
||
}
|
||
|
||
.wait-animation .dot-2 {
|
||
animation: blink 1s infinite 0.2s;
|
||
}
|
||
|
||
.wait-animation .dot-3 {
|
||
animation: blink 1s infinite 0.4s;
|
||
}
|
||
|
||
.bg-wallpaper {
|
||
background-image: url('./assets/images/wallpapersite_resultat.webp');
|
||
background-size: cover;
|
||
background-position: center;
|
||
background-repeat: no-repeat;
|
||
min-height: 100vh;
|
||
width: 100vw; /* 🔥 Assure que le wallpaper couvre TOUT l’écran */
|
||
min-width: 100vw; /* 🔥 Évite qu’il soit tronqué sur les grandes pages */
|
||
}
|
||
|
||
|
||
@media (max-width: 768px) {
|
||
.bg-wallpaper {
|
||
width: 200vw; /* 🔥 Étend le wallpaper sur toute la largeur disponible */
|
||
min-width: 200vw; /* 🔥 Évite qu’il soit limité par le contenu */
|
||
}
|
||
}
|
||
|
||
|
||
html, body {
|
||
width: 100%;
|
||
height: 100%;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
.container {
|
||
width: 100%;
|
||
height: 100%;
|
||
position: relative;
|
||
}
|
||
|
||
/* Gestion du footer */
|
||
footer {
|
||
text-align: center;
|
||
padding: 16px;
|
||
background-color: rgba(255, 255, 255, 0.5);
|
||
backdrop-filter: blur(10px);
|
||
border-radius: 8px;
|
||
}
|
||
|
||
/* Responsive footer */
|
||
@media (max-width: 768px) {
|
||
footer {
|
||
padding: 12px;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.max-w-7xl {
|
||
max-width: 100%;
|
||
}
|
||
} |