Skip to content

Commit 3cb72d5

Browse files
committed
Update compiled CSS
1 parent 2c8c6b9 commit 3cb72d5

File tree

2 files changed

+1624
-48
lines changed

2 files changed

+1624
-48
lines changed

main.css

+94-48
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
11
@charset "UTF-8";
2+
/* ****************************
3+
************** Root ***********
4+
*******************************/
5+
:root {
6+
--ls-font-family: "Inter";
7+
--ls-main-content-max-width: 1000px;
8+
--ls-main-content-max-width-wide: 1280px;
9+
--ls-page-text-size: 1em;
10+
--ls-page-title-size: 26px;
11+
--ls-tag-text-opacity: 0.8;
12+
--ls-tag-text-hover-opacity: 1;
13+
--ls-block-bullet-threading-width-overwrite: 2px;
14+
--ls-block-bullet-active-color-overwrite: var(--ls-link-text-color);
15+
--code-font-family: "Hack", monospace;
16+
--ct-h1-color: #9FCCB3;
17+
--ct-h1-border: 2px solid var(--ct-h1-color);
18+
--ct-h2-color: #E1B493;
19+
--ct-h2-border: 2px solid var(--ct-h2-color);
20+
--ct-h3-color: #DDA6E0;
21+
--ct-h3-border: 2px solid var(--ct-h3-color);
22+
}
23+
224
/* *****************************
325
********* Dark Theme ***********
426
*******************************/
27+
:root {
28+
--cp-darkest: #1D2025;
29+
--cp-darker: #21252B;
30+
--cp-dark: #252931;
31+
--cp-gray: #282C34;
32+
--cp-lighter: #32363e;
33+
--cp-lightest: #5c6370;
34+
--cp-beige: #CCCCCC;
35+
--cp-darkblue: #528BFF;
36+
--cp-darkred: #BE5046;
37+
--cp-orange: #D19A66;
38+
--cp-lightgray: #ABB2BF;
39+
--cp-cyan: #56B6C2;
40+
--cp-blue: #61AFEF;
41+
--cp-magenta: #C678DD;
42+
--cp-green: #98C379;
43+
--cp-red: #E06C75;
44+
--cp-yellow: #E5C07B;
45+
--cp-white: #F1F2F4;
46+
}
47+
548
.dark-theme,
649
html[data-theme=dark] {
750
--ls-primary-background-color: #282C34;
@@ -84,7 +127,9 @@ html[data-theme=dark] {
84127
--accent: 220deg 13.04% 18.04%;
85128
--ct-color-level-1: #21252B;
86129
--primary: 225.45deg 69.23% 71.96%;
130+
--secondary: 225.33deg 26.63% 41.16%;
87131
--lx-accent-10: 225.45deg 69.23% 75%;
132+
--ct-cm-bg: #21252B;
88133
}
89134

90135
/* *****************************
@@ -198,8 +243,6 @@ html[data-theme=light] {
198243
}
199244
#main-content-container .cp__sidebar-main-content {
200245
margin: 0 auto;
201-
background-color: var(--ls-primary-background-color);
202-
box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px 4px;
203246
border-radius: 10px;
204247
}
205248
#main-content-container .cp__sidebar-main-content > .mx-auto {
@@ -312,13 +355,16 @@ html ::-webkit-scrollbar-thumb:hover {
312355
color: var(--ls-link-text-color);
313356
margin: 0 4px 0 0;
314357
}
358+
.content .block-ref h3,
359+
.content .block-ref h2,
360+
.content .block-ref h1 {
361+
padding-right: 0;
362+
border-bottom: 0 !important;
363+
}
315364
.content .page-ref, .content .page-reference {
316365
border-radius: 3px;
317366
padding: 1px 2px;
318367
}
319-
.content .references-blocks-item {
320-
background-color: var(--color-level-1);
321-
}
322368
.content .table-wrapper > table td,
323369
.content .table-wrapper > table th {
324370
border: solid 1px var(--ls-border-color);
@@ -330,6 +376,10 @@ html ::-webkit-scrollbar-thumb:hover {
330376
font-size: 1em;
331377
font-weight: 500;
332378
}
379+
.content div[data-refs-self*='"card"'] {
380+
border: 1px solid var(--ls-border-color);
381+
margin-left: 5px;
382+
}
333383

334384
html[data-theme=light] {
335385
/* Autocomplete section borders */
@@ -353,6 +403,9 @@ html[data-theme=light] .cp__themes-installed .it:not(.is-selected) {
353403
html[data-theme=light] .absolute-modal {
354404
border: 1px solid lightgray;
355405
}
406+
html[data-theme=light] .cp__sidebar-help-menu-popup {
407+
background-color: var(--ls-primary-background-color);
408+
}
356409

357410
html[data-theme=dark] .dropdown-wrapper a {
358411
opacity: 1 !important;
@@ -367,9 +420,6 @@ html[data-theme=dark] .cp__themes-installed .it.is-active {
367420
background-color: #24282e;
368421
color: #769AFF;
369422
}
370-
html[data-theme=dark] .datepicker {
371-
background-color: var(--ls-primary-background-color);
372-
}
373423
html[data-theme=dark] .absolute-modal {
374424
border: 1px solid #383941;
375425
}
@@ -437,7 +487,7 @@ body:not(.is-banner-active) .is-journals h1.title::before {
437487
margin: 0;
438488
font-size: 1.8em;
439489
letter-spacing: -1px;
440-
border-bottom: 2px solid var(--ct-h1-color) !important;
490+
border-bottom: var(--ct-h1-border) !important;
441491
padding-left: 0.2rem;
442492
color: var(--ct-h1-color);
443493
}
@@ -446,7 +496,7 @@ body:not(.is-banner-active) .is-journals h1.title::before {
446496
.editor-inner :is(.h2) {
447497
margin: 0;
448498
letter-spacing: -1px;
449-
border-bottom: 2px solid var(--ct-h2-color) !important;
499+
border-bottom: var(--ct-h2-border) !important;
450500
padding-right: 6rem;
451501
padding-left: 0.2rem;
452502
color: var(--ct-h2-color);
@@ -456,7 +506,7 @@ body:not(.is-banner-active) .is-journals h1.title::before {
456506
margin: 0;
457507
letter-spacing: -1px;
458508
max-width: max-content;
459-
border-bottom: 2px solid var(--ct-h2-color) !important;
509+
border-bottom: var(--ct-h2-border) !important;
460510
padding-right: 6rem;
461511
padding-left: 0.2rem;
462512
color: var(--ct-h2-color);
@@ -466,7 +516,7 @@ body:not(.is-banner-active) .is-journals h1.title::before {
466516
.editor-inner :is(.h3) {
467517
font-size: 1.27em;
468518
min-height: 1.27em;
469-
border-bottom: 2px solid var(--ct-h3-color) !important;
519+
border-bottom: var(--ct-h3-border) !important;
470520
padding-left: 0.2rem;
471521
padding-right: 0.2rem;
472522
color: var(--ct-h3-color);
@@ -476,7 +526,7 @@ body:not(.is-banner-active) .is-journals h1.title::before {
476526
font-size: 1.27em;
477527
min-height: 1.27em;
478528
max-width: max-content;
479-
border-bottom: 2px solid var(--ct-h3-color) !important;
529+
border-bottom: var(--ct-h3-border) !important;
480530
padding-left: 0.2rem;
481531
padding-right: 0.2rem;
482532
color: var(--ct-h3-color);
@@ -499,28 +549,21 @@ body:not(.is-banner-active) .is-journals h1.title::before {
499549
border-radius: 5px;
500550
}
501551

502-
/* banners plugin */
552+
/* Plugin support: logseq-plugin-wrap */
553+
:root.dark {
554+
--kef-wrap-tb-bg: #1d2025;
555+
}
556+
557+
/* Plugin support: logseq-banners-plugin */
503558
body:is([data-page=page], [data-page=home]).is-banner-active #banner {
504559
max-width: var(--ls-main-content-max-width);
505-
border-radius: 10px 10px 0 0;
506560
box-shadow: rgba(0, 0, 0, 0.1) 0 0 10px 4px;
507561
}
508562

509-
body:is([data-page=page], [data-page=home]).is-banner-active .cp__sidebar-main-content {
510-
position: relative;
511-
margin: 0 auto;
512-
border-radius: 0 0 10px 10px !important;
513-
}
514-
515563
body:is([data-page=page], [data-page=home]).is-banner-active .ls-wide-mode #banner {
516564
max-width: var(--ls-main-content-max-width-wide);
517565
}
518566

519-
body:is([data-page=page], [data-page=home]).is-banner-active #main-content-container {
520-
display: block;
521-
}
522-
523-
/* banner element */
524567
body:is([data-page=page], [data-page=home]).is-banner-active.is-icon-active .cp__sidebar-main-content > div {
525568
padding-top: 0 !important;
526569
}
@@ -687,16 +730,16 @@ html[data-theme=light] .cm-s-solarized span.cm-meta {
687730
}
688731

689732
html[data-theme=dark] [class*=cm-s-].CodeMirror {
690-
background-color: #21252B;
733+
background-color: var(--ct-cm-bg);
691734
color: #8E95B4;
692735
line-height: 1.8;
693736
border-radius: 10px;
694737
}
695738
html[data-theme=dark] .cm-s-solarized.cm-s-dark .CodeMirror-gutters {
696-
background-color: #21252B !important;
739+
background-color: var(--ct-cm-bg) !important;
697740
}
698741
html[data-theme=dark] [class*=cm-s-] .CodeMirror-gutters {
699-
background-color: #21252B !important;
742+
background-color: var(--ct-cm-bg) !important;
700743
color: #ABB2BF;
701744
border: none;
702745
}
@@ -713,11 +756,11 @@ html[data-theme=dark] [class*=cm-s-] div.CodeMirror-selected {
713756
}
714757
html[data-theme=dark] [class*=cm-s-] .CodeMirror-line::selection,
715758
html[data-theme=dark] [class*=cm-s-] .CodeMirror-line > span::selection {
716-
background: #21252B;
759+
background: var(--ct-cm-bg);
717760
}
718761
html[data-theme=dark] [class*=cm-s-] .CodeMirror-line::-moz-selection,
719762
html[data-theme=dark] [class*=cm-s-] .CodeMirror-line > span::-moz-selection {
720-
background: #21252B;
763+
background: var(--ct-cm-bg);
721764
}
722765
html[data-theme=dark] [class*=cm-s-] .CodeMirror-activeline-background {
723766
background: #1b1f23;
@@ -1491,23 +1534,26 @@ a.tooltip-priority {
14911534
content: "\ebd9";
14921535
}
14931536

1494-
/* ****************************
1495-
************** Root ***********
1496-
*******************************/
1497-
:root {
1498-
--ls-font-family: "Inter";
1499-
--ls-main-content-max-width: 1000px;
1500-
--ls-main-content-max-width-wide: 1280px;
1501-
--ls-page-text-size: 1em;
1502-
--ls-page-title-size: 26px;
1503-
--ls-tag-text-opacity: 0.8;
1504-
--ls-tag-text-hover-opacity: 1;
1505-
--ls-block-bullet-threading-width-overwrite: 2px;
1506-
--ls-block-bullet-active-color-overwrite: var(--ls-link-text-color);
1507-
--code-font-family: "Hack", monospace;
1537+
#main-content-container .cp__sidebar-main-content {
1538+
background-color: var(--ls-primary-background-color);
1539+
box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px 4px;
15081540
}
15091541

1510-
/* Text Wrapper Plugin */
1511-
:root.dark {
1512-
--kef-wrap-tb-bg: #1d2025;
1542+
.content .references-blocks-item {
1543+
background-color: var(--color-level-1);
1544+
}
1545+
1546+
/* Plugin support: logseq-banners-plugin */
1547+
body:is([data-page=page], [data-page=home]).is-banner-active #banner {
1548+
border-radius: 10px 10px 0 0;
1549+
}
1550+
1551+
body:is([data-page=page], [data-page=home]).is-banner-active .cp__sidebar-main-content {
1552+
position: relative;
1553+
margin: 0 auto;
1554+
border-radius: 0 0 10px 10px !important;
1555+
}
1556+
1557+
html[data-theme=dark] .datepicker {
1558+
background-color: var(--ls-primary-background-color);
15131559
}

0 commit comments

Comments
 (0)