Update styles.css

Styling for each line type
This commit is contained in:
Ryo Hilmawan 2020-11-06 02:17:44 +07:00 committed by GitHub
parent 9c6a7a4fd3
commit 418cd6d871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,10 +54,30 @@
margin-bottom: -1.5px !important; margin-bottom: -1.5px !important;
} }
[data-tweaks*='[indentation_lines]'] [data-tweaks*='[indentation_lines']
div.notion-selectable.notion-bulleted_list-block div.notion-selectable.notion-bulleted_list-block > div > div:last-child {
> div > div > div.notion-selectable.notion-bulleted_list-block { position: relative;
border-left: 1px dashed var(--theme--text_ui_info); }
[data-tweaks*='[indentation_lines']
div.notion-selectable.notion-bulleted_list-block > div > div:last-child::before {
content: "";
position: absolute;
height: calc(100% - 2em);
top: 2em;
left: -14.48px;
border-left: 1px solid;
}
[data-tweaks*='[indentation_lines_dashed]']
div.notion-selectable.notion-bulleted_list-block > div > div:last-child::before {
border-left-style: dashed;
}
[data-tweaks*='[indentation_lines_dotted]']
div.notion-selectable.notion-bulleted_list-block > div > div:last-child::before {
border-left-style: dotted;
}
[data-tweaks*='[indentation_lines_soft]']
div.notion-selectable.notion-bulleted_list-block > div > div:last-child::before {
opacity: 0.25;
} }
[data-tweaks*='[scroll_db_toolbars]'] .notion-frame > .notion-scroller > [style*="overflow: visible;"], [data-tweaks*='[scroll_db_toolbars]'] .notion-frame > .notion-scroller > [style*="overflow: visible;"],