-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (65 loc) · 1.45 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
@import url('https://fonts.googleapis.com/css?family=VT323');
body {
font-family: 'VT323', monospace;
font-weight: 400;
font-size: 3vh;
line-height: 1.5;
background-color: #1a1f2d;
color: #fafafa;
overflow: hidden;
}
h1 {
font-size: 10vh;
margin-left: 32px;
margin-right: 32px;
}
.text {
z-index: 1;
position: absolute;
display: flex;
height: 10vh;
width: 100%;
top: 10px;
margin: auto auto;
flex-direction: row;
justify-content: center;
align-items: center;
pointer-events: none;
}
canvas {
vertical-align: bottom;
z-index: 10;
}
#threeId{
/* ghostly blue */
/* filter: blur(6px) sepia(110%) brightness(100%) contrast(160%) hue-rotate(170deg); */
/* summer melty warm */
/* filter: blur(0px) sepia(0%) brightness(120%) contrast(200%) hue-rotate(80deg); */
/* weird contrasty duotonish */
filter: blur(3px) brightness(110%) contrast(1000%) hue-rotate(130deg);
}
/* prevent inertial scroll on mobile */
html, body {
position: fixed;
overflow: hidden;
}
@media (max-width: 400px) {
.text {
padding: 3vh 0;
height: 100%;
top: 0;
flex-direction: column;
justify-content: space-between;
}
h1 {
font-size: 20vh;
text-shadow: 2px 4px 16px #232323;
}
@media {
.safari10 {
.text {
height: calc(100% - 44px);
}
}
}
}