Jieiku / abridge

Fast & Lightweight Zola Theme
https://abridge.pages.dev/
MIT License
147 stars 41 forks source link

> 2 stylesheets issue #79

Closed simbleau closed 2 years ago

simbleau commented 2 years ago

Clone my repo, try adding "blog-brands.css" to the stylesheets and all the icons break.

e.g. stylesheets = [ "abridge-blue-switcher.css", "blog-icons.css" ]

Change to: stylesheets = [ "abridge-blue-switcher.css", "blog-icons.css", "blog-brands.css" ]

All hell breaks loose.

I'm like 99% confident I did the brands font/css correct. But I need this font because it has 1 symbol: The rust icon, which is a brand.

Couldn't figure a way to get the Rust icon into the other woff2 font (merge them) with your tool. It seems to want to output 4 different fonts.

simbleau commented 2 years ago

Got it working.

There was largely 2 issues... dumb ones.

1) The brand icons are not FXXX (e.g. \f082), they begin with E. (e.g. \e082) and I didn't notice.

2) Couldn't re-declare the i- class CSS from another stylesheet. It didn't like that. Used b- for brand icons. (e.g. <i class="svgs b-rust">)