question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

css selectors to style the appearance?

See original GitHub issue

Hi, thank you for the awesomely helpful plugin! Can’t live without it!

Is it to much to ask to at least list somewhere (here, on guthub description page, wherever) the css classes of the TOC in sidebar? As I understand, if I add some style in userchrome.css, the plugin catches it, right? I mean, to adjust the margins or padding. I love the TOC, but some of my notes a quite long. This deprives me to see the entire TOC at a glance, need to scroll it.

I also would like to make each level of a different style, for instance. And some more, but can’t find the selectors I need to use.

Thanks again.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
cqrootcommented, Dec 5, 2021

Now you can customize css in the “userStyle” item in the settings.

1reaction
placodermcommented, Dec 6, 2021

Ah, awesome. I got confused because of the number style above it.

Small suggestions… It might make more sense as a larger text input box if that is possible. Also, I have seen similar situations where for something like this a new install might include the following pre entered in the field:

#header {
 
}

.toc-item-link {
  
}

.toc-item-link:hover {
 
}

Thanks for the great plugin! Honestly I think it deserves to be in core.

Read more comments on GitHub >

github_iconTop Results From Across the Web

appearance - CSS: Cascading Style Sheets - MDN Web Docs
The appearance CSS property is used to control native appearance of UI controls, that are based on operating system's theme.
Read more >
appearance - CSS-Tricks
The appearance property is used to display an element using a platform-native styling based on the users' operating system's theme.
Read more >
CSS appearance Property - W3docs
The appearance property displays an element using a platform-native styling based on the users' operating system's theme. The -moz-appearance property is ...
Read more >
How to Use CSS Selectors to Style Your Web Page
The CSS element selector selects HTML elements based on the element name. In HTML element names are things like h1 , p ,...
Read more >
CSS Selectors - W3Schools
CSS selectors are used to "find" (or select) the HTML elements you want to style. We can divide CSS selectors into five categories:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found