Skip to content

Commit

Permalink
fix: remove query border
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jun 19, 2021
1 parent 4ab85e6 commit 04dc74c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ ol > li::marker {

.open-block-ref-link {
opacity: 1;
font-family: Asap;
font-weight: 600;
font-variant-numeric: tabular-nums;
}

/* Bold */
Expand Down Expand Up @@ -530,24 +533,15 @@ samp {

.custom-query > div:first-child {
background: var(--ls-secondary-background-color);
border: 2px solid #000;
border-radius: 8px;
padding: 0 1.5rem;
padding: 1rem 1.5rem;
position: relative;
margin: 0.5rem 1rem 0 1rem;
}

/* Query title margin */
:is(.block-body, #today-queries, .dsl-query)
.custom-query
> .flex
> div:first-of-type {
padding: 12px 0;
}

:is(#today-queries > div > div, .dsl-query .custom-query > .flex)
> div.initial {
margin-bottom: 12px;
margin-top: 12px;
}

:is(.dsl-query, #today-queries, .block-body)
Expand Down Expand Up @@ -607,6 +601,7 @@ samp {
overflow: visible;
display: flex;
flex-flow: column;
max-height: calc(100vh - 20px);
}

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

/* Block with-bg-color */
.with-bg-color {
border-radius: 4px;
}

/* Page preview title */
.tippy-wrapper > h2:first-of-type {
display: inline-flex;
Expand Down Expand Up @@ -705,7 +705,7 @@ html[data-theme="light"] {
--ct-block-reference-background: rgba(16, 107, 163, 0.1);
--ct-block-reference-background-hover: rgba(16, 107, 163, 0.3);

--ls-page-properties-background-color: var(--ls-secondary-background-color);
--ls-page-properties-background-color: var(--ls-tertiary-background-color);
}

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

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

--ls-scrollbar-foreground-color: var(--ls-secondary-background-color);
}
Expand Down

0 comments on commit 04dc74c

Please sign in to comment.