-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (97 loc) · 1.94 KB
/
style.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
108
109
110
111
112
113
114
115
116
117
html, body {
padding: 0;
margin: 0;
overflow: hidden;
}
body {
min-width: 100%;
width: 100%;
max-width: 100%;
min-height: 100%;
height: 100%;
max-height: 100%;
background: #000000;
color: white;
}
html, body, canvas {
touch-action-delay: none;
touch-action: none;
}
canvas, .c3htmlwrap {
position: absolute;
}
.c3htmlwrap {
contain: strict;
}
.c3overlay {
pointer-events: none;
}
.c3htmlwrap > * {
pointer-events: auto;
}
/* HACK - work around elements being selectable only in iOS WKWebView for some reason */
html[ioswebview] .c3htmlwrap,
html[ioswebview] canvas {
-webkit-user-select: none;
user-select: none;
}
html[ioswebview] .c3htmlwrap > * {
-webkit-user-select: auto;
user-select: auto;
}
#notSupportedWrap {
margin: 2em auto 1em auto;
width: 75%;
max-width: 45em;
border: 2px solid #aaa;
border-radius: 1em;
padding: 2em;
background-color: #f0f0f0;
font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
color: black;
}
#notSupportedTitle {
font-size: 1.8em;
}
.notSupportedMessage {
font-size: 1.2em;
}
.notSupportedMessage em {
color: #888;
}
/* bbcode styles */
.bbCodeH1 {
font-size: 2em;
font-weight: bold;
}
.bbCodeH2 {
font-size: 1.5em;
font-weight: bold;
}
.bbCodeH3 {
font-size: 1.25em;
font-weight: bold;
}
.bbCodeH4 {
font-size: 1.1em;
font-weight: bold;
}
.bbCodeItem::before {
content: " • ";
}
/* For text icons converted to HTML: size the height to the line height
preserving the aspect ratio. Also add position: relative as that allows
just adding a 'top' style for the iconoffsety style. */
.c3-text-icon {
height: 1em;
width: auto;
position: relative;
}
/* screen reader text */
.c3-screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
}