-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (98 loc) · 1.95 KB
/
style.css
File metadata and controls
117 lines (98 loc) · 1.95 KB
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
@import url("https://fonts.googleapis.com/css2?family=DotGothic16&family=Manrope:wght@300;400;500;600;700&display=swap");
:root {
--black: #000000;
--white: #f5f5f5;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
user-select: none;
-moz-user-drag: none;
-webkit-user-drag: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
touch-action: none;
}
html,
body {
background-color: var(--white);
color: var(--black);
overflow: hidden;
}
a:link,
a:visited {
color: var(--black);
}
.header {
position: fixed;
justify-content: space-between;
display: flex;
padding-top: 20px;
width: 100%;
}
#header-left {
padding-left: 40px;
font-family: "Manrope", sans-serif;
font-size: 40px;
font-weight: bold;
letter-spacing: -3px;
line-height: 30px;
}
#header-right {
padding-right: 40px;
font-family: "DotGothic16", sans-serif;
font-size: 14px;
}
.instruction {
font-family: "DotGothic16", sans-serif;
}
#rotate::after {
content: "click + drag to rotate";
}
#light::after {
content: "click to move light";
}
.slider {
background-color: transparent;
-webkit-appearance: none;
appearance: none;
}
.slider::-webkit-slider-runnable-track {
background: var(--black);
height: 2px;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
}
.slider::-webkit-slider-thumb {
width: 7px;
height: 14px;
background: var(--black);
cursor: pointer;
-webkit-appearance: none;
margin-top: -7px;
border-radius: 0px;
}
@media (max-width: 480px) {
.header {
flex-direction: column;
}
.instruction {
padding-left: 40px;
}
#rotate {
margin-top: 20px;
}
#rotate::after {
content: "touch + move to rotate";
}
#light::after {
content: "touch to move light";
}
#header-right {
padding-left: 40px;
padding-right: 0;
}
}