Fix again
This commit is contained in:
+28
-74
@@ -4,83 +4,41 @@
|
|||||||
--glass-light: rgba(255, 255, 255, 0.08);
|
--glass-light: rgba(255, 255, 255, 0.08);
|
||||||
--glass-border: rgba(255, 255, 255, 0.25);
|
--glass-border: rgba(255, 255, 255, 0.25);
|
||||||
--accent-yellow: #fcd53f;
|
--accent-yellow: #fcd53f;
|
||||||
--accent-blue: #3ecaf8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Noto Sans', sans-serif;
|
font-family: 'Noto Sans', sans-serif;
|
||||||
background-color: var(--bg-color);
|
background-color: var(--bg-color);
|
||||||
background-image:
|
background-image: radial-gradient(at 10% 10%, rgba(10, 25, 47, 0.8) 0px, transparent 50%), radial-gradient(at 90% 90%, rgba(62, 202, 248, 0.15) 0px, transparent 50%), linear-gradient(135deg, #050b16 0%, #1a3c6f 100%);
|
||||||
radial-gradient(at 10% 10%, rgba(10, 25, 47, 0.8) 0px, transparent 50%),
|
|
||||||
radial-gradient(at 90% 90%, rgba(62, 202, 248, 0.15) 0px, transparent 50%),
|
|
||||||
linear-gradient(135deg, #050b16 0%, #1a3c6f 100%);
|
|
||||||
color: #e6f1ff;
|
color: #e6f1ff;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Conteneurs principaux avec Réfraction --- */
|
/* Containers */
|
||||||
.container {
|
.container {
|
||||||
background: rgba(10, 25, 47, 0.08);
|
background: rgba(10, 25, 47, 0.08);
|
||||||
backdrop-filter: blur(20px) saturate(180%);
|
backdrop-filter: blur(20px) saturate(180%);
|
||||||
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
border: 1px solid var(--glass-border);
|
border: 1px solid var(--glass-border);
|
||||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
|
||||||
overflow: hidden;
|
|
||||||
width: 80%;
|
width: 80%;
|
||||||
margin: 40px auto;
|
margin: 40px auto;
|
||||||
padding: 40px;
|
padding: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Le cœur de la réfraction : seulement pour .container */
|
/* Video */
|
||||||
.container::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
background: inherit;
|
|
||||||
filter: blur(5px) brightness(1.1) contrast(0.9);
|
|
||||||
transform: scale(1.05) translate(-2px, -2px);
|
|
||||||
z-index: -1;
|
|
||||||
border-radius: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --- Footer : style simplifié (sans réfraction) pour éviter le cadre --- */
|
|
||||||
div.footer {
|
|
||||||
background: rgba(10, 25, 47, 0.2); /* Fond un peu plus opaque pour compenser */
|
|
||||||
backdrop-filter: blur(10px);
|
|
||||||
-webkit-backdrop-filter: blur(10px);
|
|
||||||
border-radius: 30px;
|
|
||||||
border: 1px solid var(--glass-border);
|
|
||||||
/* Pas d'ombre, pas de ::before de réfraction */
|
|
||||||
position: relative;
|
|
||||||
width: 80%;
|
|
||||||
margin: 40px auto;
|
|
||||||
padding: 20px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --- Video Container : PROPRE 16:9 --- */
|
|
||||||
.video-container {
|
.video-container {
|
||||||
margin: 40px auto;
|
|
||||||
width: 80%;
|
width: 80%;
|
||||||
/* IMPORTANT : On garde le ratio 16:9 et on supprime la réfraction */
|
margin: 40px auto;
|
||||||
|
aspect-ratio: 16 / 9;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 0;
|
|
||||||
padding-bottom: 56.25%; /* Ratio 16:9 */
|
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
border: 1px solid var(--glass-border);
|
border: 1px solid var(--glass-border);
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
/* PAS de ::before de réfraction pour ne pas casser le ratio ni créer de cadre */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-container iframe {
|
.video-container iframe {
|
||||||
@@ -92,7 +50,7 @@ div.footer {
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Header & Logo --- */
|
/* Header & Logo */
|
||||||
header {
|
header {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
@@ -100,13 +58,11 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
/* Logo beaucoup plus gros */
|
|
||||||
height: 128px;
|
height: 128px;
|
||||||
width: 128px;
|
width: 128px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
/* Style verre */
|
|
||||||
background: var(--glass-light);
|
background: var(--glass-light);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
@@ -116,52 +72,50 @@ header {
|
|||||||
|
|
||||||
.title {
|
.title {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
/* Titre ajusté en conséquence */
|
|
||||||
font-size: 64px;
|
font-size: 64px;
|
||||||
line-height: 128px; /* Aligné sur la hauteur du logo */
|
line-height: 128px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --- Navigation (inchangé, parfait selon vos dires) --- */
|
|
||||||
.nav {
|
|
||||||
text-align: center;
|
|
||||||
margin: 40px 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Navigation Buttons */
|
||||||
.nav a {
|
.nav a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 15px 35px;
|
padding: 15px 35px;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
border: 4px solid transparent;
|
|
||||||
border-image: repeating-linear-gradient(45deg, var(--accent-yellow) 0%, var(--accent-blue) 10%, var(--accent-yellow) 20%) 1;
|
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
background: rgba(255, 255, 255, 0.05);
|
background: rgba(255, 255, 255, 0.05);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
box-shadow:
|
border: 1px solid var(--glass-border);
|
||||||
inset 0 2px 0 rgba(255, 255, 255, 0.3),
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
||||||
inset 0 -2px 0 rgba(0, 0, 0, 0.2),
|
transition: all 0.3s ease;
|
||||||
0 5px 15px rgba(0, 0, 0, 0.3);
|
|
||||||
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
|
|
||||||
font-weight: 600;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav a:hover {
|
.nav a:hover {
|
||||||
background-color: var(--accent-yellow);
|
background-color: var(--accent-yellow);
|
||||||
color: var(--deep-blue);
|
color: var(--deep-blue);
|
||||||
border-color: transparent;
|
border-color: var(--accent-yellow);
|
||||||
box-shadow:
|
box-shadow: 0 0 20px var(--accent-yellow);
|
||||||
0 0 30px var(--accent-yellow),
|
transform: translateY(-2px);
|
||||||
inset 0 0 10px rgba(255, 255, 255, 0.5);
|
|
||||||
transform: translateY(-3px);
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Image Flash --- */
|
/* Footer */
|
||||||
|
div.footer {
|
||||||
|
background: rgba(10, 25, 47, 0.2);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
border-radius: 30px;
|
||||||
|
border: 1px solid var(--glass-border);
|
||||||
|
width: 80%;
|
||||||
|
margin: 40px auto;
|
||||||
|
padding: 20px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Flash Image */
|
||||||
img.flash {
|
img.flash {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 128px;
|
width: 128px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap" rel="stylesheet">
|
||||||
<link href="css/style.css?v=1.0.2" rel="stylesheet">
|
<link href="css/style.css?v=1.0.3" rel="stylesheet">
|
||||||
<link rel="icon" href="img/logo.png">
|
<link rel="icon" href="img/logo.png">
|
||||||
<title>Whykioh.fr - Mon Portefolio</title>
|
<title>Whykioh.fr - Mon Portefolio</title>
|
||||||
</head>
|
</head>
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
<hr>
|
<hr>
|
||||||
<h1>Bienvenue Whykioh.fr !</h1>
|
<h1>Bienvenue sur Whykioh.fr !</h1>
|
||||||
<p>Le centre de tous mes projets webs, applications, et autres.<br>N'hésitez pas à explorer ! Mais aussi à me soutenir via un avis, ou un don.</p>
|
<p>Le centre de tous mes projets webs, applications, et autres.<br>N'hésitez pas à explorer ! Mais aussi à me soutenir via un avis, ou un don.</p>
|
||||||
<hr>
|
<hr>
|
||||||
<h1>Voici la dernière vidéo de <a href="https://www.youtube.com/@whykioh">Whykioh</a> :</h1>
|
<h1>Voici la dernière vidéo de <a href="https://www.youtube.com/@whykioh">Whykioh</a> :</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user