Commit graph

10 commits

Author SHA1 Message Date
Fini Jastrow
01af9e8ab5 Update cheat sheet WITH removed icons
Update the cheat sheet to v3.0.0 but also show the removed icons of
v2.3.3. That style is .nfold (read: nf-old) and it is just hacked in.
I believe it can be removed later on, with 3.1.0 or something at least.

We also need the old (removed) icons as a font to display them despite
being removed. A small helper script 'archives' just the dropped glyphs
into a new webfont.
The script can be removed afterwards, this is a single run, archiving
the dropped after v2.3.3 icons.

See pairing commit in master branch:
    Date:   Wed May 3 17:54:44 2023 +0200
    generate-css: Create cheat sheet with removed icons

[note]
Also remove unused `nerd-fonts-generated.css`, wich confuses me every
time. It's sufficient to have it in the master branch for people, we do
not use it here.

f
2023-05-04 11:24:19 +02:00
Fini Jastrow
4452ceee5c Add possibility to add "obsolete" to glyphs
[why]
The (old) Material Design Icons are to be removed.
We should communicate that on the Cheat Sheet.

[how]
Add class that displays a red top-right triangle with text.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-02-01 13:13:16 +01:00
Fini Jastrow
6e361d40ca cheat-sheet: Allow click to copy on hex value
[why]
We removed the functionality with the previous commit and replaced it
with 'copy the UTF16 code' (needed for codepoints > u_FFFF).

But people might want to have the possibility to easily (by click) copy
the codepoint hex number.

[how]
Add highlighting on the hex number and allow clicking to copy the value.

[note]
The tooltip will be added in the cheat-sheet generator.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-25 19:43:59 +01:00
Ryan L McIntyre
921769c278 Hide scrollbar and parent element if no results, minor fixes 2020-12-05 06:44:04 -08:00
Ryan L McIntyre
f406ae3bf8 Reworks cheat sheet page to function better 2020-12-05 06:20:29 -08:00
Ryan L McIntyre
fb920fc0fd Reworks cheat sheet layout with flexbox and clean-up console.logs 2020-12-05 03:12:10 -08:00
Ryan L McIntyre
8f79ba5bf4 Improves download page DOM rendering perf
* refactored and simplified DOM elements
2020-12-05 02:25:00 -08:00
Ryan L McIntyre
99af4a1331 Tweaks preview button fonts 2019-08-24 14:43:11 -07:00
Ryan L McIntyre
fb426b344b Revamps the fonts downloads page again
* better layout and download buttons
* lots of misc tweaks
* basic flexbox layout
2019-08-18 10:23:37 -07:00
Ryan L McIntyre
93271915d0 Transitioning from css to scss with compression 2019-08-06 12:16:11 -07:00
Renamed from _includes/css/nerd-font-tweaks.css (Browse further)