-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
212 lines (190 loc) · 3.5 KB
/
Copy pathstyle.css
File metadata and controls
212 lines (190 loc) · 3.5 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
* {
box-sizing: border-box;
}
body {
margin: 0;
background: #aae7c2;
color: #000000;
font-family: "Helvetica Neue", Arial, sans-serif;
}
#all-contents {
max-width: 1500px;
min-height: 100vh;
margin: 0 auto;
padding: 32px 40px;
}
main {
display: grid;
grid-template-columns: minmax(220px, 1fr) minmax(420px, 1.6fr);
align-items: center;
min-height: calc(100vh - 160px);
gap: clamp(32px, 5vw, 80px);
}
.sidebar {
width: 100%;
}
.content {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
h2 {
margin: 0;
font-size: clamp(4rem, 10vw, 7rem);
line-height: 0.9;
font-weight: 900;
letter-spacing: -0.04em;
text-transform: uppercase;
color: #5a163d;
}
.content > p {
margin: 0;
color: #85104f;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.15em;
line-height: 1.4;
}
#interests {
margin-top: 32px;
width: 100%;
}
#interests h3 {
margin: 0 0 12px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.2em;
color: #26671c;
}
#interests ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
#interests li {
color: #ff0000;
font-size: 1rem;
font-weight: 600;
padding: 10px 20px;
background: #7d2424;
border: 1px solid #5a137b;
border-radius: 100px;
transition:
background 0.25s ease,
color 0.25s ease,
transform 0.25s ease;
cursor: default;
}
#interests li:hover {
background: #000;
color: #fa0000;
border-color: #cd2b2b;
transform: translateY(-2px);
}
.sidebar-img {
width: 100%;
max-width: 760px;
aspect-ratio: 3 / 4;
object-fit: cover;
display: block;
border-radius: 16px;
filter: grayscale(100%);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.sidebar-img:hover {
filter: grayscale(0%);
transform: translateY(-4px);
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 48px;
padding: 16px 24px;
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 12px;
}
nav h1 {
margin: 0;
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.2em;
color: #5d2274;
}
#nav-ul {
list-style: none;
display: flex;
gap: 8px;
margin: 0;
padding: 0;
}
.nav-li a {
color: #ff0000;
text-decoration: none;
font-size: 0.85rem;
font-weight: 500;
padding: 6px 14px;
border-radius: 8px;
transition:
background 0.25s ease,
color 0.25s ease;
}
.nav-li a:hover {
background: #000000;
color: #fff;
}
/* Portfolio styles */
.content h1 {
color: black;
}
#portfolio {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
display: flex;
flex-direction: column;
gap: 8px;
}
#portfolio li {
border-radius: 12px;
overflow: hidden;
}
#portfolio a {
display: flex;
justify-content: space-between;
align-items: center;
text-decoration: none;
color: #444;
padding: 16px 20px;
font-size: 1.1rem;
font-weight: 500;
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 12px;
transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
#portfolio a:hover {
background: #000;
color: #fff;
transform: translateX(4px);
}
#portfolio a::after {
content: "->";
font-size: 0.85rem;
opacity: 0.4;
transition: opacity 0.25s ease;
white-space: nowrap;
}
#portfolio a:hover::after {
opacity: 1;
}