-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
124 lines (104 loc) · 1.59 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root {
--dark-bg: rgba(15, 15, 15, 0.97);
font-family: 'Roboto', sans-serif;
font-weight: 400;
font-style: normal;
}
body,html {
margin: 0;
padding: 0;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
color: white;
}
.container {
display: flex;
height: 100vh;
flex-grow: 1;
}
.text {
width: 50%;
background: black;
}
#canvasContainer {
width: 50%;
height: 100%;
}
canvas {
display: block;
}
header {
font-size: 2.5rem;
padding: 2rem;
}
blockquote p {
color: black;
background-color: white;
font-size: 4rem;
display: inline;
line-height: 1;
}
.sub-text {
padding: 10px 40px;
}
.sub-text p {
font-size: 2rem;
}
.location {
height: 100%;
width: 50%;
position: fixed;
top: 0;
left: 0;
z-index: 1;
background-color: var(--dark-bg);
}
.hidden {
display: none;
}
.note {
font-size: 24px !important;
}
.overlay-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 80px;
}
img {
height: 400px;
}
.overlay-p{
font-size: 1.5rem;
}
.close {
position: absolute;
right: 32px;
top: 32px;
width: 32px;
height: 32px;
opacity: 0.3;
}
.close:hover {
opacity: 1;
}
.close:before, .close:after {
position: absolute;
left: 15px;
content: ' ';
height: 33px;
width: 2px;
background-color: rgb(241, 231, 231);
}
.close:before {
transform: rotate(45deg);
}
.close:after {
transform: rotate(-45deg);
}