Added Nerdfonts

This commit is contained in:
James Patrick 2024-06-18 16:51:28 -04:00
parent e440678321
commit 8835afe314
No known key found for this signature in database
2 changed files with 18 additions and 6 deletions

1
emacs/dist/code.css vendored
View File

@ -1,7 +1,6 @@
pre { pre {
border-radius: 3px; border-radius: 3px;
padding: 8pt; padding: 8pt;
font-family: monospace;
overflow: auto; overflow: auto;
margin: 1.2em; margin: 1.2em;

21
emacs/dist/tufte.css vendored
View File

@ -8,6 +8,16 @@
/* Import ET Book styles /* Import ET Book styles
adapted from https://github.com/edwardtufte/et-book/blob/gh-pages/et-book.css */ adapted from https://github.com/edwardtufte/et-book/blob/gh-pages/et-book.css */
/* @font-face { */
/* font-family: "Hasklug"; */
/* src: */
/* url("./HasklugNerdFont-Regular.woff2") */
/* format("woff2"); */
/* font-weight: normal; */
/* font-style: normal; */
/* font-display: swap; */
/* } */
@font-face { @font-face {
font-family: "NerdFontsSymbols Nerd Font"; font-family: "NerdFontsSymbols Nerd Font";
src: url("https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/NerdFontsSymbolsOnly/SymbolsNerdFont-Regular.ttf"); src: url("https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/NerdFontsSymbolsOnly/SymbolsNerdFont-Regular.ttf");
@ -409,17 +419,20 @@ table.fullwidth {
div.table-wrapper { div.table-wrapper {
overflow-x: auto; overflow-x: auto;
font-family: "Trebuchet MS", "Gill Sans", "Gill Sans MT", sans-serif; font-family: "Trebuchet MS", "Gill Sans", "Gill Sans MT", sans-serif, "NerdFontsSymbols Nerd Font";
} }
.sans { .sans {
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif, "NerdFontsSymbols Nerd Font";
letter-spacing: 0.03em; letter-spacing: 0.03em;
} }
code, code,
pre > code { pre {
font-family: Hasklig, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace, NerdFontsSymbols Nerd Font;
}
pre {
font-size: 1rem; font-size: 1rem;
line-height: 1.42; line-height: 1.42;
-webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS. See https://github.com/edwardtufte/tufte-css/issues/81#issuecomment-261953409 */ -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS. See https://github.com/edwardtufte/tufte-css/issues/81#issuecomment-261953409 */