Commit graph

23 commits

Author SHA1 Message Date
Fini Jastrow
028b8144e1 Do some minuscle adjustments on all-icons-divider
[why]
Testing with Firefox 113 and Chromium 118 the eveness of the round
circle might be improved a bit by using a slightly different font size.

Well, I did this on Linux, maybe the rendering is different on other
Platforms? We will see.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-18 13:20:05 +02:00
Vitthal Popat Gund
c092a4da5a Issue with Subtitle Circle and Layout on Smaller Screens #1384 fixed 2023-10-18 13:20:05 +02:00
Fini Jastrow
6d9860f7bb Revert "Fix wrong small version of all-icons-divider"
This reverts commit 20da768954.

The problem is solved more elegantly by the next commit
   Issue with Subtitle Circle and Layout on Smaller Screens #1384 fixed
2023-10-18 13:20:05 +02:00
Fini Jastrow
9f7e6ee0e3 Fix navbar in two lines
[why]
The navbar should only be one line, switching to smaller and smaller
items, until we reach a very small size (the smallest) where we finally
allow it to overlow into the next lines.
But that is not the case, the navbar switches between one and two lines
already at medium sized screens.

[how]
Correct the width point when the navbar titles switch from long-titles
to short-titles.

Introduce new width switch point that reduces the cell widths of the navbar
one they become very full and further reduction in width would result in
overflow into the next line.

Tested on Netscape and Chromium; the later needs bigger numbers (hmm)

Fixes: #1375

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-09 17:31:56 +02:00
Fini Jastrow
20da768954 Fix wrong small version of all-icons-divider
[why]
In the small screen version the all-icons section divider becomes
ellyptic or something, not round anymore.

[how]
When scaling down we do not scale the line spacing down enough.

Fixes: #1376

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-09 13:54:56 +02:00
Fini Jastrow
10be9529a0 Remove "fork on github banner"
[why]
Some code has been commented out. This can be removed. We can use git if
we want to access the code again in the future.

Furthermore the banner still is on the page, below the Sanky diagram (in
the small screen rendering position).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-09 12:26:25 +02:00
Fini Jastrow
6da42f1532 Remove dependency from FA's css
[why]
Keep the dependencies as small as possible.
We already have the github icon in our own set which we import anyhow,
so there is no need to fetch fontawesome's CSS.

[how]
Replace fa-github with nf-fa-github.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-09 12:26:25 +02:00
Vitthal Popat Gund
86841c360c Update nerd-font-tweaks.scss
color typo fixed in GitHub Icon
2023-10-09 12:26:25 +02:00
Vitthal Popat Gund
eb519696c8 Update nerd-font-tweaks.scss
GitHub icon css is added
2023-10-09 12:26:25 +02:00
Fadi Hania
1df198249a Update search page style
- Fix having multiple vertical scrollbars
 - Update icons lazy loading accordingly
2023-06-09 07:55:19 +02:00
rszyma
156981d8f2 fix: cheatsheet page performance 2023-05-30 19:13:12 +02:00
rszyma
2d96b7f5e0 Remove gitter-sidecar
[why]
Disfunctional

See PR #1252
2023-05-27 15:27:38 +02:00
Fini Jastrow
514c27812a cheat-sheet: Improve icon-box list
[why]
There are 2.9 rows of icons shown.
This looks rather odd, with the last (3rd) row having their bottoms
removed.

[how]
Show instead 3.1 rows. This gives a visual hint to the user that
scrolling is possible (because the tops of the 4th row are shows), and
looks better with only 3 rows.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-04 12:44:46 +02:00
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)