A Simple Modification to the CSS to Bold the First Item in Each List #24
who-took-hu4d
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Crosspost from the Obsidian Forums
I’ve made a simple modification to the CSS to make it so that the parent list items are bolded, but the children are not. Find that this helps with reading it and quickly getting your eyes to where they need to be.
You can see above that “Top of List” is bolded where it would typically be the normal font weight.
This change can be made by adding font-weight: bold; to the section .dashboard div > ul { ... }, as shown below
This however bolds the entire list! To undo that, copy and paste in this entire section anywhere within the file:
I’d like to add that I am almost completely unfamiliar with CSS and slapped this together by reading StackOverflow for about 20 minutes. If there’s a better way to achieve this please let me know!
Inside this collapsible is a version of the file with the changes already made if you don't feel like doing the modification yourself :)
Beta Was this translation helpful? Give feedback.
All reactions