-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
192 lines (173 loc) · 3.58 KB
/
style.css
File metadata and controls
192 lines (173 loc) · 3.58 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
:root {
--md-sys-color-background: #090909;
--md-sys-color-on-background: #e6e6e6;
--md-sys-color-surface: #1e1e1e;
--md-sys-color-on-surface: #ffffff;
--md-sys-color-primary: #ff7ab8;
--md-sys-color-primary-container: #4a1031;
}
* {
text-align: center;
color: white;
font-family: 'Roboto', sans-serif;
}
body, html {
height: 100%;
background-color: var(--md-sys-color-background);
}
.hero-image {
background-image: url("hero.webp");
min-height: 40vh;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
.hero-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 95vw;
padding: 0 2vw;
box-sizing: border-box;
}
h1 {
font-size: clamp(4rem, 2.875rem + 5.625vw, 9.625rem);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
margin-top: 1vw;
margin-bottom: 1vw;
line-height: 1;
}
h2 {
font-size: clamp(1.1875rem, 0.585rem + 3.0125vw, 4.2rem);
margin-top: 0vw;
margin-bottom: 1vw;
}
h3 {
font-size: 1.2rem;
}
nav {
padding: 10px 0;
display: flex;
justify-content: space-evenly;
}
/* Contact Icons */
.contact-icons {
display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
padding: 2rem 0;
margin: 0 auto;
}
.contact-icons a {
color: var(--md-sys-color-on-background);
opacity: 0.8;
transition: transform 0.2s ease, opacity 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
}
.contact-icons a:hover {
transform: scale(1.2);
opacity: 1;
}
.contact-icons a:hover svg {
fill: var(--md-sys-color-primary);
}
.contact-icons svg {
width: 32px;
height: 32px;
fill: currentColor;
transition: fill 0.2s ease;
}
a {
color: var(--md-sys-color-primary);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Projects Grid */
.projects-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
margin: 2rem auto 4rem;
padding: 0 2rem;
max-width: 800px;
}
.project-card {
background-color: var(--md-sys-color-surface);
border-radius: 12px;
padding: 1.5rem;
box-shadow: 0 4px 12px rgba(0,0,0,0.5);
transition: transform 0.2s, box-shadow 0.2s;
border-left: 4px solid var(--md-sys-color-primary);
text-decoration: none;
display: block;
color: inherit;
cursor: pointer;
}
.project-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0,0,0,0.7);
text-decoration: none;
}
.project-card h3 {
color: var(--md-sys-color-primary);
margin: 0 0 0.75rem;
font-size: 1.3rem;
}
.project-card p {
color: var(--md-sys-color-on-background);
line-height: 1.5;
margin: 0;
font-size: 0.9rem;
}
@media (max-width: 640px) {
.projects-grid {
grid-template-columns: 1fr;
}
}
/* Blog List */
.blog-list {
max-width: 800px;
margin: 0 auto 4rem;
padding: 0 2rem;
}
.blog-item {
background-color: var(--md-sys-color-surface);
border-radius: 12px;
padding: 1.5rem 2rem;
margin-bottom: 1.5rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.4);
transition: transform 0.2s, box-shadow 0.2s;
border-left: 3px solid var(--md-sys-color-primary);
}
.blog-item:hover {
transform: translateX(4px);
box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
.blog-item h3 {
color: var(--md-sys-color-primary);
margin: 0 0 0.5rem;
font-size: 1.3rem;
}
.blog-item p {
color: var(--md-sys-color-on-background);
margin: 0.5rem 0 1rem;
line-height: 1.5;
}
.blog-item a {
color: var(--md-sys-color-primary);
text-decoration: none;
font-weight: 500;
}
.blog-item a:hover {
text-decoration: underline;
}