-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
202 lines (197 loc) · 3.97 KB
/
styles.css
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
* {
margin: 0;
padding: 0;
}
:root {
--background-clr: #004643;
--headline-clr: #fffffe;
--paragraph-clr: #abd1c6;
--button-back: #f9bc60;
--button-text: #001e1d;
--secondary-clr: #abd1c6;
--gradient: linear-gradient(to right top, #051937, #004d7a, #008793, #00bf72, #a8eb12);
--gradient2: background-image: linear-gradient(
45deg,
hsl(182deg 84% 87%) 0%,
hsl(181deg 82% 86%) 9%,
hsl(179deg 81% 85%) 18%,
hsl(178deg 82% 84%) 28%,
hsl(177deg 82% 83%) 37%,
hsl(175deg 83% 82%) 46%,
hsl(174deg 83% 81%) 54%,
hsl(172deg 83% 80%) 63%,
hsl(171deg 84% 79%) 72%,
hsl(169deg 84% 78%) 81%,
hsl(168deg 84% 77%) 89%,
hsl(166deg 83% 76%) 100%
);
}
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
box-sizing: border-box;
}
#navbar {
position: fixed;
background-color: var(--button-back);
width: 100%;
height: 60px;
top: 0;
z-index: 999;
}
a {
text-decoration: none;
}
#navbar ul {
list-style-type: none;
display: flex;
gap: 1rem;
justify-content: flex-end;
padding-right: 20px;
align-items: center;
height: 100%;
}
#navbar a {
color: var(--button-text);
font-weight: 700;
font-size: 1.4rem;
}
#navbar a:hover {
color: var(--headline-clr);
}
main {
margin-top: 60px;
}
#welcome-section {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: var(--background-clr);
}
.heading {
color: var(--headline-clr);
font-size: 8rem;
line-height: 0.9;
}
#txt-clr:hover {
color: orangered;
}
#welcome-section p {
color: var(--paragraph-clr);
font-size: 2rem;
font-style: italic;
}
#projects {
background-color: var(--secondary-clr);
padding-bottom: 2rem;
}
#projects h2 {
text-align: center;
padding: 2rem;
color: #fff;
font-size: 2rem;
}
#container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
align-items: center;
}
.project-tile {
flex-basis: 400px;
flex-shrink: 1;
text-align: center;
background-color: var(--button-text);
padding: 20px;
color: var(--headline-clr);
transition: all .2s ease-in-out;
}
.project-tile:hover {
transform: scale(1.05);
color: var(--button-back);
}
.project-tile img {
aspect-ratio: 1 / 1;
max-width: 350px;
max-height: 350px;
object-fit: cover;
margin-bottom: 10px;
}
#contact {
height: calc(100vh - 60px);
background-color: var(--background-clr);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 40px;
}
#cont-text p {
text-align: center;
font-size: 1.6rem;
color: var(--paragraph-clr);
}
#profile-link img {
width: 20px;
display: inline;
}
#profile-link {
display: flex;
gap: 10px;
align-items: center;
color: var(--paragraph-clr);
}
#profile-link:hover {
color: var(--button-back);
font-weight: 900;
}
footer {
height: 60px;
width: 100%;
background-color: var(--button-back);
display: flex;
align-items: center;
justify-content: center;
color: var(--button-text);
}
footer a {
color: var(--button-text);
font-weight: 900;
}
footer a:hover {
color: var(--headline-clr);
}
@media screen and (max-width: 480px) {
#navbar {
position: relative;
height: 45px;
}
#navbar a {
font-size: 1rem;
}
main {
margin: 0;
}
.heading {
font-size: 5rem;
}
#welcome-section p {
align-self: flex-end;
padding-right: 10px;
}
#welcome-section {
justify-content: center;
height: calc(100vh - 45px);
}
#contact {
height:100vh;
}
.project-tile {
max-width: 300px;
}
.project-tile img {
max-width: 300px;
}
}