-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwebext-base.css
More file actions
107 lines (95 loc) · 1.7 KB
/
webext-base.css
File metadata and controls
107 lines (95 loc) · 1.7 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
105
106
107
/*! https://npm.im/webext-base-css */
:root {
color-scheme: light dark;
max-width: 700px;
margin: auto;
}
body {
/* Must be on body because both browsers have `font-size: 75%` here */
font: 16px/1.5 system-ui, sans-serif;
}
select,
textarea,
input:where(
[type='number'],
[type='password'],
[type='search'],
[type='text'],
[type='url'],
:not([type])
) {
box-sizing: border-box;
font: inherit;
line-height: 2;
}
textarea,
input:where(
[type='number'],
[type='password'],
[type='search'],
[type='text'],
[type='url'],
:not([type])
):not([size]) {
width: 100%;
}
textarea {
line-height: 1.5; /* Reset it because 2 is too big */
resize: vertical;
min-height: 3lh;
/* stylelint-disable-next-line property-no-unknown */
field-sizing: content;
}
input[type='submit'],
button {
font: inherit;
}
hr {
border: none;
border-bottom: 1px solid currentcolor;
opacity: 50%;
}
img {
vertical-align: middle;
}
kbd {
display: inline-block;
padding: 3px 5px;
font-size: 0.8em;
line-height: 10px;
color: #444d56;
vertical-align: middle;
background-color: #fafbfc;
border: 1px solid #d1d5da;
border-radius: 6px;
box-shadow: inset 0 -1px 0 #d1d5da;
}
/* Firefox-only style */
@-moz-document url-prefix('') {
@media (prefers-color-scheme: dark) {
:root {
background-color: #23222b;
}
}
}
/* iOS/iPadOS-specific style */
@supports (-webkit-text-size-adjust: none) {
@media (prefers-color-scheme: dark) {
:root {
/* Safari iOS has a black background */
background-color: #1e1e1e;
}
}
}
.text-monospace,
.monospace-field {
/* Same as GitHub style for `code` */
font-family:
ui-monospace,
SFMono-Regular,
'SF Mono',
Menlo,
Consolas,
'Liberation Mono',
monospace !important;
}