Skip to content

Commit 04dc74c

Browse files
committed
fix: remove query border
1 parent 4ab85e6 commit 04dc74c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

custom.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@ ol > li::marker {
321321

322322
.open-block-ref-link {
323323
opacity: 1;
324+
font-family: Asap;
325+
font-weight: 600;
326+
font-variant-numeric: tabular-nums;
324327
}
325328

326329
/* Bold */
@@ -530,24 +533,15 @@ samp {
530533

531534
.custom-query > div:first-child {
532535
background: var(--ls-secondary-background-color);
533-
border: 2px solid #000;
534536
border-radius: 8px;
535-
padding: 0 1.5rem;
537+
padding: 1rem 1.5rem;
536538
position: relative;
537539
margin: 0.5rem 1rem 0 1rem;
538540
}
539541

540-
/* Query title margin */
541-
:is(.block-body, #today-queries, .dsl-query)
542-
.custom-query
543-
> .flex
544-
> div:first-of-type {
545-
padding: 12px 0;
546-
}
547-
548542
:is(#today-queries > div > div, .dsl-query .custom-query > .flex)
549543
> div.initial {
550-
margin-bottom: 12px;
544+
margin-top: 12px;
551545
}
552546

553547
:is(.dsl-query, #today-queries, .block-body)
@@ -607,6 +601,7 @@ samp {
607601
overflow: visible;
608602
display: flex;
609603
flex-flow: column;
604+
max-height: calc(100vh - 20px);
610605
}
611606

612607
.tippy-tooltip-content > .tippy-wrapper > .page-blocks-inner {
@@ -645,6 +640,11 @@ a.tag:hover {
645640
background-color: var(--ct-block-reference-background-hover);
646641
}
647642

643+
/* Block with-bg-color */
644+
.with-bg-color {
645+
border-radius: 4px;
646+
}
647+
648648
/* Page preview title */
649649
.tippy-wrapper > h2:first-of-type {
650650
display: inline-flex;
@@ -705,7 +705,7 @@ html[data-theme="light"] {
705705
--ct-block-reference-background: rgba(16, 107, 163, 0.1);
706706
--ct-block-reference-background-hover: rgba(16, 107, 163, 0.3);
707707

708-
--ls-page-properties-background-color: var(--ls-secondary-background-color);
708+
--ls-page-properties-background-color: var(--ls-tertiary-background-color);
709709
}
710710

711711
#app-container::before {
@@ -765,7 +765,7 @@ html[data-theme="dark"] {
765765
--ct-block-reference-background: rgba(16, 107, 163, 0.2);
766766
--ct-block-reference-background-hover: rgba(16, 107, 163, 0.3);
767767

768-
--ls-page-properties-background-color: var(--ls-secondary-background-color);
768+
--ls-page-properties-background-color: var(--ls-tertiary-background-color);
769769

770770
--ls-scrollbar-foreground-color: var(--ls-secondary-background-color);
771771
}

0 commit comments

Comments
 (0)