Open History to see the last commit
1@font-face {
2 font-family: Caveat;
3 src: url("/Caveat.ttf") format("truetype");
4 font-display: swap;
5}
6:root {
7 color-scheme: light;
8 --ink: #4d5d51;
9 --paper: #f9f2df;
10 --blue: #214e8c;
11 --muted: #81836c;
12 font:
13 15px system-ui,
14 sans-serif;
15 color: var(--ink);
16 background: #183f78;
17}
18* {
19 box-sizing: border-box;
20}
21body {
22 margin: 0;
23 min-height: 100dvh;
24 background: radial-gradient(ellipse at top, #375f93, #17385e);
25}
26button,
27input,
28textarea,
29select {
30 font: inherit;
31}
32button {
33 cursor: pointer;
34 border: 1px solid #c7c4b5;
35 border-radius: 7px;
36 background: #f8f4e8;
37 color: var(--ink);
38 padding: 8px 13px;
39}
40button:hover {
41 background: #fff;
42}
43button:disabled {
44 opacity: 0.5;
45 cursor: default;
46}
47button.primary {
48 background: var(--blue);
49 border-color: var(--blue);
50 color: white;
51}
52button.quiet {
53 border-color: transparent;
54 background: transparent;
55}
56input,
57textarea,
58select {
59 border: 1px solid #c6c4b6;
60 background: #fffdf7;
61 border-radius: 5px;
62 padding: 10px;
63 color: #323b34;
64}
65input:focus-visible,
66textarea:focus-visible,
67button:focus-visible,
68select:focus-visible {
69 outline: 3px solid #608dd0;
70 outline-offset: 2px;
71}
72a {
73 color: var(--blue);
74}
75.shell {
76 max-width: 1180px;
77 margin: auto;
78 padding: 16px;
79}
80.masthead {
81 display: flex;
82 align-items: center;
83 gap: 14px;
84 color: #f4f2de;
85 margin: 0 3px 12px;
86}
87.brand-name {
88 font-size: 13px;
89 font-weight: 500;
90 letter-spacing: 0.05em;
91}
92.lamp {
93 width: 8px;
94 height: 8px;
95 display: inline-block;
96 background: #b2c69c;
97 border-radius: 50%;
98 margin-right: 6px;
99}
100.connection {
101 margin-left: auto;
102 font-size: 12px;
103 opacity: 0.9;
104}
105.masthead button {
106 color: #f4f2de;
107 border-color: #ffffff30;
108 background: #ffffff0d;
109}
110.notebook {
111 background: var(--paper);
112 border: 1px solid #aaa28b;
113 border-radius: 17px;
114 box-shadow: 0 18px 55px #00112870;
115 overflow: hidden;
116 position: relative;
117}
118.login {
119 max-width: 460px;
120 margin: 9vh auto;
121 padding: 38px 38px 32px 47px;
122}
123.login h1 {
124 font-family: Caveat, cursive;
125 font-size: 42px;
126 line-height: 1.05;
127 margin: 12px 0;
128}
129.login p {
130 line-height: 1.5;
131}
132.login label {
133 display: grid;
134 gap: 6px;
135 margin-top: 18px;
136 font-size: 13px;
137}
138.login .actions {
139 display: flex;
140 gap: 8px;
141 flex-wrap: wrap;
142 margin-top: 24px;
143}
144.small {
145 font-size: 12px;
146 color: var(--muted);
147}
148.error {
149 color: #9b3e2e;
150 white-space: pre-wrap;
151}
152.notebook {
153 --margin-line: #a54b3038;
154 background:
155 linear-gradient(
156 90deg,
157 transparent 24px,
158 var(--margin-line) 24px,
159 var(--margin-line) 25px,
160 transparent 25px
161 ),
162 repeating-linear-gradient(0deg, transparent 0 3.5px, #80604508 3.5px 4px),
163 var(--paper);
164}
165.notebook::before,
166.notebook::after {
167 content: "";
168 position: absolute;
169 z-index: 4;
170 pointer-events: none;
171 top: 0;
172 bottom: 0;
173}
174.notebook::before {
175 width: 10px;
176 left: 0;
177 background: linear-gradient(90deg, #9a7c62, #735439);
178}
179.notebook::after {
180 width: 1px;
181 left: 5px;
182 background: repeating-linear-gradient(
183 0deg,
184 #f9f2df80 0 4px,
185 transparent 4px 10px
186 );
187}
188.lamp.offline {
189 background: #ad9f86;
190}
191.jol-logo {
192 display: block;
193 flex: none;
194 width: auto;
195 height: 36px;
196}
197.workspace {
198 display: grid;
199 grid-template-columns: 0 minmax(0, 1fr);
200 grid-template-rows: minmax(0, 1fr);
201 height: calc(100dvh - 84px);
202 min-height: 330px;
203 transition: grid-template-columns 200ms ease;
204}
205.workspace.sidebar-open {
206 grid-template-columns: 176px minmax(0, 1fr);
207}
208.sidebar {
209 width: 176px;
210 display: flex;
211 flex-direction: column;
212 gap: 9px;
213 min-height: 0;
214 transform: translateX(-100%);
215 transition: transform 200ms ease;
216 background: #80604507;
217 border-right: 1px solid #80604526;
218 padding: 54px 10px 11px 28px;
219}
220.sidebar-open .sidebar {
221 transform: translateX(0);
222}
223.sidebar h2,
224.sidebar-note {
225 font:
226 15px Caveat,
227 cursive;
228 margin: 0 0 2px 8px;
229 color: var(--muted);
230}
231.expedition-list {
232 min-height: 0;
233 overflow: auto;
234 flex: 1;
235}
236.expedition {
237 display: block;
238 width: 100%;
239 text-align: left;
240 border: 0;
241 background: transparent;
242 margin: 0 0 4px;
243 padding: 8px;
244 font:
245 18px/1.14 Caveat,
246 cursive;
247}
248.expedition:hover {
249 background: #8060450c;
250}
251.expedition.active {
252 background: #80604519;
253}
254.expedition-name {
255 display: -webkit-box;
256 -webkit-line-clamp: 2;
257 -webkit-box-orient: vertical;
258 overflow: hidden;
259 overflow-wrap: anywhere;
260}
261.expedition small {
262 display: flex;
263 align-items: center;
264 gap: 5px;
265 font:
266 14px Caveat,
267 cursive;
268 color: var(--muted);
269 margin-top: 5px;
270}
271.writing-dot {
272 width: 4px;
273 height: 4px;
274 border-radius: 50%;
275 background: #a2543b;
276}
277.more-expeditions {
278 font:
279 14px Caveat,
280 cursive;
281 padding: 6px 8px;
282}
283.device-picker,
284.device-popup {
285 background: #f3ead3;
286 border: 1px solid #80604535;
287 border-radius: 7px;
288 color: var(--ink);
289 font-size: 12px;
290}
291.device-picker {
292 display: flex;
293 align-items: center;
294 justify-content: space-between;
295 gap: 3px;
296 padding: 5px 6px;
297}
298.device-picker > span:first-child {
299 text-overflow: ellipsis;
300 overflow: hidden;
301 white-space: nowrap;
302}
303.device-picker svg {
304 width: 13px;
305 height: 13px;
306 transform: rotate(-90deg);
307}
308.device-popup {
309 z-index: 10;
310 min-width: 140px;
311 padding: 4px;
312 box-shadow: 0 5px 16px #271f2035;
313}
314.device-popup [role="option"] {
315 display: flex;
316 justify-content: space-between;
317 gap: 12px;
318 padding: 7px 9px;
319 border-radius: 4px;
320 cursor: default;
321}
322.device-popup [data-highlighted] {
323 background: #80604522;
324 outline: none;
325}
326.journal {
327 display: flex;
328 min-height: 0;
329 min-width: 0;
330 flex-direction: column;
331 position: relative;
332 overflow: hidden;
333 --page-inset: 36px;
334}
335.sidebar-open .journal {
336 --page-inset: 20px;
337}
338.toolbar {
339 display: grid;
340 grid-template-columns: minmax(36px, 1fr) auto minmax(36px, 1fr);
341 gap: 8px;
342 align-items: center;
343 flex-shrink: 0;
344 min-height: 47px;
345 padding: 6px 10px 6px var(--page-inset);
346}
347.toolbar h1 {
348 font:
349 23px/1 Caveat,
350 cursive;
351 margin: 0;
352 text-align: center;
353 white-space: nowrap;
354}
355.tools {
356 justify-self: end;
357 display: flex;
358 align-items: center;
359 background: #fffdf64a;
360 border: 1px solid #80604526;
361 border-radius: 99px;
362}
363.tool-button {
364 display: grid;
365 place-items: center;
366 padding: 0;
367 width: 34px;
368 height: 32px;
369 border: 0;
370 border-radius: 99px;
371 background: transparent;
372}
373.toolbar > .tool-button {
374 background: #fffdf653;
375 border: 1px solid #80604526;
376 width: 37px;
377}
378.tool-button svg {
379 width: 18px;
380 height: 18px;
381}
382.pages {
383 flex: 1;
384 min-height: 0;
385 overflow: auto;
386 overflow-anchor: none;
387 padding: 16px 20px 24px var(--page-inset);
388}
389.page {
390 max-width: 640px;
391 margin: 0 auto;
392}
393.page-heading {
394 margin: 0 0 19px;
395}
396.page-heading time,
397.entry-label {
398 color: var(--muted);
399 font:
400 15px Caveat,
401 cursive;
402}
403.page-heading h2 {
404 margin: 3px 0 0;
405 font:
406 29px/1.05 Caveat,
407 cursive;
408}
409.new-page {
410 margin-top: 14px;
411}
412.new-page p,
413.journal-status {
414 color: var(--muted);
415 font:
416 18px Caveat,
417 cursive;
418 margin: 6px 0;
419}
420.entry {
421 margin: 0 0 22px;
422}
423.entry-label {
424 display: flex;
425 justify-content: space-between;
426 gap: 12px;
427 margin-bottom: 5px;
428 letter-spacing: 0.2px;
429}
430.entry-label time {
431 white-space: nowrap;
432}
433.handwriting,
434.signature {
435 font:
436 19px/1.42 Caveat,
437 cursive;
438}
439.handwriting,
440.typewritten,
441.receipt {
442 white-space: pre-wrap;
443 overflow-wrap: anywhere;
444}
445.signature {
446 color: var(--muted);
447 display: block;
448 margin-top: 6px;
449}
450.entry-activity .handwriting {
451 color: var(--muted);
452}
453.typewritten {
454 font:
455 13px/1.5 "Courier New",
456 monospace;
457}
458.scrap,
459.receipt,
460.polaroid {
461 background: #fffef9;
462 position: relative;
463 box-shadow: 1px 2px 4px #34261226;
464}
465.scrap {
466 padding: 12px 14px;
467 margin: 8px 0 5px;
468}
469.scrap::before,
470.scrap::after,
471.polaroid::before,
472.receipt::before {
473 content: "";
474 position: absolute;
475 pointer-events: none;
476 width: 46px;
477 height: 16px;
478 top: -7px;
479 left: 15px;
480 transform: rotate(-10deg);
481 background: linear-gradient(110deg, #dbd1a366, #fff9d59c 51%, #dbd1a388);
482 clip-path: polygon(
483 1% 4%,
484 99% 0,
485 96% 24%,
486 100% 41%,
487 97% 62%,
488 100% 100%,
489 0 98%,
490 3% 71%,
491 0 49%,
492 3% 28%
493 );
494}
495.scrap::after {
496 left: auto;
497 right: 13px;
498 top: auto;
499 bottom: -6px;
500 transform: rotate(-8deg);
501}
502.details {
503 margin-top: 8px;
504}
505.details-trigger {
506 display: inline-flex;
507 align-items: center;
508 gap: 3px;
509 border: 0;
510 padding: 2px 4px 2px 0;
511 background: transparent;
512 font:
513 12px "Courier New",
514 monospace;
515 color: var(--muted);
516}
517.details-trigger svg {
518 width: 12px;
519 height: 12px;
520 opacity: 0.7;
521}
522.details-trigger[data-panel-open] svg {
523 transform: rotate(90deg);
524}
525.receipt {
526 font:
527 12px/1.45 "Courier New",
528 monospace;
529 padding: 10px;
530 margin: 9px 0 1px;
531}
532.details [data-open] .receipt {
533 max-height: 180px;
534 overflow: auto;
535}
536.receipt::before {
537 left: 17px;
538 width: 35px;
539 height: 12px;
540}
541.polaroid {
542 max-width: 320px;
543 margin: 16px 10px;
544 padding: 12px 12px 8px;
545 transform: rotate(-1.7deg);
546}
547.polaroid::before {
548 left: calc(50% - 27px);
549 width: 54px;
550 height: 18px;
551 transform: rotate(-5deg);
552}
553.polaroid img,
554.photo-placeholder {
555 display: block;
556 aspect-ratio: 1;
557 object-fit: cover;
558 width: 100%;
559 border: 1px solid #80604526;
560 background: #e7e1cf;
561}
562.photo-placeholder {
563 display: grid;
564 place-items: center;
565 font:
566 18px Caveat,
567 cursive;
568 color: var(--muted);
569}
570.polaroid figcaption {
571 font:
572 20px/1.15 Caveat,
573 cursive;
574 padding: 8px 4px 10px;
575 min-height: 60px;
576}
577.composer {
578 width: 100%;
579 max-width: calc(660px + var(--page-inset));
580 margin: 0 auto;
581 padding: 6px 20px 13px var(--page-inset);
582 flex-shrink: 0;
583}
584.compose-field {
585 display: flex;
586 align-items: center;
587 gap: 8px;
588 border: 1px solid #4d5d5125;
589 background: #4d5d510a;
590 border-radius: 8px;
591 padding: 7px 8px 7px 10px;
592}
593.compose-field:focus-within {
594 border-color: #4d5d5152;
595}
596.compose-field textarea {
597 min-width: 0;
598 flex: 1;
599 padding: 4px 0;
600 resize: vertical;
601 min-height: 26px;
602 max-height: 130px;
603 border: 0;
604 background: transparent;
605 font:
606 13px/1.35 "Courier New",
607 monospace;
608}
609.compose-field textarea:focus-visible {
610 outline: none;
611}
612.send-button {
613 display: grid;
614 place-items: center;
615 padding: 0;
616 width: 27px;
617 height: 27px;
618 border: 0;
619 border-radius: 50%;
620 background: transparent;
621}
622.send-button svg {
623 width: 25px;
624 height: 25px;
625}
626.compose-status {
627 margin: 5px 1px 0;
628 font-size: 11px;
629 color: var(--muted);
630}
631.compose-status:empty {
632 display: none;
633}
634.compose-status.error {
635 color: #9b3e2e;
636}
637.delivery {
638 font-size: 12px;
639 padding: 5px 0;
640 color: var(--muted);
641 overflow-wrap: anywhere;
642}
643.delivery button {
644 padding: 3px 7px;
645 margin-left: 8px;
646 font-size: 11px;
647}
648.connecting {
649 color: #fff;
650 text-align: center;
651 padding: 20vh 20px;
652}
653.load-older {
654 font:
655 15px Caveat,
656 cursive;
657 padding: 3px 7px;
658 margin-bottom: 10px;
659}
660[hidden] {
661 display: none !important;
662}
663
664@media (max-width: 680px) {
665 .shell {
666 padding: 8px;
667 }
668 .brand-name {
669 display: none;
670 }
671 .jol-logo {
672 height: 30px;
673 }
674 .masthead {
675 gap: 7px;
676 margin: 2px 2px 8px;
677 }
678 .masthead button {
679 font-size: 12px;
680 padding: 5px 8px;
681 }
682 .connection {
683 font-size: 11px;
684 }
685 .workspace,
686 .workspace.sidebar-open {
687 grid-template-columns: minmax(0, 1fr);
688 height: calc(100dvh - 59px);
689 }
690 .sidebar {
691 position: absolute;
692 z-index: 3;
693 inset: 47px auto 0 10px;
694 padding: 12px 10px 10px 18px;
695 transform: translateX(calc(-100% - 10px));
696 background: #f5ecd5;
697 box-shadow: 5px 0 16px #2a211626;
698 }
699 .workspace .journal {
700 --page-inset: 27px;
701 }
702 .toolbar {
703 gap: 3px;
704 padding-right: 6px;
705 }
706 .toolbar h1 {
707 font-size: 20px;
708 }
709 .tool-button {
710 width: 29px;
711 }
712 .pages,
713 .composer {
714 padding-right: 12px;
715 }
716 .login {
717 margin: 5vh auto;
718 padding: 30px;
719 }
720}
721@media (prefers-reduced-motion: reduce) {
722 * {
723 transition: none !important;
724 }
725}