forked from quoid/userscripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.css
More file actions
86 lines (72 loc) · 1.31 KB
/
Copy pathapp.css
File metadata and controls
86 lines (72 loc) · 1.31 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
html {
font-size: 100%;
overflow: hidden;
}
body {
background-color: var(--color-bg-secondary);
color: var(--text-color-primary);
font: var(--text-medium);
letter-spacing: var(--letter-spacing-medium);
position: relative;
text-rendering: optimizelegibility;
width: 18rem;
-webkit-font-smoothing: antialiased;
}
/* attempts to detect iOS */
@media (hover: none) {
html {
font-size: 125%;
}
body {
width: 100vw;
}
}
@media screen and (width >= 481px) and (orientation: portrait) and (hover: none) {
body {
width: 18rem;
}
}
@media screen and (width >= 1024px) and (orientation: landscape) and (hover: none) {
body {
width: 18rem;
}
}
body.ipados {
width: 18rem;
height: 100vh;
}
body.ipados #app {
height: 100%;
}
body.ios {
height: 100vh;
width: 100vw;
}
body.ios #app {
height: 100%;
}
noscript {
display: block;
}
button {
border: none;
cursor: pointer;
padding: 0;
user-select: none;
}
button:disabled {
opacity: var(--opacity-disabled);
pointer-events: none;
}
a,
.link {
background: none;
color: var(--color-blue);
cursor: pointer;
text-decoration: underline;
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}