Skip to content

Commit

Permalink
feat(): Disable styles in "Linked References"
Browse files Browse the repository at this point in the history
YU000jp committed Nov 11, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 283a29a commit 4474e87
Showing 1 changed file with 27 additions and 30 deletions.
57 changes: 27 additions & 30 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,41 +1,38 @@
body>div#root>div>main>div#app-container {
body>div#root>div>main>div#app-container div:is(#main-content-container, #right-sidebar) div:is(.journal.page, .page.relative>div.relative) div.ls-block {
&[data-refs-self*=".side"] {
display: flex;

& div.ls-block {
&[data-refs-self*=".side"] {
display: flex;

&>div.block-children-container {
flex-grow: 1;
}

&>div>div>div>div>div>div>div>div>a.tag {
float: left;
}

&+div.ls-block[data-refs-self*=".side"] {
margin-top: 15px;
margin-bottom: 15px;
}
&>div.block-children-container {
flex-grow: 1;
}

&[data-refs-self*='".side-s"']>div>div>div>div>div.block-content {
width: 100px !important;
&>div>div>div>div>div>div>div>div>a.tag {
float: left;
}

&[data-refs-self*='".side-m"']>div>div>div>div>div.block-content {
width: 200px !important;
&+div.ls-block[data-refs-self*=".side"] {
margin-top: 15px;
margin-bottom: 15px;
}
}

&[data-refs-self*='".side-l"']>div>div>div>div>div.block-content {
width: 300px !important;
}
&[data-refs-self*='".side-s"']>div>div>div>div>div.block-content {
width: 100px !important;
}

&[data-refs-self*='".side-ll"']>div>div>div>div>div.block-content {
width: 400px !important;
}
&[data-refs-self*='".side-m"']>div>div>div>div>div.block-content {
width: 200px !important;
}

&[data-refs-self*='".side-lll"']>div>div>div>div>div.block-content {
width: 500px !important;
}
&[data-refs-self*='".side-l"']>div>div>div>div>div.block-content {
width: 300px !important;
}

&[data-refs-self*='".side-ll"']>div>div>div>div>div.block-content {
width: 400px !important;
}

&[data-refs-self*='".side-lll"']>div>div>div>div>div.block-content {
width: 500px !important;
}
}

0 comments on commit 4474e87

Please sign in to comment.