-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme-light.css
322 lines (267 loc) · 6.89 KB
/
theme-light.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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
/* Theme written by Robert Kirk, working off of Maggie Appleton's theme structure
Contents:
General Colours and Font
Spacing/Padding/Placement
Specific Components
Right sidebar
Topbar
Left sidebar
Query component
Filter tag buttons
Checkmark
Linked refernces
Page references
External Links
Bold/Highlight/Italics
Autocomplete Popup
Block ref Styling
Block Embed Container
Disable displaying
Logo
Intercom
Help Button
*/
/****************** COLOURS AND FONTS **************************/
/* Setting the font and main text colour */
h1, h2, h3, h4, h5, h6, div, textarea {
font-family: 'Fira Sans';
color: #657b83 !important;
}
/* Setting the main background colour*/
body {
background: #fdf6e3
}
/* Setting some more colours of components*/
.controls .simple-bullet-outer .simple-bullet-inner {
background-color: #586e75;
}
.block-border-left {
border-left: 1px solid #eee8d5;
}
/****************** PADDING/PlACEMENT **************************/
/* Make the display wider (for big screens, this can be adjusted */
.roam-block-container {
max-width: 1300px;
}
.roam-center > div {
padding-right: calc((100% - 1000px) / 2) !important;
padding-left: calc((100% - 1000px) / 2) !important;
}
.roam-block, .rm-block-input, .rm-block-text {
max-width: 1000px;
}
/* Adjusting the font-size*/
.rm-reference-main .rm-reference-item .rm-block-text {
font-size: 90%;
}
/* Padding things to make the shapes nicer */
.rm-reference-main .rm-reference-item .controls {
margin-left: -1em;
}
span.rm-page-ref {
border-radius: 2px;
padding-left: 1px;
padding-right: 1px;
}
.rm-ref-page-view {
padding: 0.1em 0.1em;
}
.roam-body .roam-app .roam-sidebar-container .roam-sidebar-content .starred-pages-wrapper .starred-pages .page {
padding: 6px;
}
div.flex-v-box.starred-pages-wrapper > div.flex-h-box > span {
font-size: 14px;
opacity: 80%;
letter-spacing: 0.04em;
}
/****************** SPECIFIC COMPONENTS **************************/
/************************* RIGHT SIDEBAR *************************/
/* Same as standard background colour */
#right-sidebar > div {
background-color: #fdf6e3;
}
/* Shadow right sidebar, instead of different background colour */
#right-sidebar {
box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px, rgba(0, 0, 0, 0.19) 0px 6px 20px 0px;
}
/**************************** TOPBAR ****************************/
/* the topbar should also have the same background, as should the sidebar */
.roam-topbar, .roam-sidbar-container {
background: #fdf6e3
}
/**** Styling USERNAME to be correct colour ****/
.bp3-popover-wrapper > .bp3-popover-target > .bp3-button > div {
color: #657b83;
}
/* Find or Create search bar */
#find-or-create-input {
background-color: #fdf6e3
}
.rm-find-or-create-wrapper {
flex-basis: 100% !important;
}
.rm-find-or-create-wrapper .bp3-menu {
max-width: none;
max-height: 400px;
}
.rm-find-or-create-wrapper .rm-menu-item {
padding: 6px;
cursor: pointer;
border-radius: 2px;
}
.rm-find-or-create-wrapper .rm-menu-item .rm-search-title {
font-weight: bold;
}
.rm-find-or-create-wrapper .rm-menu-item .rm-search-title .rm-new-page {
color: #0d8050;
}
.rm-find-or-create-wrapper .rm-menu-item .rm-search-list-item {
word-break: break-word;
color: #8a9ba8;
overflow-wrap: break-spaces;
margin-left: -20px;
}
/* POPUP MENU BUTTONS */
.bp3-popover-content {
background-color: #eee8d5 !important;
}
.bp3-menu {
background-color: #eee8d5;
color: #586e75;
}
.bp3-popover-arrow-fill {
fill: #eee8d5 !important;
}
/*********************** LEFT SIDEBAR *************************88*/
div.roam-sidebar-container.noselect > div > div {
font-size: 14px;
letter-spacing: 0.03em;
}
.roam-body .roam-app .roam-sidebar-container {
background-color: #fdf6e3;
}
.roam-body .roam-app .roam-sidebar-container .roam-sidebar-content .starred-pages-wrapper .starred-pages .page, .roam-body .roam-app .roam-sidebar-container > * {
opacity: 80%;
box-shadow: none;
}
.roam-body .roam-app .roam-sidebar-container .roam-sidebar-content .starred-pages-wrapper .starred-pages .page:hover, .roam-body .roam-app .roam-sidebar-container .roam-sidebar-content .log-button:hover {
background: #fdf6e3;
color: #586e75;
opacity: 100%;
border-radius: 2px;
}
/********************* QUERY COMPONENT *******************/
.rm-query {
border-radius: 7px;
border-width: 0px;
background: #eee8d5;
}
.rm-query .rm-query-title {
background-color: #eee8d5;
border-radius: 7px;
padding: 0.8em;
color: #93a1a1;
font-size: 80%;
}
/* Applying rm-caret styling to the query component caret */
.rm-caret {
cursor: pointer;
transition: all 100ms ease-in 0s;
opacity: 0.7;
}
/****************** FILTER TAG BUTTONS ******************/
button.bp3-button:not([class*="bpe-intent-"]) {
background-color: #eee8d5;
color: #657b83;
background-image: -webkit-gradient(linear,left top,left bottom,from(#eee8d5),to(#fdf6e3));
background-image: linear-gradient(to bottom,#eee8d5,#fdf6e3);
}
/**** CHECKMARK ****/
.checkmark {
background: #fff;
border-color: #268bd2
}
.check-container input:checked ~ .checkmark {
background: #268bd2;
}
.check-container {
padding-right: 2px;
}
/**** LINKED REFERENCES ****/
.rm-reference-item {
margin-top: 4px;
border-radius: 6px;
border: 1px solid #fdf6e3;
margin-right: 8px;
flex: 1 1 100%;
word-break: break-word;
background-color: #fdf6e3;
padding: 4px;
}
.rm-reference-main > div {
background-color: #eee8d5;
padding-top: 5px;
padding-bottom: 5px;
border-radius: 5px;
}
/* Unlinked References Strong */
.rm-reference-main > div > div > div > strong {
color: #657b83 !important;
padding-top: 4px;
}
/**** PAGE REFERENCES ****/
.rm-page-ref-link-color {
color: #859900;
font-weight: 600;
}
/**** EXTERNAL LINKS ****/
a {
color: #2aa198;
font-weight: 500;
}
/* HIGHLIGHT */
.roam-highlight {
background-color: #dc322f;
color: #fdf6e3;
border-radius: 3px;
}
/* BOLD (Including attributes) */
.roam-block strong {
color: #d33682;
}
/* ITALICS */
.roam-block em {
color: #6c71c4;
}
/* Autocomplete popup */
.bp3-elevation-3 {
background-color: #eee8d5 !important;
color: #586e75 !important;
max-height: 600px !important;
}
/************** BLOCK REF STYING **************/
.rm-block-ref {
color: #586e75;
}
/* block embed container */
.rm-embed-container {
background-color: #eee8d5;
border-radius: 5px;
}
.rm-block-ref:hover {
background: #eee8d5;
border-radius: 2px;
cursor: pointer;
}
/* DON'T DISPLAY THE LOGO*/
#roam-sidebar-logo {
display: none
}
/* hide intercom button */
.intercom-app, .intercom-launcher-frame, #intercom-container {
display: none;
}
/* Hide help button */
#buffer {
display: none !important;
}