-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
104 lines (85 loc) · 1.78 KB
/
index.css
File metadata and controls
104 lines (85 loc) · 1.78 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
@import "tailwindcss";
html,
body,
#root {
height: 100%;
}
html,
body {
overscroll-behavior: none;
text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
:root {
--app-height: 100dvh;
--ui-scale: 1;
--mobile-dock-h: 0px;
--mobile-viewport-width: 100vw;
--mobile-breakpoint-width: 100vw;
--header-action-h: 2.75rem;
--preview-padding: 1rem;
}
:root[data-mobile-ui='true'] {
font-size: calc(16px * var(--ui-scale, 1));
--header-action-h: 2.75rem;
--preview-padding: 0.9rem;
}
:root[data-mobile-compact='true'] .mobile-compact-hide {
display: none !important;
}
:root[data-mobile-tight='true'] .mobile-tight-hide {
display: none !important;
}
@media (pointer: coarse) and (max-width: 980px) {
:root {
font-size: calc(16px * var(--ui-scale, 1));
--header-action-h: 2.75rem;
--preview-padding: 0.9rem;
}
}
@media (pointer: coarse) and (max-width: 760px), (max-width: 520px) {
.mobile-compact-hide {
display: none !important;
}
}
@media (pointer: coarse) and (max-width: 430px), (max-width: 390px) {
.mobile-tight-hide {
display: none !important;
}
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.safe-area-top {
padding-top: env(safe-area-inset-top);
}
.safe-area-bottom {
padding-bottom: env(safe-area-inset-bottom);
}
.touch-no-select,
.touch-no-select *:not(input):not(textarea):not([contenteditable='true']) {
user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
}
body {
margin: 0;
}
.annotationLayer {
pointer-events: none;
}
.annotationLayer section,
.annotationLayer a {
pointer-events: none;
}