Téléverser les fichiers vers "/"
This commit is contained in:
118
style.css
Normal file
118
style.css
Normal file
@@ -0,0 +1,118 @@
|
||||
body {
|
||||
font-family: 'Segoe UI', sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: linear-gradient(135deg, #1f1f1f, #3a3a3a);
|
||||
color: #e6e6e6;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background: rgba(0, 0, 0, 0.7) !important;
|
||||
backdrop-filter: blur(6px);
|
||||
}
|
||||
|
||||
header {
|
||||
background: linear-gradient(145deg, #2a2a2a, #1c1c1c);
|
||||
color: white;
|
||||
padding: 26rem 2rem;
|
||||
min-height: 100vh;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
section {
|
||||
scroll-margin-top: 8rem;
|
||||
max-width: 900px;
|
||||
margin: 12rem auto;
|
||||
background: #2d2d2d;
|
||||
min-height: 70vh;
|
||||
padding: 3rem;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 0 25px rgba(0,0,0,0.4);
|
||||
color: #f0f0f0;
|
||||
}
|
||||
|
||||
section h2 {
|
||||
border-left: 6px solid #888;
|
||||
padding-left: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
font-size: 2rem;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.project-card {
|
||||
background: #3b3b3b;
|
||||
padding: 2rem;
|
||||
border-radius: 15px;
|
||||
transition: 0.3s;
|
||||
box-shadow: 0 0 15px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.project-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 0 25px rgba(255,255,255,0.1);
|
||||
}
|
||||
|
||||
.btn-dark {
|
||||
background: #555 !important;
|
||||
border: none;
|
||||
transition: 0.2s;
|
||||
}
|
||||
|
||||
.btn-dark:hover {
|
||||
background: #777 !important;
|
||||
}
|
||||
|
||||
.skill, .lang {
|
||||
padding: 1rem;
|
||||
background: #3b3b3b;
|
||||
border-radius: 10px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
|
||||
.fill {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.16));
|
||||
transition: width 0.7s cubic-bezier(.2,.9,.2,1);
|
||||
border-radius: 10px;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.label {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.percent {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
float: right;
|
||||
font-weight: 700;
|
||||
opacity: 0;
|
||||
transition: opacity 0.25s ease;
|
||||
}
|
||||
|
||||
.skill:hover .percent, .lang:hover .percent,
|
||||
.skill.active .percent, .lang.active .percent {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@media (max-width:720px) {
|
||||
header {
|
||||
padding: 8rem 1.2rem;
|
||||
}
|
||||
section {
|
||||
margin: 6rem 1rem;
|
||||
padding: 1.6rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user