-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.css
More file actions
156 lines (144 loc) · 5.46 KB
/
info.css
File metadata and controls
156 lines (144 loc) · 5.46 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
/* --------- ROOT COLORS --------- */
:root {
--bg: #0b0b0b;
--bg-alt: #151515;
--text: #f1f1f1;
--muted: #b7b7b7;
--accent: #ffffff;
--stroke: #2a2a2a;
--radius: 16px;
--shadow: 0 10px 30px rgba(0,0,0,.35);
--font-title: "Poppins", sans-serif;
--font-body: "Inter", sans-serif;
}
/* --------- GLOBAL --------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; }
img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: inherit; text-decoration: none; transition: 0.25s ease; }
.container { width: min(1100px, 92%); margin-inline: auto; }
/* --------- HEADER --------- */
.site-header {
position: sticky; top: 0; z-index: 50;
background: rgba(11,11,11,0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--stroke);
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.brand { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.logo {
background: #fff; color: #000; font-weight: 700;
display: grid; place-items: center;
width: 36px; height: 36px; border-radius: 10px;
}
.menu { display: flex; gap: 1rem; align-items: center; }
.menu a {
padding: 8px 12px; border-radius: 12px;
font-weight: 500; opacity: 0.85;
}
.menu a:hover { background: var(--bg-alt); opacity: 1; }
/* --------- BUTTONS --------- */
.btn {
padding: 10px 16px; border-radius: 12px; font-weight: 600;
border: 1px solid var(--stroke);
background: var(--bg-alt); box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: #000; border-color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--stroke); }
/* --------- HERO --------- */
.hero { padding: 70px 0; border-bottom: 1px solid var(--stroke); }
.hero-grid {
display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.eyebrow { text-transform: uppercase; font-size: .75rem; letter-spacing: .15em; color: var(--muted); }
.hero h1 {
font-family: var(--font-title); font-size: clamp(1.8rem, 3.5vw, 3rem);
line-height: 1.2; margin: 10px 0;
}
.hero h1 span {
background: #fff; color: #000; padding: 0 6px; border-radius: 6px;
}
.sub { color: var(--muted); margin-bottom: 20px; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 18px; }
.socials { display: flex; gap: .6rem; }
.socials a {
display: grid; place-items: center;
width: 36px; height: 36px; border-radius: 8px;
background: var(--bg-alt); border: 1px solid var(--stroke);
font-weight: 600;
}
.socials a:hover { background: #fff; color: #000; }
/* --------- SECTIONS --------- */
.section { padding: 70px 0; border-bottom: 1px solid var(--stroke); }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: 30px; }
.section h2 {
font-family: var(--font-title);
font-size: clamp(1.4rem, 2.2vw, 2rem);
margin-bottom: 8px;
}
.section p { color: var(--muted); }
/* --------- CARDS (WORK) --------- */
.grid.cards {
display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
.card {
background: var(--bg-alt);
border: 1px solid var(--stroke);
border-radius: var(--radius);
overflow: hidden;
transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 16px; }
.card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.card p { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
font-size: .75rem; padding: 5px 10px;
border: 1px dashed var(--stroke); border-radius: 999px;
color: var(--muted);
}
/* --------- ABOUT --------- */
.about-grid {
display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}
.facts {
list-style: none; display: grid; gap: 10px; padding: 0; margin: 0;
}
.facts li {
background: var(--bg); border: 1px solid var(--stroke);
padding: 10px 14px; border-radius: 10px;
}
/* --------- SKILLS --------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
padding: 8px 14px; border-radius: 999px;
background: var(--bg-alt); border: 1px solid var(--stroke);
font-weight: 600;
}
.chips span:hover { background: #fff; color: #000; border-color: #fff; }
/* --------- CONTACT --------- */
.contact {
display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.contact-card {
background: var(--bg); border: 1px solid var(--stroke);
border-radius: var(--radius); padding: 18px;
display: grid; gap: 8px;
}
.contact-card a { color: var(--muted); }
.contact-card a:hover { color: #fff; }
/* --------- FOOTER --------- */
.site-footer {
text-align: center; padding: 20px 0; color: var(--muted);
border-top: 1px solid var(--stroke);
}
/* --------- RESPONSIVE --------- */
@media (max-width: 880px) {
.hero-grid, .about-grid, .contact { grid-template-columns: 1fr; }
.hero-media { order: -1; }
}