-
Notifications
You must be signed in to change notification settings - Fork 0
/
userContent.css
117 lines (96 loc) · 3.33 KB
/
userContent.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
/** Global **/
:root {
--tabbar-bg: #181818 !important;
--in-content-page-background: #242424 !important;
--in-content-page-color: #dfdfdf !important;
/** Page defaults to "dark" scrollbar **/
scrollbar-color: #c1c1c1 var(--in-content-page-background);
scrollbar-width: thin;
}
/** Blank pages, GitHub raw files, and local files **/
@-moz-document url-prefix("about:blank"),
regexp("^https?:\/\/raw\.githubusercontent\.com\/.*"),
url-prefix("file:///") {
html {
background-color: var(--in-content-page-background);
color: var(--in-content-page-color);
font-size: 1.25em;
}
}
/** Reader mode **/
@-moz-document url-prefix("about:reader") {
:root {
--toolbar-dark-background-color: var(--tabbar-bg);
--toolbar-dark-text-color: var(--in-content-page-color);
--reader-dark-background-color: var(--in-content-page-background);
--reader-dark-text-color: var(--in-content-page-color);
}
body.serif {
font-family: serif !important;
}
body.sans-serif {
font-family: sans-serif !important;
}
body.dark {
background-color: var(--reader-dark-background-color) !important;
color: var(--reader-dark-text-color) !important;
}
body.dark .domain {
color: #2980b9 !important;
border-bottom: 0 !important;
}
body.dark .domain:hover {
color: #5294e2 !important;
}
body.dark .toolbar {
background-color: var(--toolbar-dark-background-color) !important;
color: var(--toolbar-dark-text-color) !important;
border-right: 1px solid #666a73 !important;
}
body.dark .style-button,
body.dark .close-button {
background-image: none !important;
background-color: var(--toolbar-dark-background-color) !important;
border-color: #666a73 !important;
}
body.dark .style-button::after,
body.dark .close-button::after {
color: var(--toolbar-dark-text-color) !important;
font-size: 22px;
}
body.dark .style-button::after {
content: "Aa";
}
body.dark .close-button::after {
content: "←";
}
}
/** Home and new tab **/
@-moz-document url-prefix("about:home"), url-prefix("about:newtab") {
body {
--newtab-background-color: var(--in-content-page-background) !important;
--newtab-text-primary-color: var(--in-content-page-color) !important;
--newtab-text-secondary-color: #d7d7db !important;
--newtab-textbox-background-color: #383838 !important;
--newtab-snippets-background-color: #282828 !important;
--newtab-snippets-hairline-color: rgba(249, 249, 250, 0.2) !important;
--newtab-section-header-text-color: #d7d7db !important;
--newtab-search-wordmark-color: rgb(249, 249, 250) !important;
--newtab-icon-primary-color: rgb(249, 249, 250) !important;
--newtab-element-hover-color: rgba(249, 249, 250, 0.1) !important;
--newtab-link-primary-color: #45a1ff !important;
--newtab-search-dropdown-color: #202023 !important;
--newtab-search-dropdown-header-color: #202023 !important;
--newtab-border-secondary-color: rgba(249, 249, 250, 0.05) !important;
--newtab-search-icon-color: rgb(249, 249, 250) !important;
}
.ASRouterButton.secondary {
background-color: rgba(249, 249, 250, 0.1) !important;
}
.ASRouterButton.secondary:hover {
background-color: rgba(249, 249, 250, 0.15) !important;
}
.ASRouterButton.secondary:active {
background-color: rgba(249, 249, 250, 0.2) !important;
}
}