-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
149 lines (125 loc) · 2.23 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
@font-face {
font-family: Sideboard;
src: url('fonts/Sideboard.otf');
}
html {
color: #3c3b3a;
font-family: Sideboard, Fallback, sans-serif;
}
body {
margin: 0;
padding: 0;
}
.container {
height: 100vh;
display: flex;
flex-direction: column;
}
header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 1em 2em;
}
section {
display: flex;
flex-direction: column;
align-items: center;
}
section.intro {
flex-grow: 1;
justify-content: flex-end;
}
a.btn-link {
color: #e9571e;
border: solid 1px #e9571e;
border-radius: 50px;
padding: 4px 16px;
cursor: pointer;
transition: 0.3s;
text-decoration: none;
}
a.btn-link:hover {
background-color: #e9571e;
color: white;
}
.name {
margin: 0;
position: relative;
display: flex;
align-items: center;
justify-content: center;
transform: rotate(5deg);
margin-bottom: -1.1rem;
}
.name span {
font-size: 72px;
color: #e9571e;
opacity: 0;
animation: drop 0.8s forwards;
}
.name span.with-space {
margin-left: 0.5rem;
}
.name span:nth-child(2) {
animation-delay: 0.2s;
}
.name span:nth-child(3) {
animation-delay: 0.4s;
}
.name span:nth-child(4) {
animation-delay: 0.6s;
}
.name span:nth-child(5) {
animation-delay: 0.8s;
}
.name span:nth-child(6) {
animation-delay: 1s;
}
@keyframes drop {
0% {
transform: translateY(-200px) scaleY(0.9);
}
100% {
transform: translateY(0px) scaleY(1);
opacity: 1;
}
}
p.description {
font-size: 24px;
text-align: center;
}
span.highlight {
color: #e9571e;
}
div.links {
display: flex;
flex-direction: row;
align-items: center;
gap: 36px;
}
.links a.social-media-links {
transition: 0.3s;
}
.links a.social-media-links:hover {
transform: translateY(-10px);
}
div.hole {
display: flex;
background-color: #e9571e;
width: 300px;
height: 32px;
border-radius: 50%;
}
section.works {
flex-grow: 1;
background-color: #fbce0e;
padding-block: 5rem;
--mask: radial-gradient(60.47px at 50% 82.5px, #000 99%, #0000 101%)
calc(50% - 60px) 0/120px 100%,
radial-gradient(60.47px at 50% -52.5px, #0000 99%, #000 101%) 50% 30px/120px
100% repeat-x;
-webkit-mask: var(--mask);
mask: var(--mask);
}