This repository has been archived by the owner on Nov 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
userchrome.css
161 lines (135 loc) · 3.41 KB
/
userchrome.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/****************************************************
* *
* Joplin dark theme, designed by xplosionmind *
* https://tommi.space *
* *
****************************************************/
:root {
--black-ish: #111;
--white-ish: #E0E0E0;
--dark-grey: #222;
--light-grey: #BBB;
--yellow: #FCC920;
--blue: #3185FC;
--red: #D00;
--green: #20CE88;
--razzmatazz: #EC0868;
--tiny: 0.2rem;
--tinyem: 0.2em;
--small: 0.5rem;
--smallem: 0.5em;
--lessthan-regular: 0.9rem;
--regular: 1.1rem;
--regular-em: 1.1em;
--morethan-regular: 1.3rem;
--morethan-regular-em: 1.3em;
--big: 1.6rem;
--big-em: 1.6em;
--bigger: 1.8rem;
--bigger-em: 1.8em;
--twice: 2.2rem;
--height: 3.1rem;
--mastodon: 4.4rem;
--margin: 6.5rem;
--trans: .5s;
--quicktrans: .1s;
--primary: var(--yellow)
}
* {
border: 0 !important; /* remove all borders, they're ugly */
/* font: 1.1em Helvetica */ /* it doesn't work nicely */
font-family: Helvetica
}
/* change selection color (it appears darker than it should) */
::selection {
color: #222 !important;
background: var(--primary) !important;
}
/* remove notes separator in list */
.note-list *::before {
border-bottom: none !important;
}
.note-list, .sc-fzqNJr {
background: #222 !important;
}
/* differenciate notes' background in list for a better readability */
.note-list .list-item-container:nth-child(even) {
background: var(--black-ish) !important;
}
.note-list .list-item-container:nth-child(even):hover {
background: var(--primary) !important;
}
.note-list .list-item-container:nth-child(even):hover * {
color: #222 !important;
}
.side-bar>div, .fZxMYz {
background: #222 !important
}
/* add a MacOS-like thin border to separate the sidebar and the note list*/
.side-bar {
border-right: solid 1px black !important
}
.editor-toolbar {
background: none !important
}
/* highlight in yellow hovered and selected notes and notebooks */
.list-item-container:active,
.list-item-container:focus,
.list-item-container:hover {
background: var(--primary) !important;
}
.list-item-container:hover *,
.list-item-container:active *,
.list-item-container:focus * {
color: #222 !important;
}
/* new notebook and new note buttons */
.eopHcM {
background: var(--primary) !important;
border-radius: 5px !important
}
/* search icon */
.icon-search {
color: var(--primary) !important
}
/* tags in tags editor */
.css-8hn3v4-multiValue, .css-8hn3v4-multiValue *{
background: var(--primary) !important;
color: #222 !important;
text-transform: uppercase;
font-weight: bold;
border-radius: 5px !important
}
/* tags at the bottom of the page */
.tag-list span {
text-transform: uppercase;
font-weight: bold;
border-radius: 5px !important
}
/* "x" when typing in search bar*/
.fCCgEl {
color: var(--primary) !important
}
/* Fixes a display bug where the last few letters of a full-width line can't be seen */
.CodeMirror-lines {
width: 96% !important
}
/* style links in pop-up windows */
.note-property-box a {
color: var(--primary) !important
}
/* use mono font when editing stuff in popup windows */
input.form-control {
font: 1.1em "Ubuntu Mono", "Fira Code", mono !important
}
/* yellow background in active notebooks */
.kNDCeq {
background: var(--yellow) !important;
}
/* dark text color in active notebooks */
.kNDCeq a {
color: var(--dark-grey);
}
.kNDCeq a div {
color: #444;
}