jekyll-scholar icon indicating copy to clipboard operation
jekyll-scholar copied to clipboard

further configuration for disabling ordered list

Open LordAmit opened this issue 5 years ago • 3 comments

LordAmit avatar Dec 30 '20 17:12 LordAmit

Whether or not the ordered list is displayed with numbers can also be configured using CSS. I've always assumed that the stylesheet is the best way to handle this.

inukshuk avatar Dec 31 '20 11:12 inukshuk

Hi!

Thanks for creating jekyll-scholar and responding! Really appreciate it.

About CSS approach - can you please elaborate a bit more about the approach you have in mind?

LordAmit avatar Dec 31 '20 17:12 LordAmit

The CSS approach? Like this.

Add a custom assets/main.scss file:

---
---

@import "minima";

/* override defaults or provide more specificity */

h2.bibliography {
        background-color: #E0E0E0;
}

ol.bibliography li {
        list-style-type: none;
}

If you've any more/other questions, just ask.

igravious avatar Jul 02 '21 11:07 igravious