Created
March 1, 2023 01:57
-
-
Save GitMurf/5ae8cd20312ca42b0dfd78021795b399 to your computer and use it in GitHub Desktop.
Custom CSS for tweaking the formatting of Rem references, URL links and pasted website links.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Blocks refs and [[refs]] are the same in RemNote */ | |
body.light .rn-editor-container .rem-reference-container:not([data-rem-tags*="link"]):not([data-rem-tags*="daily-document"]) > span > .rn-rem-reference.rem-reference.button, | |
body.light .rn-editor-container .rem-reference-container:not([data-rem-tags*="link"]):not([data-rem-tags*="daily-document"]) > .rn-rem-reference.rem-reference.button { | |
color: unset; | |
border-radius: 0px; | |
border-bottom: 1px dashed black; | |
padding-bottom: 1px; | |
} | |
/* fix for Template Slots */ | |
body.light .rn-editor-container .rem-reference-container:not([data-rem-tags*="link"]) .rn-rem-reference.rem-reference.button .\!not-italic.rem-reference--pdf-highlight { | |
border-bottom: 1px solid; | |
padding-bottom: 1px; | |
} | |
/* Links pasted turning into Rems (with website icon) */ | |
body.light .rn-editor-container .rem-reference-container[data-rem-tags*="link"] .rn-rem-reference.rem-reference.button { | |
color: var(--rn-colors-blue-60); | |
border-radius: 0px; | |
border-bottom: 1px solid var(--rn-colors-blue-60); | |
padding-bottom: 0px; | |
} | |
/* Regular website URL links */ | |
body.light .rn-editor-container span.underline.text-blue-60.cursor-pointer { | |
text-decoration-line: unset; | |
text-underline-offset: unset; | |
border-radius: 0px; | |
border-bottom: 1px solid var(--rn-colors-blue-60); | |
padding-bottom: 0px; | |
} | |
/* **************************************************** */ | |
/* Below is for refs or links nested inside a block ref */ | |
/* **************************************************** */ | |
/* URLs and pasted websites as Rems */ | |
body.light .rn-editor-container .rem-reference-container span.underline.text-blue-60.cursor-pointer, | |
body.light .rn-editor-container .rn-rem-reference.rem-reference.button .rem-reference-container[data-rem-tags*="link"] .rn-rem-reference.rem-reference.button { | |
border-bottom: none; | |
text-decoration-line: underline; | |
text-underline-offset: 2px; | |
color: var(--rn-colors-blue-60); | |
} | |
/* Regular Rem Refs and Block Refs */ | |
body.light .EditorContainer .rn-rem-reference.rem-reference.button .rem-reference-container:not([data-rem-tags*="link"]):not([data-rem-tags*="daily-document"]) .rn-rem-reference.rem-reference.button { | |
color: unset; | |
border-radius: 0px; | |
border-bottom: none; | |
padding-bottom: 0px; | |
text-decoration-line: underline; | |
text-underline-offset: 2px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment