Mods
Table of Contents
- Background Image
- Classic Article List
- Classic Navbar
- Classic Strikethrough
- Modern Headings
- Modern Horizontal Rule
- No Edge Highlight
Mods enhance/change some Duckquill visuals. They are updated alongside Duckquill to ensure that you don’t need to manually update them every release.
To enable these mods, you need to paste provided Sass to appropriate file, e.g sass/mods.scss
under your website, then enable it in config.toml
:
[]
= ["mods.css"]
Background Image
Want to set some nice image as a background? We got you covered:
{
:;
:;
:;
:;
}
Most of the time contrast should be okay, but what if it’s not? Simply adjust the opacity of --bg-overlay
based on your needs:
{
{
:;
}
{
:;
}
}
Classic Article List
Prefer the less fancy look of the article list used in Duckquill some time ago (to some extent)? It can be done with the classic-article-list
mod:
Classic Navbar
You can make navbar have more traditional look by using the classic-nav
mod:
Or you can make it sticked to top but not full-width with the sticked-nav
mod:
Nota
Not compatible with the
classic-nav
mod.
Classic Strikethrough
The default strikethrough style is too much? It can be fixed using the classic-del
mod:
Modern Headings
Default headings might not fit your taste, that’s understandable. They can be made boring fixed with the modern-headings
mod:
Modern Horizontal Rule
Don’t like that fancy horizontal rule? Make it more modern with the modern-hr
mod:
No Edge Highlight
Hate the skeuomorphic edge highlight on all semi-transparent elements? Let’s get rid of it using the no-edge-highlight
mod:
Salin kod