-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_css.css
107 lines (80 loc) · 1.73 KB
/
_css.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
html, body {
display: flex;
position: absolute;
overflow: hidden;
overscroll-behavior-x: none;
overscroll-behavior-y: none;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
padding: 0px;
margin: 0px;
border: 0px;
background-color: black;
zoom: 100%;
font-size: 16px;
/* font smoothing */
-webkit-font-smoothing: subpixel-antialiased;
font-smooth: always;
/* text-size-adjust fixes issue with contenteditable fonts being tiny */
text-size-adjust: 100%;
/* disable pinch-zoom browser action, but still available to JS */
touch-action: none;
/* disable left-right paging on windows surface */
-ms-scroll-chaining: none;
}
/* an attempt to deal with tiny fonts on mobile */
/* NOTE: I've read use of * can slow down rendering, so try to avoid them and see if that helps */
/*
html * {
min-height: 1px;
max-height: 999999px;
zoom: 100%;
}
*/
/* to avoid slow/choppy handling of touchmove events */
* {
touch-action: pan-y;
}
/* use border-box to make sure padding is included in dom width calculations */
* {
box-sizing: border-box;
}
* {
overflow: hidden;
}
/* avoid outlines */
/*
html * {
outline: none;
outline-style: none;
-moz-outline-style: none;
}
html * :focus {
outline: none;
outline-style: none;
-moz-outline-style: none;
}
html * :active {
outline: none;
outline-style: none;
-moz-outline-style: none;
}
*/
/* --- */
html {
outline: none;
outline-style: none;
-moz-outline-style: none;
}
* :focus {
outline: none;
outline-style: none;
-moz-outline-style: none;
}
html :active {
outline: none;
outline-style: none;
-moz-outline-style: none;
}