Compare commits
No commits in common. "5678d73c4fed6ab3182242cff3663e03638c59a3" and "e42aa05525fff9b1835a815a81092cfbc081b6a3" have entirely different histories.
5678d73c4f
...
e42aa05525
11 changed files with 12 additions and 33941 deletions
21
README.md
21
README.md
|
|
@ -17,29 +17,8 @@ Then visit with your browser the site pointed by the previous command
|
|||
|
||||
Powered by [Zine](https://zine-ssg.io/docs/)
|
||||
|
||||
## Adding icons
|
||||
|
||||
We have trimmed the list of icons that come from Nerdfonts, to add an icon:
|
||||
|
||||
Browse in https://www.nerdfonts.com/cheat-sheet and look for the icon to be
|
||||
added.
|
||||
|
||||
1. Update the file `contrib/symbolnerdfontmonolist.txt` adding the unicode
|
||||
2. Add the reference to assets/css/webfont.css
|
||||
3. Use it the same as layouts/templates/base.html navbar
|
||||
4. Update the fonts installing (uv pip install fonttools) with:
|
||||
|
||||
```python
|
||||
pyftsubset contrib/fonts/nerdfonts/SymbolsNerdFontMono-Regular.ttf --unicodes-file=contrib/symbolnerdfontmonolist.txt --output-file=assets/fonts/SymbolsNerdFontMono-Regular.ttf
|
||||
```
|
||||
|
||||
If the icon you want to use from nerdonfts is not present in contrib/fonts/nerdfonts
|
||||
get it from https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/NerdFontsSymbolsOnly.zip
|
||||
and update contrib to ease later needings.
|
||||
|
||||
## Resources
|
||||
|
||||
* [Monospace Web Theme](https://owickstrom.github.io/the-monospace-web/)
|
||||
* [Zine](https://zine-ssg.io/docs/)
|
||||
* [Flow Control Editor](https://github.com/neurocyte/flow)
|
||||
* [NerdFonts](https://www.nerdfonts.com/cheat-sheet)
|
||||
|
|
|
|||
|
|
@ -1,42 +0,0 @@
|
|||
/*
|
||||
*# [Nerd Fonts] Website: https://www.nerdfonts.com
|
||||
*# [Nerd Fonts] Development Website: https://github.com/ryanoasis/nerd-fonts
|
||||
*# [Nerd Fonts] Version: 3.4.0
|
||||
*# [Nerd Fonts] The following is generated from the build script
|
||||
*/
|
||||
@font-face {
|
||||
font-family: "NerdFontsSymbols Nerd Font";
|
||||
src: url("../fonts/SymbolsNerdFontMono-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
.nf,
|
||||
.nerd-font,
|
||||
.nerd-fonts {
|
||||
font-family: "NerdFontsSymbols Nerd Font";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.nf-fa-terminal:before {
|
||||
content: "\f120";
|
||||
}
|
||||
.nf-cod-diff_added:before {
|
||||
content: "\eadc";
|
||||
}
|
||||
.nf-oct-download:before {
|
||||
content: "\f409";
|
||||
}
|
||||
.nf-dev-readthedocs:before {
|
||||
content: "\e889";
|
||||
}
|
||||
.nf-fa-readme:before {
|
||||
content: "\eda4";
|
||||
}
|
||||
.nf-fa-people_carry_box:before {
|
||||
content: "\eda2";
|
||||
}
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Ryan L McIntyre
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
# Nerd Fonts
|
||||
|
||||
This is an archived font from the Nerd Fonts release v3.4.0.
|
||||
|
||||
For more information see:
|
||||
* https://github.com/ryanoasis/nerd-fonts/
|
||||
* https://github.com/ryanoasis/nerd-fonts/releases/latest/
|
||||
|
||||
# Symbols Only
|
||||
|
||||
This font contains (in the patched-fonts folder) all symbols and is intended to be used
|
||||
as fallback or together with fontconfig - so that you do not need to individually
|
||||
patch all the fonts. YMMV.
|
||||
|
||||
## Which font?
|
||||
|
||||
### TL;DR
|
||||
|
||||
* Pick your font family:
|
||||
* If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with `Nerd Font Mono` (or `NFM`).
|
||||
* If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without `Mono` i.e. `Nerd Font` (or `NF`). Most terminals support this, but ymmv.
|
||||
* If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with `Nerd Font Propo` (or `NFP`).
|
||||
|
||||
### Ligatures
|
||||
|
||||
Ligatures are generally preserved in the patched fonts.
|
||||
Nerd Fonts `v2.0.0` had no ligatures in the `Nerd Font Mono` fonts, this has been dropped with `v2.1.0`.
|
||||
If you have a ligature-aware terminal and don't want ligatures you can (usually) disable them in the terminal settings.
|
||||
|
||||
### Explanation
|
||||
|
||||
Once you narrow down your font choice of family (`Droid Sans`, `Inconsolata`, etc) and style (`bold`, `italic`, etc) you have 2 main choices:
|
||||
|
||||
#### `Option 1: Download already patched font`
|
||||
|
||||
* For a stable version download a font package from the [release page](https://github.com/ryanoasis/nerd-fonts/releases)
|
||||
* Or download the development version from the folders here
|
||||
|
||||
#### `Option 2: Patch your own font`
|
||||
|
||||
* Patch your own variations with the various options provided by the font patcher (i.e. not include all symbols for smaller font size)
|
||||
|
||||
For more information see: [The FAQ](https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting#which-font)
|
||||
|
||||
[SIL-RFN]:http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web_fonts_and_RFNs#14cbfd4a
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +0,0 @@
|
|||
U+eda2
|
||||
U+f120
|
||||
U+eadc
|
||||
U+f409
|
||||
U+e889
|
||||
U+eda4
|
||||
|
|
@ -8,18 +8,22 @@
|
|||
<link rel="icon" type="image/png" href="$site.asset('img/flow-control.png').link()">
|
||||
<link rel="stylesheet" type="text/css" href="$site.asset('css/reset.css').link()">
|
||||
<link rel="stylesheet" type="text/css" href="$site.asset('css/index.css').link()">
|
||||
<link rel="stylesheet" type="text/css" href="$site.asset('css/webfont.css').link()">
|
||||
<title :text="$site.title"></title>
|
||||
<super>
|
||||
</head>
|
||||
<body id="body">
|
||||
<nav id="menu" class="centered"><!-- https://www.nerdfonts.com/cheat-sheet for other icons -->
|
||||
<ctx about="$site.page('')"><a href="$ctx.about.link()"><i class="nf nf-fa-terminal"></i></a> <a href="$ctx.about.link()">home</a></ctx>
|
||||
<ctx about="$site.page('installation')"><a href="$ctx.about.link()" ><i class="nf nf-cod-diff_added"></i></a> <a href="$ctx.about.link()" >install</a></ctx>
|
||||
<ctx about="$site.page('downloads')"><a href="$ctx.about.link()"><i class="nf nf-oct-download"></i></a> <a href="$ctx.about.link()">download</a></ctx>
|
||||
<ctx :if="$site.page('devlog').subpages().first?()"><a href="$if.link()"><i class="nf nf-dev-readthedocs"></i></a> <a href="$if.link()">devlog</a></ctx>
|
||||
<ctx about="$site.page('docs')"><a href="$ctx.about.link()"><i class="nf nf-fa-readme"></i></a> <a href="$ctx.about.link()">docs</a></ctx>
|
||||
<ctx about="$site.page('community')"><a href="$ctx.about.link()"><i class="nf nf-fa-people_carry_box"></i></a> <a href="$ctx.about.link()">community</a></ctx>
|
||||
<nav id="menu" class="centered">
|
||||
<ctx about="$site.page('')"><a href="$ctx.about.link()" text="$ctx.about.title">home</a></ctx>
|
||||
•
|
||||
<ctx about="$site.page('installation')"><a href="$ctx.about.link()" text="$ctx.about.title">installation</a></ctx>
|
||||
•
|
||||
<ctx about="$site.page('downloads')"><a href="$ctx.about.link()" text="$ctx.about.title">downloads</a></ctx>
|
||||
•
|
||||
<ctx :if="$site.page('devlog').subpages().first?()"><a href="$if.link()">devlog</a></ctx>
|
||||
•
|
||||
<ctx about="$site.page('docs')"><a href="$ctx.about.link()" text="$ctx.about.title">docs</a></ctx>
|
||||
•
|
||||
<ctx about="$site.page('community')"><a href="$ctx.about.link()" text="$ctx.about.title">community</a></ctx>
|
||||
</nav>
|
||||
<script src="$site.asset('js/index.js').link()"></script>
|
||||
<super>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,5 @@ Site {
|
|||
"public.gpg",
|
||||
"fonts/AcPlus_IBM_VGA_9x16.ttf",
|
||||
"fonts/Iosevka-Regular.woff2",
|
||||
"fonts/SymbolsNerdFontMono-Regular.ttf",
|
||||
],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue