Skip to content

Commit 0b6a45f

Browse files
committed
update v1.1
1 parent 038af55 commit 0b6a45f

2 files changed

Lines changed: 64 additions & 31 deletions

File tree

index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<!-- Navigation -->
2626
<nav>
2727
<div class="container nav-container">
28-
<div class="logo"
29-
style="font-weight: 800; font-size: 1.2rem; background: linear-gradient(45deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;">
30-
MS.</div>
28+
<div class="logo">MS.</div>
3129
<button class="theme-toggle" id="theme-toggle" aria-label="Basculer le mode">
3230
<i class="fas fa-moon"></i>
3331
</button>

style.css

Lines changed: 63 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,48 @@
11
:root {
2-
/* Light Mode (Default) */
3-
--primary: #4facfe;
4-
--secondary: #00f2fe;
5-
--bg-main: #ffffff;
6-
--bg-card: rgba(0, 0, 0, 0.03);
7-
--text-main: #1a1a1a;
8-
--text-dim: #555555;
9-
--accent: #f093fb;
10-
--glass-border: rgba(0, 0, 0, 0.1);
2+
/* Light Mode (Default) - Professional & Soft */
3+
--primary: #2563eb;
4+
/* Deep Blue */
5+
--secondary: #3b82f6;
6+
/* Medium Blue */
7+
--bg-main: #f8fafc;
8+
/* Soft White/Grey */
9+
--bg-card: #ffffff;
10+
/* Pure White */
11+
--text-main: #1e293b;
12+
/* Slate Dark */
13+
--text-dim: #64748b;
14+
/* Slate Medium */
15+
--accent: #8b5cf6;
16+
/* Violet */
17+
--glass-border: rgba(0, 0, 0, 0.05);
1118
--font-main: 'Outfit', sans-serif;
12-
--nav-bg: rgba(255, 255, 255, 0.8);
19+
--nav-bg: rgba(248, 250, 252, 0.85);
20+
--btn-text: #ffffff;
21+
--badge-bg: rgba(37, 99, 235, 0.08);
22+
--timeline-line: #e2e8f0;
1323
}
1424

1525
body.dark-mode {
16-
/* Dark Mode */
17-
--primary: #00f2fe;
18-
--secondary: #4facfe;
19-
--bg-main: #0a0a0c;
20-
--bg-card: rgba(255, 255, 255, 0.03);
21-
--text-main: #e0e0e0;
22-
--text-dim: #a0a0a0;
23-
--glass-border: rgba(255, 255, 255, 0.1);
24-
--nav-bg: rgba(10, 10, 12, 0.8);
26+
/* Dark Mode - Tech & Modern */
27+
--primary: #38bdf8;
28+
/* Sky Blue */
29+
--secondary: #0ea5e9;
30+
/* Ocean Blue */
31+
--bg-main: #0f172a;
32+
/* Deep Midnight */
33+
--bg-card: rgba(30, 41, 59, 0.5);
34+
/* Slate Blue Transparent */
35+
--text-main: #f1f5f9;
36+
/* Near White */
37+
--text-dim: #94a3b8;
38+
/* Slate Soft */
39+
--accent: #a78bfa;
40+
/* Light Violet */
41+
--glass-border: rgba(255, 255, 255, 0.08);
42+
--nav-bg: rgba(15, 23, 42, 0.85);
43+
--btn-text: #0f172a;
44+
--badge-bg: rgba(56, 189, 248, 0.1);
45+
--timeline-line: #1e293b;
2546
}
2647

2748
* {
@@ -82,6 +103,20 @@ nav {
82103
align-items: center;
83104
}
84105

106+
.logo {
107+
font-weight: 800;
108+
font-size: 1.2rem;
109+
background: linear-gradient(45deg, var(--primary), var(--secondary));
110+
-webkit-background-clip: text;
111+
background-clip: text;
112+
-webkit-text-fill-color: transparent;
113+
transition: opacity 0.3s ease;
114+
}
115+
116+
.logo:hover {
117+
opacity: 0.8;
118+
}
119+
85120
.theme-toggle {
86121
background: var(--primary);
87122
color: #fff;
@@ -139,9 +174,9 @@ nav {
139174
.badge {
140175
display: inline-block;
141176
padding: 0.5rem 1rem;
142-
background: rgba(79, 172, 254, 0.1);
143-
border: 1px solid var(--secondary);
144-
color: var(--secondary);
177+
background: var(--badge-bg);
178+
border: 1px solid var(--primary);
179+
color: var(--primary);
145180
border-radius: 50px;
146181
font-size: 0.8rem;
147182
font-weight: 600;
@@ -180,14 +215,14 @@ h1 {
180215
}
181216

182217
.btn-primary {
183-
background: linear-gradient(45deg, var(--secondary), var(--primary));
184-
color: #000;
185-
box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
218+
background: linear-gradient(45deg, var(--primary), var(--secondary));
219+
color: var(--btn-text);
220+
box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
186221
}
187222

188223
.btn-primary:hover {
189224
transform: translateY(-3px);
190-
box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
225+
box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
191226
}
192227

193228
/* Section Common */
@@ -267,7 +302,7 @@ section {
267302
top: 0;
268303
width: 2px;
269304
height: 100%;
270-
background: var(--glass-border);
305+
background: var(--timeline-line);
271306
}
272307

273308
.timeline-item {
@@ -307,7 +342,7 @@ section {
307342
}
308343

309344
.project-box {
310-
background: rgba(255, 255, 255, 0.02);
345+
background: var(--bg-main);
311346
padding: 1.5rem;
312347
border-radius: 12px;
313348
margin-top: 1rem;

0 commit comments

Comments
 (0)