forked from osc-vitap/GITTYUP-2025
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
252 lines (225 loc) · 8.49 KB
/
style.css
File metadata and controls
252 lines (225 loc) · 8.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
/* style.css
Dark "Hacker / Terminal" aesthetic
Pure CSS, responsive, single-page
*/
/* --- Variables --- */
:root{
--bg: #071018; /* deep background */
--panel: #0f1620; /* panels */
--muted: #9aa6b2; /* light gray */
--mono: #76f2d4; /* neon mint for monospace headings */
--accent: #00ffd5; /* cyan-neon accent */
--accent-2: #a3ff6e; /* lime accent */
--glass: rgba(255,255,255,0.02);
--border: rgba(255,255,255,0.04);
--radius: 12px;
--max-width: 1100px;
--gap: 1rem;
--container-pad: 1.25rem;
--transition: 200ms cubic-bezier(.2,.9,.3,1);
}
/* --- Reset & base --- */
* { box-sizing: border-box; }
html,body { height:100%; }
body{
margin:0;
background: linear-gradient(180deg, var(--bg) 0%, #050607 100%);
color:#dbeeee;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
line-height:1.5;
padding-bottom:4.5rem; /* footer room */
}
/* monospace headings */
.mono { font-family: "Courier New", Courier, "Roboto Mono", monospace; color:var(--mono); letter-spacing:0.6px; }
/* containers */
.container {
width: min(var(--max-width), calc(100% - 2*var(--container-pad)));
margin: 0 auto;
padding: var(--container-pad) 0;
}
/* header */
.site-header {
position: sticky;
top:0;
z-index:50;
background: linear-gradient(180deg, rgba(7,16,24,0.72), rgba(7,16,24,0.5));
border-bottom:1px solid var(--border);
backdrop-filter: blur(6px);
}
.header-inner {
display:flex;
align-items:center;
justify-content:space-between;
gap:var(--gap);
height:66px;
padding: 0 0.5rem;
}
/* brand */
.brand { display:flex; align-items:center; gap:0.6rem; color:var(--mono); text-decoration:none; font-weight:600; }
.brand svg { color:var(--accent); }
/* nav */
.nav ul { list-style:none; margin:0; padding:0; display:flex; gap:0.9rem; align-items:center; }
.nav a {
color:var(--muted);
text-decoration:none;
padding:8px 12px;
border-radius:8px;
transition: background var(--transition), color var(--transition);
}
.nav a:hover { color:var(--accent); background: rgba(0,255,213,0.03); }
/* mobile toggle */
.nav-toggle { display:none; width:44px; height:44px; border-radius:8px; background:transparent; border:1px solid transparent; cursor:pointer; align-items:center; justify-content:center; }
.hamburger, .hamburger::before, .hamburger::after {
display:block; width:18px; height:2px; background:var(--muted); border-radius:2px; transition: transform var(--transition), opacity var(--transition), background var(--transition);
position:relative;
}
.hamburger::before, .hamburger::after { content:""; position:absolute; left:0; }
.hamburger::before { top:-6px; }
.hamburger::after { top:6px; }
.nav-toggle.active .hamburger { transform: rotate(45deg); background:var(--accent); }
.nav-toggle.active .hamburger::before { transform: rotate(90deg); top:0; }
.nav-toggle.active .hamburger::after { opacity:0; }
/* hero */
.hero { padding:2.4rem 0; }
.hero-grid { display:grid; grid-template-columns: 1fr 420px; gap:1.6rem; align-items:start; }
/* left */
.name { font-size: clamp(1.6rem, 4vw, 2.4rem); margin:0; }
.role { color:var(--muted); margin:0.4rem 0 0.6rem 0; font-weight:500; }
.tagline { color:var(--accent); margin:0.7rem 0; font-size:1.05rem; }
/* meta row */
.meta-row { display:flex; gap:0.9rem; margin:1rem 0; flex-wrap:wrap; }
.meta { background:var(--glass); border:1px solid var(--border); padding:0.6rem 0.9rem; border-radius:10px; min-width:160px; }
.meta strong { display:block; color:var(--mono); font-size:0.86rem; }
/* actions */
.actions { display:flex; gap:0.7rem; margin-top:1rem; }
.btn {
background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
color:#061112;
padding:0.6rem 0.9rem;
border-radius:10px;
text-decoration:none;
font-weight:600;
border:none;
cursor:pointer;
box-shadow: 0 8px 24px rgba(0,255,213,0.06);
}
.btn-ghost {
background:transparent;
color:var(--muted);
border:1px solid var(--border);
padding:0.6rem 0.9rem;
border-radius:10px;
text-decoration:none;
}
/* terminal card */
.terminal {
border-radius: var(--radius);
background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.006));
border:1px solid var(--border);
padding:0.6rem;
box-shadow: 0 10px 30px rgba(1,2,4,0.5);
}
.term-top { display:flex; align-items:center; gap:0.6rem; padding:0.5rem 0.6rem; }
.term-title { color:var(--muted); font-size:0.9rem; }
.dot { width:10px; height:10px; border-radius:50%; display:inline-block; }
.dot.red { background:#ff5f56; }
.dot.yellow { background:#ffbd2e; }
.dot.green { background:#27c93f; }
.term-body {
margin:0;
padding:0.6rem;
color:#bfeee3;
font-family: "Courier New", monospace;
font-size:0.86rem;
white-space:pre-wrap;
border-top: 1px dashed rgba(255,255,255,0.02);
}
/* sections */
.section { padding:2rem 0; }
.section-title { margin:0 0 1rem 0; font-size:1.12rem; color:var(--mono); }
/* about */
.about-grid { display:grid; grid-template-columns: 1fr 320px; gap:1.2rem; align-items:start; }
.about-list { display:flex; flex-direction:column; gap:0.8rem; color:var(--muted); }
/* cards */
.card {
background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.006));
border: 1px solid var(--border);
padding: 1rem;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(2,6,8,0.45);
}
/* education */
.card-row { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.school h3 { margin:0; font-size:1.05rem; }
.years { color:var(--muted); font-size:0.95rem; }
/* skills */
.skills-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:1rem; margin-top:1rem; }
.skill-card { padding:1rem; border-radius:10px; }
/* projects */
.project-list { display:grid; gap:1rem; margin-top:1rem; }
.project { padding:1rem; border-radius:12px; background:linear-gradient(180deg, rgba(255,255,255,0.006), transparent); border:1px solid var(--border); }
.proj-header { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.proj-meta { margin-top:0.6rem; color:var(--muted); font-size:0.92rem; }
/* contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap:1rem; align-items:start; }
.contact-card.small { max-width:100%; }
.contact-form .field { display:block; margin-bottom:0.9rem; }
.contact-form .label { display:block; margin-bottom:0.25rem; color:var(--mono); font-size:0.85rem; }
.contact-form input, .contact-form textarea {
width:100%;
border-radius:8px;
background:transparent;
border:1px solid var(--border);
padding:0.6rem;
color:inherit;
font-size:0.95rem;
resize:vertical;
}
.form-actions { display:flex; gap:0.6rem; align-items:center; margin-top:0.6rem; flex-wrap:wrap; }
/* footer */
.site-footer {
position:fixed;
left:0; right:0; bottom:0;
padding:0.6rem 0;
background: linear-gradient(180deg, rgba(7,12,15,0.96), rgba(7,12,15,0.99));
border-top:1px solid var(--border);
}
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; width:min(var(--max-width), calc(100% - 2*var(--container-pad))); margin:0 auto; color:var(--muted); font-size:0.95rem; }
.footer-right a { color:var(--muted); text-decoration:none; margin-left:0.9rem; }
.footer-right a:hover { color:var(--accent); }
/* accessibility */
a:focus, button:focus, input:focus, textarea:focus { outline: 2px dashed rgba(0,255,213,0.12); outline-offset:4px; }
/* responsive */
@media (max-width: 980px) {
.hero-grid { grid-template-columns: 1fr; }
.about-grid { grid-template-columns:1fr; }
.hero-right { order:-1; } /* show terminal first on smaller screens */
.skills-grid { grid-template-columns: repeat(2,1fr); }
.contact-grid { grid-template-columns:1fr; }
.nav {
position: absolute;
right: 12px;
top: 66px;
width: calc(100% - 24px);
background: linear-gradient(180deg, rgba(7,16,24,0.98), rgba(7,16,24,0.98));
border-radius: 12px;
padding: 0.8rem;
display:none;
box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}
.nav.open { display:block; }
.nav ul { display:flex; flex-direction:column; gap:0.4rem; }
.nav a { padding:0.8rem 1rem; font-size:1rem; border-radius:8px; }
.nav-toggle { display:flex; align-items:center; justify-content:center; }
}
@media (max-width: 640px) {
.skills-grid { grid-template-columns: 1fr; }
.brand-text { display:none; }
.header-inner { padding: 0 0.4rem; }
.tagline { font-size:1rem; }
.meta { min-width: 120px; padding:0.5rem; }
}
/* small polish */
.muted { color:var(--muted); }