-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
60 lines (57 loc) · 1.3 KB
/
index.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
:root {
--main-dark-color: #010d28;
--main-light-color: #ffffff;
--sqrt2: 1.41421356237;
}
@font-face {
font-family: "Poppins";
src: url("./public/fonts/Poppins-Regular.ttf") format("truetype");
font-weight: 300;
font-style: normal;
font-display: auto;
}
.corner {
z-index: -1;
width: 50vh;
height: 10vh;
left: 0;
top: 0;
transform-origin: bottom left;
transform: translateY(20vh) rotate(-45deg);
position: absolute;
background-color: var(--main-dark-color);
filter: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.15))
drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15))
drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.15))
drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.15));
}
html {
background-color: var(--main-light-color);
}
body {
color: var(--main-dark-color);
font-family: "Poppins", sans-serif;
display: flex;
flex-direction: column;
}
h1 {
align-self: center;
background-color: var(--main-light-color);
border-radius: 5%;
}
h2 {
background-color: var(--main-light-color);
border-radius: 5%;
}
#pic {
width: 25%;
align-self: center;
filter: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.15))
drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15))
drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.15))
drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.15));
border-radius: 1%;
}
p {
width: 50%;
}