-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathapp.scss
48 lines (40 loc) · 1022 Bytes
/
app.scss
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
@import './variable-declarations.scss';
html,
body {
margin: 0;
overflow: hidden;
/* disable scroll to reload, https://stackoverflow.com/a/70579685/3022127 */
font-size: 20px;
/* Set the base font size to 16px */
}
button {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
}
a {
color: $text-color;
user-select: none;
-webkit-user-drag: none;
}
* {
box-sizing: border-box;
/* disable text selection (svg icons are also text...) */
-webkit-user-select: none;
/* Safari */
-ms-user-select: none;
/* IE 10 and IE 11 */
user-select: none;
/* Standard syntax */
/* preventing the long press context menu, https://stackoverflow.com/a/56866766/3022127 */
-webkit-touch-callout: none !important;
-webkit-user-select: none !important;
/* preventing iOS tap highlight */
-webkit-tap-highlight-color: transparent;
/* Disable browser handling of all panning and zooming gestures, except for regular scrolling */
touch-action: pan-y;
}