From 2e4742b9289bd3f84af8474ca33f497a20122f36 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sun, 10 May 2026 23:21:04 -0700 Subject: first test? --- style.scss | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'style.scss') diff --git a/style.scss b/style.scss index 9fa1aea..6808857 100644 --- a/style.scss +++ b/style.scss @@ -206,6 +206,18 @@ h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-main); } h5 { font-size: 1rem; font-weight: 700; color: var(--link-color); } h6 { font-size: 0.85rem; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: color-mix(in srgb, var(--text-main) 60%, transparent); } +h1, h2, h3, h4, h5, h6 { + [class^="section-number-"] { + font-family: var(--font-mono), monospace; + color: color-mix(in srgb, var(--text-main) 35%, transparent); + font-weight: 400; + font-size: 0.65em; + letter-spacing: 0.05em; + margin-right: 0.75em; + vertical-align: middle; + } +} + p, ul, ol { margin-top: 1rem; margin-bottom: 1rem; } li { margin-top: 0.3rem; } @@ -362,6 +374,18 @@ math { } } +.outline-text-2 > p:first-of-type::first-letter, +#text-1 > p:first-of-type::first-letter { + float: left; + font-size: 3.5rem; + line-height: 0.8; + margin-right: 0.15em; + margin-top: 0.1em; + font-family: var(--font-header), serif; + font-weight: 700; + color: var(--accent); +} + h1.title { padding-top: 1.5rem; margin-top: 0.5rem; -- cgit v1.3 From 5315bcdf371a4310018fb9599f7d78f93f9aedcb Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 11 May 2026 11:19:18 -0700 Subject: final --- config/emacs.org | 7 ++- flake.lock | 173 +++++++++++++++++++++++++++---------------------------- nix | 2 +- style.scss | 69 +++++++++++++++++----- 4 files changed, 146 insertions(+), 105 deletions(-) (limited to 'style.scss') diff --git a/config/emacs.org b/config/emacs.org index 2970ca3..e5baafc 100644 --- a/config/emacs.org +++ b/config/emacs.org @@ -490,8 +490,9 @@ This is my org mode configuration, which also configures latex. ") (org-preview-latex-image-directory (expand-file-name "~/.cache/ltximg/") "don't use weird cache location") (org-latex-preview-ltxpng-directory (expand-file-name "~/.cache/ltximg/") "don't use weird cache location") - (org-latex-to-html-convert-command "printf '%%s' %i | pandoc -f latex -t html --mathml | tr -d '\\n' | sed -e 's/^

//' -e 's/<\\/p>$//'" "latex to MathML with special character handling") - (org-latex-to-mathml-convert-command "printf '%%s' %i | pandoc -f latex -t html --mathml | tr -d '\\n' | sed -e 's/^

//' -e 's/<\\/p>$//'" "latex to MathML with special character handling") + + (org-latex-to-html-convert-command "printf '%%s' %i | pandoc -f latex -t html --mathml | tr -d '\\n' | sed -e 's/^

//' -e 's/<\\/p>$//' -e 's/ style=\"[^\"]*\"//g'" "latex to MathML with special character handling") + (org-latex-to-mathml-convert-command "printf '%%s' %i | pandoc -f latex -t html --mathml | tr -d '\\n' | sed -e 's/^

//' -e 's/<\\/p>$//' -e 's/ style=\"[^\"]*\"//g'" "latex to MathML with special character handling") (TeX-engine 'xetex "set xelatex as default engine") (preview-default-option-list '("displaymath" "textmath" "graphics") "preview latex") @@ -622,7 +623,7 @@ This is my org mode configuration, which also configures latex. :publishing-function org-html-publish-to-html :headline-levels 4 :html-footnotes-section "


%s%s
" - :html-head ,(concat "\n\n\n\n\n\n\n\n\n\n\n" + :html-head ,(concat "\n\n\n\n\n\n\n\n\n" "