-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
188 lines (163 loc) · 3.47 KB
/
style.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
:root {
--font-poppins: Arial, Helvetica, sans-serif;
--font-size-body: 2rem;
--clr-light-grey: #202020;
--clr-white: #fff;
--bd-grey: hsla(0, 0%, 52%, 0.418);
--clr-light-tomato: rgb(255, 91, 62);
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 62.5%;
}
body {
display: grid;
min-height: 100svh;
font-family: var(--font-poppins);
font-size: var(--font-size-body);
font-weight: 400;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
.profile-image {
display: block;
width: 100%;
height: 100%;
filter: contrast(1.1) saturate(1.2);
}
.profile {
display: flex;
flex-direction: column;
justify-content: space-between;
background: linear-gradient(90deg, #b4defa 2%, #fadae4, rgb(241, 233, 196) 93%);
color: var(--clr-light-grey);
padding: 3rem 2rem 0 2rem;
text-align: center;
}
.profile h2 {
font-size: 2rem;
font-weight: 400;
animation: fade-in ease-in-out 1s alternate;
}
h1, h2:not(.my-goals h2) {
text-transform: uppercase;
}
h1 {
font-size: 5.6rem;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
overflow-wrap: break-word;
line-height: 1;
margin-block-start: 0.3em;
letter-spacing: 3px;
animation: fade-in ease-in-out 1s alternate;
}
.job-title {
margin-block-start: 0.3em;
}
.my-goals {
padding: 4rem 2rem;
border-radius: 6px;
border-top: 1.75px solid var(--bd-grey);
border-bottom: 1.2px solid var(--bd-grey);
margin-block-start: 40px;
}
.my-goals h2 {
font-size: 3rem;
font-weight: 600;
animation: fade-in ease-in-out 1s alternate;
}
.my-goals p {
text-wrap: pretty;
margin-block-end: 0.3em;
animation: fade-in ease-in-out 1s alternate;
}
.my-goals a {
color: var(--clr-light-grey);
transition: color 0.25s ease-in-out;
font-weight: 600;
}
.my-goals a:nth-child(1):hover {
color: rgb(112, 112, 197);
}
.my-email-link {
display: inline-block;
padding: 0.4em;
margin-block-start: 0.06em;
font-weight: bold;
color: var(--clr-light-grey);
text-decoration: none;
background-color: var(--clr-white);
border-radius: 6px;
animation: fade-in ease-in-out 1s alternate;
transition: color 0.3s ease-in-out, background-image 0.6s ease-in-out 0.2s;
width: 120px;
}
.my-email-link:hover {
background-image: linear-gradient(60deg, rgb(8, 14, 17) 10%, rgb(29, 29, 29));
color: white;
}
footer {
display: flex;
flex-direction: column;
align-content: center;
padding: 3rem 4rem 0 4rem;
animation: fade-in ease-in-out 1s alternate;
}
.links-list {
list-style: none;
text-align: center;
display: flex;
flex-direction: column;
gap: 9px;
margin-block-end: 26px;
}
.links-list a {
color: var(--clr-light-grey);
text-decoration: none;
border: none;
padding-bottom: 6px;
transition: color 0.25s ease-in-out;
position: relative;
}
.links-list a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
transform-origin: center;
transform: scaleX(0);
height: 3px;
background-color: var(--clr-light-grey);
transition: all 0.3s ease-in-out;
}
.links-list a:hover::after {
transform: scaleX(100%);
}
.day-time {
text-align: center;
margin-bottom: 3px;
font-style: italic;
font-size: 1.65rem;
}
@media (min-width: 1120px) {
main {
display: grid;
grid-template-columns: 1fr 1fr;
}
}
@keyframes fade-in {
from {
opacity: 0;
translate: 0 10px;
}
to {
opacity: 1;
translate: 0 0;
}
}