1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
Commit Graph

98 Commits

Author SHA1 Message Date
Fini Jastrow
c88da986f0 Redo: Fix wrong small version of all-icons-divider
[why]
The previous fix broke the instances of the subtitle circle in all the
other topics (Downloads, CheatSheet, Backers, ...) because it rendered
the circle too wide horizontally, while the vertical size was ok.

[how]
The previous previous fix with a concrete circle hight and width and
adequate line spacing for the filling font works better. The circle is
not absolutely circular, but roughly it is.
Unless there is a Web magician who can fix this in a better way I
believe the not-really-circular in one place (all-icons-divider) is
better than absurdly wide circles in all section subtitles.

Fixes: #1384

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-23 16:44:40 +02:00
Fini Jastrow
ae62fc9a33 Revert "Issue with Subtitle Circle and Layout on Smaller Screens #1384 fixed"
This partially reverts commit c092a4da5a.

The circles in all other topics broke...

Keeping change for big code block of font-patcher cli.
2023-10-23 16:34:06 +02:00
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
b28c8aaa76 Fix Star/Fork button sometimes not showing
[why]
The Star and Fork buttons sometime show nicely, sometimes they are just
plain linked tect with no count and no icon and nothing.

[how]
The reason is not completely clear, sometimes it works and without any
change after a complete reload it does not work anymore.

The most likely candidate is the Github rate limit that we run into for
cross repo access. To avoid that we just copy the button script into our
repository. The rate limit will now not apply anymore.

But of course we will also not get any updates. That needs to be checked
from time to time manually - as with the Github actions.

Strange is already that the current script from github.io is version
2.27.0 while the latest release on the repo is 4.2.2. The date is the
same (Dec 2022).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-11 08:16:55 +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
Vitthal Popat Gund
60005e66eb Update main.scss to fix the issue #1367
the subtitle-icon class is added and with some media quires to make the page responsive
2023-10-07 12:00:49 +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
Finii
cfd060cc02 [ci] Regenerate CSS files 2023-06-04 20:45:37 +00: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
f6a5fe6e22 Update stuff for v3.0.1
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-13 23:34:55 +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
b5bf856738 Update cheat sheet WITH removed icons (step 2)
This step adds just the stuff generated via script in the master branch.

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

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
9498b255f6 Regenerate Cheat Sheet and CSS
[why]
After the glyph name fix done with commit
    7e2d38b55  Fix some glyph names

we need to update the actual cheat sheet and CSS files.

[how]
Manually commit data from `generate-css.sh` run here.

Related: #1147

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-12 21:26:05 +01: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
Finii
e600f44f77 [ci] Regenerate CSS files 2023-01-24 16:11:28 +00:00
Finii
2e058a5564 [ci] Regenerate CSS files 2023-01-23 14:55:50 +00:00
Fini Jastrow
a3fae4ce04 [ci] Regenerate CSS files
Done manually because release workflow had a bug on release.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-18 11:27:17 +01:00
Fini Jastrow
a7810a53d0 Adapt scss to new icon sizes
[why]
The icon sizes (in EM) changed a bit, so we need to decrease the display
size to make the icon not-overlap the text.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-16 19:42:10 +01:00
Fini Jastrow
851be7dcda Regenerate CSS files
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-16 19:42:10 +01:00
Finii
c0be1d3f63 [ci] Regenerate CSS files 2022-10-07 12:05:18 +00:00
Fini Jastrow
6ed248b2d3 Hotfix CSS font name
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-11 17:09:55 +02:00
Finii
546e184740 [ci] Regenerate CSS files 2022-09-11 16:30:28 +02:00
Fini Jastrow
7ac107f07a Remove obsolete cheat-sheet file
[why]
At least with commit
  9327191  Transitioning from css to scss with compression

the file became obsolete and the compacted 'min' version is used
instead.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-11 14:47:11 +02: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
f9ccf1c4a0 Adds feature flag and turns of adwords for now 2020-12-05 02:36:08 -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
8843f4d589 Adds site var for version 2020-02-01 08:43:14 -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
abdbfb4ce4 Cheatsheet correction (fixes #285) 2019-08-15 14:40:17 -07:00
Ryan L McIntyre
93271915d0 Transitioning from css to scss with compression 2019-08-06 12:16:11 -07:00
Ryan L McIntyre
eec90257b9 Adds fork numbers and experiments with ads 2019-08-06 12:06:15 -07:00
Ryan L McIntyre
5c1d29a033 Optimization: switches to smaller woff2 format 2019-08-05 14:42:04 -07:00
Ryan L McIntyre
888032ff49 Fixes script not loading 2019-08-05 14:24:59 -07:00
Ryan L McIntyre
0a9767145f Performance optimizations: woff font and abbreviated names for CSS 2019-08-04 14:05:49 -07:00
Ryan L McIntyre
162b828742 Misc fixes 2019-08-04 09:15:35 -07:00
Ryan L McIntyre
72d0250174 Accesibility color fixes 2019-08-04 09:15:18 -07:00
Ryan L McIntyre
8b980497e8 More styling of downloads and WIP features section 2019-08-03 15:03:56 -07:00