From 1df08f1ebcc46e236f1351d48e92e723816ffdaf Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sun, 8 Mar 2026 23:41:51 -0700 Subject: mass remove headers and centralise it --- LICENSE.org | 8 - README.org | 1 - about.org | 8 - agenda.org | 8 - blog/acausal.org | 2 +- blog/automation.org | 2 +- blog/cognition.org | 2 +- blog/crypto.org | 2 +- blog/horses.org | 2 +- blog/index.org | 2 +- blog/manifesto-1.org | 2 +- blog/monorepo.org | 2 +- blog/nixos.org | 2 +- blog/private_keys.org | 2 +- blog/stem.org | 2 +- blog/tech-bros.org | 2 +- blog/voting.org | 2 +- blog/you_dont_matter.org | 2 +- config/README.org | 2 +- config/elfeed.org | 2 +- config/emacs.org | 28 +- config/index.org | 3 +- config/nix.org | 8 +- config/qutebrowser.org | 1 - flake.nix | 19 +- index.org | 8 - journal/README.org | 2 +- journal/index.org | 2 +- mindmap/Fourier Transform.org | 5 +- mindmap/Heaviside Step Function.org | 5 +- mindmap/Hilbert Space.org | 5 +- mindmap/IAK.org | 5 +- mindmap/IEEDI.org | 5 +- mindmap/Kirchhoff's Laws.org | 5 +- mindmap/LRC circuit.org | 5 +- mindmap/L_{2} space.org | 5 +- mindmap/Lagrangian mechanics.org | 5 +- mindmap/Laplace Transform.org | 4 +- mindmap/Legendre Transformation.org | 5 +- mindmap/Lorentz Force.org | 5 +- mindmap/Maxwell's Equations.org | 4 +- mindmap/Newtonian mechanics.org | 4 +- mindmap/Ohm's Law.org | 4 +- mindmap/README.org | 1 - mindmap/central force.org | 5 +- mindmap/circuit analysis.org | 5 +- mindmap/consequentialism.org | 5 +- mindmap/conservative force.org | 5 +- mindmap/continuity equation.org | 5 +- mindmap/del operator.org | 5 +- mindmap/derivative.org | 4 +- mindmap/differential equation.org | 4 +- mindmap/dirac delta.org | 4 +- mindmap/divergence theorem.org | 4 +- mindmap/duality.org | 2 +- mindmap/egoism.org | 4 +- mindmap/electrostatics.org | 4 +- mindmap/emergence.org | 4 +- mindmap/everything.org | 2 +- mindmap/factorial.org | 2 +- mindmap/framework.org | 4 +- mindmap/function.org | 4 +- mindmap/group.org | 4 +- mindmap/index.org | 1 - mindmap/induction.org | 2 +- mindmap/infinity.org | 4 +- mindmap/inheritance.org | 4 +- mindmap/inner product space.org | 4 +- mindmap/interpreter.org | 4 +- mindmap/inverse square.org | 4 +- mindmap/limit.org | 4 +- mindmap/logic.org | 4 +- mindmap/magnetostatics.org | 4 +- mindmap/mathematics.org | 4 +- mindmap/metric space.org | 4 +- mindmap/natural number.org | 4 +- mindmap/normed vector space.org | 4 +- mindmap/partial derivative.org | 4 +- mindmap/philosophy.org | 4 +- mindmap/physics.org | 4 +- mindmap/quantum mechanics.org | 4 +- mindmap/recursion.org | 4 +- mindmap/self-assembly.org | 2 +- mindmap/special relativity.org | 4 +- mindmap/stack.org | 2 +- mindmap/texput.log | 24 -- mindmap/vector space.org | 4 +- nix | 2 +- site.webmanifest | 4 +- style.css | 721 ----------------------------------- style.scss | 724 ++++++++++++++++++++++++++++++++++++ 91 files changed, 866 insertions(+), 968 deletions(-) delete mode 100644 mindmap/texput.log delete mode 100644 style.css create mode 100644 style.scss diff --git a/LICENSE.org b/LICENSE.org index 0d9adf5..b03b902 100644 --- a/LICENSE.org +++ b/LICENSE.org @@ -1,17 +1,9 @@ #+TITLE: MIT License #+AUTHOR: Preston Pan #+DATE: 2026 -#+html_head: #+language: en #+OPTIONS: broken-links:t #+date: <2025-01-09 Thu> -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: * License Copyright (c) {{{date}}} {{{author}}} diff --git a/README.org b/README.org index 8d8f7c7..219b5b4 100644 --- a/README.org +++ b/README.org @@ -2,7 +2,6 @@ #+author: Preston Pan #+date: <2023-06-11 Sun> #+description: My website for all things. -#+html_head: * What is this? It's ret2pop! My website for all things math. Wait, no. Computer science. diff --git a/about.org b/about.org index ebd4638..c7e977a 100644 --- a/about.org +++ b/about.org @@ -1,17 +1,9 @@ #+title: About #+author: Preston Pan #+description: About me and my contact information -#+html_head: #+language: en #+OPTIONS: broken-links:t #+date: <2023-06-26 Mon> -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: * About Me ** whoami? diff --git a/agenda.org b/agenda.org index bb13596..4df15e6 100644 --- a/agenda.org +++ b/agenda.org @@ -1,17 +1,9 @@ #+title: Agenda #+author: Preston Pan #+description: My public agenda for the next while. -#+html_head: #+language: en #+OPTIONS: broken-links:t #+date: <2025-01-09 Thu> -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: This agenda is a public list of things that I need to keep track of. This is public because I also keep a private version, and if anyone wants to know what I'm up to or the status of a certain diff --git a/blog/acausal.org b/blog/acausal.org index 30ac40a..4550d8e 100644 --- a/blog/acausal.org +++ b/blog/acausal.org @@ -3,7 +3,7 @@ #+date: [2024-01-01] #+subtitle: By {{{author}}}, 2024 #+description: Narrative is the only real construction. -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/automation.org b/blog/automation.org index 981560d..820e562 100644 --- a/blog/automation.org +++ b/blog/automation.org @@ -3,7 +3,7 @@ #+date: [2024-01-01] #+subtitle: By {{{author}}}, 2024 #+description: Is automation taking jobs? Is capitalism causing all the world's problems? -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/cognition.org b/blog/cognition.org index 23ea939..5d56e7f 100644 --- a/blog/cognition.org +++ b/blog/cognition.org @@ -3,7 +3,7 @@ #+date: [2024-01-01] #+subtitle: By {{{author}}}, 2024 #+description: Other languages are inflexible and broken. Let's fix that. -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/crypto.org b/blog/crypto.org index bd965d8..aa197cc 100644 --- a/blog/crypto.org +++ b/blog/crypto.org @@ -4,7 +4,7 @@ #+subtitle: By {{{author}}}, 2024 #+description: Are cryptocurrencies useful in economic transactions? As technologies? -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/horses.org b/blog/horses.org index dc0f683..66c38ac 100644 --- a/blog/horses.org +++ b/blog/horses.org @@ -3,7 +3,7 @@ #+date: [2024-01-01] #+subtitle: By {{{author}}}, 2024 #+description: It doesn't happen instantly. -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/index.org b/blog/index.org index 5ffe6bc..67a3440 100644 --- a/blog/index.org +++ b/blog/index.org @@ -3,7 +3,7 @@ #+AUTHOR: Preston Pan #+DATE: <2023-06-14 Wed> #+DESCRIPTION: List of all my blogs in alphabetical order -#+html_head: + #+language: en #+OPTIONS: broken-links:t diff --git a/blog/manifesto-1.org b/blog/manifesto-1.org index fd38022..185796f 100644 --- a/blog/manifesto-1.org +++ b/blog/manifesto-1.org @@ -4,7 +4,7 @@ #+subtitle: By {{{author}}}, 2025 #+description: A system built on illusions will always decay. -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/monorepo.org b/blog/monorepo.org index 756089a..0f830e5 100644 --- a/blog/monorepo.org +++ b/blog/monorepo.org @@ -3,7 +3,7 @@ #+date: [2025-01-01] #+subtitle: By {{{author}}}, 2025 #+description: NixOS configurations for infrastructure, workstations, and laptops -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/nixos.org b/blog/nixos.org index 7576682..718d139 100644 --- a/blog/nixos.org +++ b/blog/nixos.org @@ -3,7 +3,7 @@ #+date: [2025-01-01] #+subtitle: By {{{author}}}, 2024 #+description: You can run a system from the 2040s, today. -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/private_keys.org b/blog/private_keys.org index 7382241..61cad10 100644 --- a/blog/private_keys.org +++ b/blog/private_keys.org @@ -3,7 +3,7 @@ #+date: [2024-01-01] #+subtitle: By {{{author}}}, 2024 #+description: Why haven't we switched to asymmetric cryptography? -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/stem.org b/blog/stem.org index 4d13f7d..b11ea10 100644 --- a/blog/stem.org +++ b/blog/stem.org @@ -4,7 +4,7 @@ #+subtitle: By {{{author}}}, 2024 #+description: My own concatenative programming language -#+html_head: + #+language: en #+OPTIONS: broken-links:t diff --git a/blog/tech-bros.org b/blog/tech-bros.org index 9bb233b..9a56491 100644 --- a/blog/tech-bros.org +++ b/blog/tech-bros.org @@ -4,7 +4,7 @@ #+subtitle: By {{{author}}}, 2024 #+description: and other people that other people hate. -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/voting.org b/blog/voting.org index c7f84bc..bb27b8a 100644 --- a/blog/voting.org +++ b/blog/voting.org @@ -4,7 +4,7 @@ #+subtitle: By {{{author}}}, 2024 #+description: What do we do about voter turnout? Voting demographics? Polarization? -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/blog/you_dont_matter.org b/blog/you_dont_matter.org index 3a91af5..1cd750e 100644 --- a/blog/you_dont_matter.org +++ b/blog/you_dont_matter.org @@ -4,7 +4,7 @@ #+subtitle: By {{{author}}}, 2024 #+description: Ideas aren't real, and morality is a spook. -#+html_head: + #+html_head: #+html_head: #+html_head: diff --git a/config/README.org b/config/README.org index c317bf9..ecdf42f 100644 --- a/config/README.org +++ b/config/README.org @@ -2,7 +2,7 @@ #+author: Preston Pan #+date: <2023-06-11 Sun> #+language: en -#+html_head: + #+OPTIONS: broken-links:t * My Literate Configs diff --git a/config/elfeed.org b/config/elfeed.org index c114294..a6ef555 100644 --- a/config/elfeed.org +++ b/config/elfeed.org @@ -2,7 +2,7 @@ #+author: Preston Pan #+date: <2023-06-09 Fri> #+description: My list of blogs, news sites, and channels. -#+html_head: + * Feed :elfeed: This is the feed I use for Elfeed, and the elfeed-org package allows me to publish diff --git a/config/emacs.org b/config/emacs.org index 0705af9..57aae97 100644 --- a/config/emacs.org +++ b/config/emacs.org @@ -1,7 +1,7 @@ #+title: Emacs Configuration #+author: Preston Pan #+description: my personal emacs configuration for NixOS -#+html_head: + * Introduction This is my Vanilla Emacs configuration, made to work with my NixOS configuration. For that reason, you will not see :ensure t inside any use-package declaration, for emacs packages @@ -164,6 +164,13 @@ This is my org mode configuration, which also configures latex. (org-pretty-entities t "prettify org mode") (org-agenda-files (list "~/monorepo/agenda.org" "~/org/notes.org" "~/org/agenda.org") "set default org files") (org-default-notes-file (concat org-directory "/notes.org") "Notes file") + (org-html-with-latex 'html) + (org-html-mathjax-options nil) + (org-html-mathjax-template "") + (org-html-container-element "main") + (org-html-head-extra "\n\n\n\n\n\n") + (org-latex-to-html-convert-command + "printf '%%s' %i | pandoc -f latex -t html --mathml | tr -d '\\n' | sed -e 's/^

//' -e 's/<\\/p>$//'") (org-html-viewport '((width "device-width") (initial-scale "1.0") (minimum-scale "1.0")) "Prevent zooming out past default size") @@ -192,6 +199,21 @@ This is my org mode configuration, which also configures latex. (require 'ox-publish) (require 'org-tempo) (require 'org-habit) + (require 'ob-latex) + + (defun my-org-html-latex-environment-pandoc-fix (orig-fun latex-environment contents info) + "Force `ox-html' to use the convert command for LaTeX environments when set to 'html." + (let ((processing-type (plist-get info :with-latex))) + (if (eq processing-type 'html) + (let* ((latex-frag (org-remove-indentation + (org-element-property :value latex-environment))) + (converted (org-format-latex-as-html latex-frag))) + (format "

\n\n%s\n\n
" + converted)) + (funcall orig-fun latex-environment contents info)))) + + (advice-add 'org-html-latex-environment :around #'my-org-html-latex-environment-pandoc-fix) + (org-babel-do-load-languages 'org-babel-load-languages '((shell . t) (python . t) @@ -332,7 +354,7 @@ I use org-journal to journal about my life, and it's a part of my website: "Custom function to create journal header." (concat (pcase org-journal-file-type - (`daily "#+TITLE: Daily Journal\n#+STARTUP: showeverything\n#+DESCRIPTION: My daily journal entry\n#+AUTHOR: Preston Pan\n#+HTML_HEAD: \n#+html_head: \n#+html_head: \n#+options: broken-links:t") + (`daily "#+TITLE: Daily Journal\n#+STARTUP: showeverything\n#+DESCRIPTION: My daily journal entry\n#+AUTHOR: Preston Pan\n#+options: broken-links:t") (`weekly "#+TITLE: Weekly Journal\n#+STARTUP: folded") (`monthly "#+TITLE: Monthly Journal\n#+STARTUP: folded") (`yearly "#+TITLE: Yearly Journal\n#+STARTUP: folded")))) @@ -745,7 +767,7 @@ For all my mathematics and programming notes: (org-roam-directory (file-truename "~/monorepo/mindmap") "Set org-roam directory inside monorepo") (org-roam-capture-templates '(("d" "default" plain "%?" :target (file+head "${title}.org" - "#+title: ${title}\n#+author: Preston Pan\n#+html_head: \n#+html_head: \n#+html_head: \n#+options: broken-links:t") + "#+title: ${title}\n#+author: Preston Pan\n#+description:\n#+options: broken-links:t") :unnarrowed t)) "org-roam files start with this snippet by default") :config (org-roam-db-autosync-mode) diff --git a/config/index.org b/config/index.org index 17fd3f2..138c940 100644 --- a/config/index.org +++ b/config/index.org @@ -2,8 +2,9 @@ #+title: Configurations #+author: Preston Pan #+date: <2023-06-10 Sat> +#+description: My configurations for my computer programs. #+language: en -#+html_head: + #+OPTIONS: broken-links:t * What is this magic? They're configurations for extremely obscure programs I use. Yeah, I know, I'm somewhat of a hipster myself. diff --git a/config/nix.org b/config/nix.org index 996d35c..e131016 100644 --- a/config/nix.org +++ b/config/nix.org @@ -1,7 +1,6 @@ #+title: NixOS Configuration #+AUTHOR: Preston Pan #+DESCRIPTION: My NixOS system, written entirely in a literate configuration -#+html_head: * Introduction This is my NixOS configuration. It is a part of my monorepo, and this file automatically tangles @@ -389,6 +388,12 @@ you own: key_groups: - age: - *vps + + - path_regex: secrets/common_secrets.yaml$ + key_groups: + - age: + - *primary + - *vps #+end_src also note that you will have to write your own secrets.yaml file, with an entry called ~mail~, which is used for the imaps and smtps password. @@ -3371,6 +3376,7 @@ I want to separate out these packages so that my parent flake which builds my we epkgs.mu4e epkgs.minuet epkgs.nix-mode + epkgs.org-contrib epkgs.org-fragtog epkgs.org-journal epkgs.org-roam diff --git a/config/qutebrowser.org b/config/qutebrowser.org index 1deb37a..b243a3e 100644 --- a/config/qutebrowser.org +++ b/config/qutebrowser.org @@ -3,7 +3,6 @@ #+date: <2023-06-09 Fri> #+description: a catppuccin configuration for qutebrowser. #+auto_tangle: t -#+html_head: * Configuration ** Imports diff --git a/flake.nix b/flake.nix index c440935..b2b8e9c 100644 --- a/flake.nix +++ b/flake.nix @@ -5,15 +5,18 @@ self.submodules = true; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + git-hooks = { url = "github:cachix/git-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + nixmacs.url = "path:./nix"; publish-org-roam-ui = { url = "git://nullring.xyz/publish-org-roam-ui.git"; }; + garamond = { url = "github:fontalternative/cormorant-garamond"; flake = false; @@ -138,6 +141,11 @@ fi pkgs.jq pkgs.lora pkgs.inconsolata + pkgs.stix-two + pkgs.pandoc + pkgs.rsass + pkgs.minify + (pkgs.texlive.combine { inherit (pkgs.texlive) scheme-full @@ -160,6 +168,7 @@ mkdir -p $HOME/monorepo cp -a . $HOME/monorepo/ cd $HOME/monorepo mkdir -p mindmap/img +rsass style.scss | minify --type=css > style.css cat < $TMPDIR/policy.xml @@ -196,25 +205,22 @@ emacs -q --batch \ --eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq load-prefer-newer t)' \ --eval '(setq gc-cons-threshold 100000000)' \ + --eval '(setq vc-handled-backends nil)' \ + --eval '(setq make-backup-files nil auto-save-default nil create-lockfiles nil)' \ -l ${nixmacs}/init.el \ --eval '(setq custom-safe-themes t)' \ - --eval "(org-babel-do-load-languages 'org-babel-load-languages '((latex . t)))" \ --eval '(setq org-roam-directory (expand-file-name "mindmap" (expand-file-name "~/monorepo")))' \ --eval '(setq org-id-track-globally t)' \ --eval '(org-roam-db-sync)' \ --eval '(setq term-file-prefix nil)' \ - --eval '(load-theme (quote doom-rouge) t)' \ --eval '(force-mode-line-update)' \ --eval '(setq org-html-link-use-abs-url nil)' \ --eval '(setq default-directory (expand-file-name "~/monorepo"))' \ --eval '(setq org-html-link-use-abs-url nil)' \ --eval '(setq org-html-link-org-files-as-html t)' \ - --eval '(setq vc-handled-backends nil)' \ --eval '(require (quote htmlize))' \ --eval '(require (quote nix-mode))' \ - --eval '(setq make-backup-files nil auto-save-default nil create-lockfiles nil)' \ --eval '(setq org-html-htmlize-output-type (quote css))' \ - --eval '(setq org-html-head-extra "\n")' \ --eval '(org-publish-all t)' || (echo "FAIL:" && cat /build/*.log && exit 1) echo "Setting up Graph View..." @@ -229,6 +235,9 @@ mkdir -p $out/fonts cp -L ${pkgs.lora}/share/fonts/truetype/*.ttf $out/fonts/ cp -L ${pkgs.inconsolata}/share/fonts/truetype/inconsolata/*.ttf $out/fonts + +cp -L ${pkgs.stix-two}/share/fonts/truetype/STIXTwoMath-Regular.ttf $out/fonts/ + cp ${garamond}/ttf/CormorantGaramond-Medium.ttf $out/fonts/ cp ${garamond}/ttf/CormorantGaramond-MediumItalic.ttf $out/fonts/ cp ${garamond}/ttf/CormorantGaramond-Bold.ttf $out/fonts/ diff --git a/index.org b/index.org index e521e29..9dfdf95 100644 --- a/index.org +++ b/index.org @@ -2,14 +2,6 @@ #+author: Preston Pan #+date: <2023-06-09 Fri> #+description: A website full of wonder and explanation -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: -#+html_head: #+language: en #+OPTIONS: broken-links:t #+OPTIONS: html-preamble:nil diff --git a/journal/README.org b/journal/README.org index 1b1310f..8294f8d 100644 --- a/journal/README.org +++ b/journal/README.org @@ -3,7 +3,7 @@ #+date: <2023-06-11 Sun> #+description: My online journal #+language: en -#+html_head: + #+OPTIONS: broken-links:t * My Journal diff --git a/journal/index.org b/journal/index.org index 10ccd31..1e17d37 100644 --- a/journal/index.org +++ b/journal/index.org @@ -1,7 +1,7 @@ #+title: Journal #+author: Preston Pan #+description: My journal entries -#+html_head: + #+date: <2023-06-09 Fri> #+language: en #+OPTIONS: broken-links:t diff --git a/mindmap/Fourier Transform.org b/mindmap/Fourier Transform.org index 2e5e0a6..b6dabfe 100644 --- a/mindmap/Fourier Transform.org +++ b/mindmap/Fourier Transform.org @@ -4,9 +4,8 @@ :END: #+title: Fourier Transform #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Fundamental in the theory of measure. + #+options: broken-links:t * Introduction The Fourier Transform is a generalization of the Fourier Series. It has applications in solving [[id:4be41e2e-52b9-4cd1-ac4c-7ecb57106692][differential equations]] and diff --git a/mindmap/Heaviside Step Function.org b/mindmap/Heaviside Step Function.org index c92a264..3a2085c 100644 --- a/mindmap/Heaviside Step Function.org +++ b/mindmap/Heaviside Step Function.org @@ -3,9 +3,8 @@ :END: #+title: Heaviside Step Function #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Essential to the theory of distributions. + #+options: broken-links:t * Introduction diff --git a/mindmap/Hilbert Space.org b/mindmap/Hilbert Space.org index 281c107..f1ecc6d 100644 --- a/mindmap/Hilbert Space.org +++ b/mindmap/Hilbert Space.org @@ -3,9 +3,8 @@ :END: #+title: Hilbert Space #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Hilbert spaces are fundamental topological spaces. + #+options: broken-links:t * Introduction diff --git a/mindmap/IAK.org b/mindmap/IAK.org index f9404b8..9077bb5 100644 --- a/mindmap/IAK.org +++ b/mindmap/IAK.org @@ -3,9 +3,8 @@ :END: #+title: IAK #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: A civilisational syndrome. + #+options: broken-links:t * Introduction Short for "I am king". Refers to the modern propensity for people to talk about political issues diff --git a/mindmap/IEEDI.org b/mindmap/IEEDI.org index 893c122..fbc8c9d 100644 --- a/mindmap/IEEDI.org +++ b/mindmap/IEEDI.org @@ -3,9 +3,8 @@ :END: #+title: IEEDI #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: a Kantian fallacy. + #+options: broken-links:t * Introduction diff --git a/mindmap/Kirchhoff's Laws.org b/mindmap/Kirchhoff's Laws.org index fc88086..872219e 100644 --- a/mindmap/Kirchhoff's Laws.org +++ b/mindmap/Kirchhoff's Laws.org @@ -3,10 +3,9 @@ :END: #+title: Kirchhoff's Laws #+author: Preston Pan +#+description: Basis of analogue circuitry. #+description: basic laws of circuit analysis -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/LRC circuit.org b/mindmap/LRC circuit.org index bd2f078..a7686ed 100644 --- a/mindmap/LRC circuit.org +++ b/mindmap/LRC circuit.org @@ -4,9 +4,8 @@ :END: #+title: LRC circuit #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Explanation of LRC Circuits + #+options: broken-links:t * Introduction diff --git a/mindmap/L_{2} space.org b/mindmap/L_{2} space.org index 50bb154..08a7863 100644 --- a/mindmap/L_{2} space.org +++ b/mindmap/L_{2} space.org @@ -3,9 +3,8 @@ :END: #+title: L_{2} space #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: essential to the study of measure theory and fourier analysis. + #+options: broken-links:t * Introduction diff --git a/mindmap/Lagrangian mechanics.org b/mindmap/Lagrangian mechanics.org index c3e078d..eb660ff 100644 --- a/mindmap/Lagrangian mechanics.org +++ b/mindmap/Lagrangian mechanics.org @@ -3,9 +3,8 @@ :END: #+title: Lagrangian mechanics #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Optimization with linear functionals. + #+options: broken-links:t * Introduction The Lagrangian, $L: (\mathbb{R}, \mathbb{R} \rightarrow \mathbb{R}, \mathbb{R} \rightarrow \mathbb{R}) \rightarrow \mathbb{R}$ is simply a functional: diff --git a/mindmap/Laplace Transform.org b/mindmap/Laplace Transform.org index 942d54b..8113a6e 100644 --- a/mindmap/Laplace Transform.org +++ b/mindmap/Laplace Transform.org @@ -3,9 +3,7 @@ :END: #+title: Laplace Transform #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/Legendre Transformation.org b/mindmap/Legendre Transformation.org index f9bc51f..cd86d8a 100644 --- a/mindmap/Legendre Transformation.org +++ b/mindmap/Legendre Transformation.org @@ -3,9 +3,8 @@ :END: #+title: Legendre Transformation #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: A tool used to translate between two pictures. + #+options: broken-links:t * Definition diff --git a/mindmap/Lorentz Force.org b/mindmap/Lorentz Force.org index 23aa782..2636204 100644 --- a/mindmap/Lorentz Force.org +++ b/mindmap/Lorentz Force.org @@ -3,9 +3,8 @@ :END: #+title: Lorentz Force #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: A concept in electrodynamics. + #+options: broken-links:t * Definition diff --git a/mindmap/Maxwell's Equations.org b/mindmap/Maxwell's Equations.org index 77681a9..de47fd6 100644 --- a/mindmap/Maxwell's Equations.org +++ b/mindmap/Maxwell's Equations.org @@ -3,9 +3,7 @@ :END: #+title: Maxwell's Equations #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: The greatest theory of the 19th century. #+options: broken-links:t * Introduction diff --git a/mindmap/Newtonian mechanics.org b/mindmap/Newtonian mechanics.org index 7d4b414..aef32bb 100644 --- a/mindmap/Newtonian mechanics.org +++ b/mindmap/Newtonian mechanics.org @@ -3,9 +3,7 @@ :END: #+title: Newtonian mechanics #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Where it all begins. #+options: broken-links:t * Introduction diff --git a/mindmap/Ohm's Law.org b/mindmap/Ohm's Law.org index 16f48ee..de60ff9 100644 --- a/mindmap/Ohm's Law.org +++ b/mindmap/Ohm's Law.org @@ -3,9 +3,7 @@ :END: #+title: Ohm's Law #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Of great importance to circuit analysis. #+options: broken-links:t * Introduction The name is a misnomer; Ohm's law simply refers to the tendency for real world materials to obey this relation: diff --git a/mindmap/README.org b/mindmap/README.org index 878ad1d..a2fbf6e 100644 --- a/mindmap/README.org +++ b/mindmap/README.org @@ -3,7 +3,6 @@ #+author: Preston Pan #+description: My online journal #+language: en -#+html_head: #+OPTIONS: broken-links:t * Mindmap!! diff --git a/mindmap/central force.org b/mindmap/central force.org index f341837..d3ae340 100644 --- a/mindmap/central force.org +++ b/mindmap/central force.org @@ -3,9 +3,8 @@ :END: #+title: central force #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Useful in classical mechanics. + #+options: broken-links:t * Derivation diff --git a/mindmap/circuit analysis.org b/mindmap/circuit analysis.org index 849e56a..b200b10 100644 --- a/mindmap/circuit analysis.org +++ b/mindmap/circuit analysis.org @@ -3,9 +3,8 @@ :END: #+title: circuit analysis #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: An amazing field of study! + #+options: broken-links:t * Introduction diff --git a/mindmap/consequentialism.org b/mindmap/consequentialism.org index d277173..1cbd691 100644 --- a/mindmap/consequentialism.org +++ b/mindmap/consequentialism.org @@ -3,9 +3,8 @@ :END: #+title: consequentialism #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: "What do you mean, I'm a monster?" + #+options: broken-links:t * Introduction Consequentialism is a set of metaethical views that give importance to the consequence of actions rather than some diff --git a/mindmap/conservative force.org b/mindmap/conservative force.org index ca50664..ce2f299 100644 --- a/mindmap/conservative force.org +++ b/mindmap/conservative force.org @@ -3,9 +3,8 @@ :END: #+title: conservative force #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Conservation of energy, in a nutshell. + #+options: broken-links:t * Definition diff --git a/mindmap/continuity equation.org b/mindmap/continuity equation.org index c12ffa1..c060e6f 100644 --- a/mindmap/continuity equation.org +++ b/mindmap/continuity equation.org @@ -3,9 +3,8 @@ :END: #+title: continuity equation #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: Conservation! Charge! Symmetry! + #+options: broken-links:t * Derivation and Motivation diff --git a/mindmap/del operator.org b/mindmap/del operator.org index 657ff69..e25aa21 100644 --- a/mindmap/del operator.org +++ b/mindmap/del operator.org @@ -3,9 +3,8 @@ :END: #+title: del operator #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: +#+description: A turning point for multivariable understanding. + #+options: broken-links:t * Definition diff --git a/mindmap/derivative.org b/mindmap/derivative.org index d046459..6e41443 100644 --- a/mindmap/derivative.org +++ b/mindmap/derivative.org @@ -3,9 +3,7 @@ :END: #+title: derivative #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Derivation diff --git a/mindmap/differential equation.org b/mindmap/differential equation.org index c509da0..f811c26 100644 --- a/mindmap/differential equation.org +++ b/mindmap/differential equation.org @@ -3,9 +3,7 @@ :END: #+title: differential equation #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction A differential equation is an equation whose solutions are functions and which incorporate derivatives of the function diff --git a/mindmap/dirac delta.org b/mindmap/dirac delta.org index c799c30..59bed32 100644 --- a/mindmap/dirac delta.org +++ b/mindmap/dirac delta.org @@ -3,9 +3,7 @@ :END: #+title: dirac delta #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Definition diff --git a/mindmap/divergence theorem.org b/mindmap/divergence theorem.org index b2c6660..e4231da 100644 --- a/mindmap/divergence theorem.org +++ b/mindmap/divergence theorem.org @@ -3,9 +3,7 @@ :END: #+title: divergence theorem #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Definition diff --git a/mindmap/duality.org b/mindmap/duality.org index c18db08..a79ab7b 100644 --- a/mindmap/duality.org +++ b/mindmap/duality.org @@ -3,7 +3,7 @@ :END: #+title: duality #+author: Preston Pan -#+html_head: + #+date: <2023-06-10 Sat> * is it One or is it Two? Is it me, or is it you? Is it false, or is it true? Many things diff --git a/mindmap/egoism.org b/mindmap/egoism.org index 9afef56..c0d1635 100644 --- a/mindmap/egoism.org +++ b/mindmap/egoism.org @@ -3,9 +3,7 @@ :END: #+title: egoism #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction Egoism, broadly defined, is the philosophical view that one should maximize for their own utility function, or well-being, diff --git a/mindmap/electrostatics.org b/mindmap/electrostatics.org index 7072bf8..d2fbdde 100644 --- a/mindmap/electrostatics.org +++ b/mindmap/electrostatics.org @@ -3,9 +3,7 @@ :END: #+title: electrostatics #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * What is Electricity? diff --git a/mindmap/emergence.org b/mindmap/emergence.org index 95fd832..4797ec0 100644 --- a/mindmap/emergence.org +++ b/mindmap/emergence.org @@ -3,9 +3,7 @@ :END: #+title: emergence #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Emergence systems are… diff --git a/mindmap/everything.org b/mindmap/everything.org index b33f754..5803350 100644 --- a/mindmap/everything.org +++ b/mindmap/everything.org @@ -3,7 +3,7 @@ :END: #+title: everything #+author: Preston Pan -#+html_head: + #+date: <2023-06-10 Sat> * Everything? diff --git a/mindmap/factorial.org b/mindmap/factorial.org index 0f00101..72d2acc 100644 --- a/mindmap/factorial.org +++ b/mindmap/factorial.org @@ -4,7 +4,7 @@ #+title: factorial #+author: Preston Pan #+options: num:nil -#+html_head: + Introduction The factorial [[id:b1f9aa55-5f1e-4865-8118-43e5e5dc7752][function]] $n!: \mathbb{N} \rightarrow \mathbb{N}$ describes the amount of ways one can arrange $n$ differentiable objects. In practice: diff --git a/mindmap/framework.org b/mindmap/framework.org index f311e19..f865d54 100644 --- a/mindmap/framework.org +++ b/mindmap/framework.org @@ -4,9 +4,7 @@ :END: #+title: framework #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction Frameworks are an essential thing to understand are fundamental to how we work, and this statement will diff --git a/mindmap/function.org b/mindmap/function.org index 716a1ec..9b8cdc2 100644 --- a/mindmap/function.org +++ b/mindmap/function.org @@ -3,9 +3,7 @@ :END: #+title: function #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Definition diff --git a/mindmap/group.org b/mindmap/group.org index fb24bf8..1b00fd1 100644 --- a/mindmap/group.org +++ b/mindmap/group.org @@ -3,9 +3,7 @@ :END: #+title: group #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Definition diff --git a/mindmap/index.org b/mindmap/index.org index ab3c1d9..36d5fd8 100644 --- a/mindmap/index.org +++ b/mindmap/index.org @@ -2,7 +2,6 @@ #+title: Mindmap #+author: Preston Pan #+date: <2023-06-10 Sat> -#+html_head: * Introducing: the Mindmap Do you want to know everything like me and be a smart person instead of dumb? diff --git a/mindmap/induction.org b/mindmap/induction.org index 1cccbdc..2dec025 100644 --- a/mindmap/induction.org +++ b/mindmap/induction.org @@ -4,7 +4,7 @@ #+title: induction #+author: Preston Pan #+options: num:nil -#+html_head: + #+options: tex:dvipng * Introduction diff --git a/mindmap/infinity.org b/mindmap/infinity.org index 0f01b17..204502c 100644 --- a/mindmap/infinity.org +++ b/mindmap/infinity.org @@ -3,9 +3,7 @@ :END: #+title: infinity #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/inheritance.org b/mindmap/inheritance.org index dc3f21d..49cd516 100644 --- a/mindmap/inheritance.org +++ b/mindmap/inheritance.org @@ -3,9 +3,7 @@ :END: #+title: inheritance #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Definition diff --git a/mindmap/inner product space.org b/mindmap/inner product space.org index e9448a0..b5be3a5 100644 --- a/mindmap/inner product space.org +++ b/mindmap/inner product space.org @@ -3,9 +3,7 @@ :END: #+title: inner product space #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/interpreter.org b/mindmap/interpreter.org index 4181fd5..76fb195 100644 --- a/mindmap/interpreter.org +++ b/mindmap/interpreter.org @@ -3,9 +3,7 @@ :END: #+title: interpreter #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction An interpreter in programming is a computer program that runs another diff --git a/mindmap/inverse square.org b/mindmap/inverse square.org index 205c5f7..af3462f 100644 --- a/mindmap/inverse square.org +++ b/mindmap/inverse square.org @@ -3,9 +3,7 @@ :END: #+title: inverse square #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Derivation diff --git a/mindmap/limit.org b/mindmap/limit.org index 22b3280..2d49c74 100644 --- a/mindmap/limit.org +++ b/mindmap/limit.org @@ -3,9 +3,7 @@ :END: #+title: limit #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/logic.org b/mindmap/logic.org index 1de226b..e96d87b 100644 --- a/mindmap/logic.org +++ b/mindmap/logic.org @@ -3,9 +3,7 @@ :END: #+title: logic #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/magnetostatics.org b/mindmap/magnetostatics.org index dd9d172..a543ac6 100644 --- a/mindmap/magnetostatics.org +++ b/mindmap/magnetostatics.org @@ -3,9 +3,7 @@ :END: #+title: magnetostatics #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/mathematics.org b/mindmap/mathematics.org index 3a5e1ec..2fdb11d 100644 --- a/mindmap/mathematics.org +++ b/mindmap/mathematics.org @@ -3,9 +3,7 @@ :END: #+title: mathematics #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + * Mathematics is [[id:29ebc4f9-0fd8-4203-8bfe-84f8558e09cf][Logic]] With a couple of set theory axioms. One might describe it as an extrapolation framework diff --git a/mindmap/metric space.org b/mindmap/metric space.org index df750db..97b08c2 100644 --- a/mindmap/metric space.org +++ b/mindmap/metric space.org @@ -4,9 +4,7 @@ :END: #+title: metric space #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/natural number.org b/mindmap/natural number.org index 8b3f31a..46d2450 100644 --- a/mindmap/natural number.org +++ b/mindmap/natural number.org @@ -3,9 +3,7 @@ :END: #+title: natural number #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + * What is a Natural Number? We can formulate the natural numbers from set construction, or by Peano arithmetic. diff --git a/mindmap/normed vector space.org b/mindmap/normed vector space.org index 82f1f6f..6e8362b 100644 --- a/mindmap/normed vector space.org +++ b/mindmap/normed vector space.org @@ -3,9 +3,7 @@ :END: #+title: normed vector space #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/mindmap/partial derivative.org b/mindmap/partial derivative.org index 54ab922..b7ef9b0 100644 --- a/mindmap/partial derivative.org +++ b/mindmap/partial derivative.org @@ -3,9 +3,7 @@ :END: #+title: partial derivative #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Definition diff --git a/mindmap/philosophy.org b/mindmap/philosophy.org index 188cd23..7fe892f 100644 --- a/mindmap/philosophy.org +++ b/mindmap/philosophy.org @@ -3,9 +3,7 @@ :END: #+title: philosophy #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction Philosophy is a hard to describe term, but this mindmap defines this term as the study of living life optimally. We use diff --git a/mindmap/physics.org b/mindmap/physics.org index eeb3a0c..35d7508 100644 --- a/mindmap/physics.org +++ b/mindmap/physics.org @@ -3,9 +3,7 @@ :END: #+title: physics #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Laws of Nature diff --git a/mindmap/quantum mechanics.org b/mindmap/quantum mechanics.org index e0df273..b208c49 100644 --- a/mindmap/quantum mechanics.org +++ b/mindmap/quantum mechanics.org @@ -3,9 +3,7 @@ :END: #+title: quantum mechanics #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction Quantum mechanics was discovered as a predictive [[id:6d8c8bcc-58b0-4267-8035-81b3bf753505][framework]] in the early 1900's after a set of experiments (i.e. the diff --git a/mindmap/recursion.org b/mindmap/recursion.org index 6dc3942..07d3eb1 100644 --- a/mindmap/recursion.org +++ b/mindmap/recursion.org @@ -3,9 +3,7 @@ :END: #+title: recursion #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+startup: latexpreview #+OPTIONS: broken-links:t #+description: A description of recursive hierarchies in everything. diff --git a/mindmap/self-assembly.org b/mindmap/self-assembly.org index 110c085..55d5b77 100644 --- a/mindmap/self-assembly.org +++ b/mindmap/self-assembly.org @@ -3,7 +3,7 @@ :END: #+title: self-assembly #+author: Preston Pan -#+html_head: + * Introduction Self assembly is the process by which a system decreases entropy in its surrounding area diff --git a/mindmap/special relativity.org b/mindmap/special relativity.org index ffb4cb7..d79dfa0 100644 --- a/mindmap/special relativity.org +++ b/mindmap/special relativity.org @@ -3,9 +3,7 @@ :END: #+title: special relativity #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Motivation diff --git a/mindmap/stack.org b/mindmap/stack.org index 9f05a5e..c66e3fa 100644 --- a/mindmap/stack.org +++ b/mindmap/stack.org @@ -3,7 +3,7 @@ :END: #+title: stack #+author: Preston Pan -#+html_head: + * Introduction A stack in programming is a data structure that satisfies the following API rules: 1. Push: puts something on the top of the stack diff --git a/mindmap/texput.log b/mindmap/texput.log deleted file mode 100644 index 9f5fcd0..0000000 --- a/mindmap/texput.log +++ /dev/null @@ -1,24 +0,0 @@ -This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023/nixos.org) (preloaded format=xelatex 1980.1.1) 3 JAN 2025 14:31 -entering extended mode - restricted \write18 enabled. - file:line:error style messages enabled. - %&-line parsing enabled. -**\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,textmath,graphics]{preview}[2004/11/05]\fi} \input \detokenize{ "LRC circuit.org.tex" } - -! Emergency stop. - "LRC circuit.org.tex" - -<*> ...\input \detokenize{ "LRC circuit.org.tex" } - -*** (job aborted, file error in nonstop mode) - - -Here is how much of TeX's memory you used: - 19 strings out of 474773 - 380 string characters out of 5739028 - 1917839 words of memory out of 5000000 - 22275 multiletter control sequences out of 15000+600000 - 558069 words of font info for 36 fonts, out of 8000000 for 9000 - 1348 hyphenation exceptions out of 8191 - 13i,0n,22p,268b,10s stack positions out of 10000i,1000n,20000p,200000b,200000s -No pages of output. diff --git a/mindmap/vector space.org b/mindmap/vector space.org index 55f37c8..b28877d 100644 --- a/mindmap/vector space.org +++ b/mindmap/vector space.org @@ -4,9 +4,7 @@ :END: #+title: vector space #+author: Preston Pan -#+html_head: -#+html_head: -#+html_head: + #+options: broken-links:t * Introduction diff --git a/nix b/nix index 7515c34..fa6c282 160000 --- a/nix +++ b/nix @@ -1 +1 @@ -Subproject commit 7515c347c91b007b9adafcc62066854dfda9c990 +Subproject commit fa6c2826f9daf7a8dfb5e55793e1b30cc35430e8 diff --git a/site.webmanifest b/site.webmanifest index b20abb7..120f57e 100644 --- a/site.webmanifest +++ b/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "", - "short_name": "", + "name": "Ret2pop's Website", + "short_name": "ret2pop!", "icons": [ { "src": "/android-chrome-192x192.png", diff --git a/style.css b/style.css deleted file mode 100644 index 7733d4a..0000000 --- a/style.css +++ /dev/null @@ -1,721 +0,0 @@ -@font-face { - font-family: 'Lora'; - font-style: normal; - font-weight: 500; - src: url('./fonts/Lora-Medium.ttf') format('truetype'); -} - -@font-face { - font-family: 'Inconsolata'; - font-style: normal; - font-weight: 400; - src: url('./fonts/Inconsolata-Regular.ttf') format('truetype'); -} - -@font-face { - font-family: 'CormorantGaramond'; - font-style: normal; - font-weight: 600; - src: url('./fonts/CormorantGaramond-Medium.ttf') format('truetype'); -} - -@font-face { - font-family: 'CormorantGaramond'; - font-style: normal; - font-weight: 700; - src: url('./fonts/CormorantGaramond-Bold.ttf') format('truetype'); -} - -@font-face { - font-family: 'CormorantGaramond'; - font-style: italic; - font-weight: 500; - src: url('./fonts/CormorantGaramond-MediumItalic.ttf') format('truetype'); -} - -:root { - --bg-main: #FBF8F1; - --text-main: #4A3F35; - --toc-bg: #EAE3D2; - --toc-text: #4A3F35; - --accent: #D4A373; - --link-color: #8C6239; - - --code-bg: #1e1e2e; - --code-text: #cdd6f4; - --code-radius: 6px; - - --font-serif: "Lora", serif; - --font-mono: "Inconsolata", monospace; - --font-header: "CormorantGaramond"; -} - -::selection { - color: white; - background: #ff4081; -} - -:not(pre) > code { - font-family: var(--font-mono), monospace; - background: var(--code-bg); - color: var(--code-text); - padding: 0.15em 0.4em; - border-radius: 4px; - font-size: 0.85em; - white-space: pre-wrap; - word-break: break-word; - box-decoration-break: clone; - - -webkit-box-decoration-break: clone; -} - -body { - background: - radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px), - var(--bg-main); - max-width: 65ch; - line-height: 1.75; - background-size: 6px 6px; - margin: 40px auto; - font-size: 16px; - color: var(--text-main); - padding: 0 10px; - - /* fonts */ - font-size: 18px; - font-family: var(--font-serif); - font-weight: 500; - font-variant-ligatures: common-ligatures; - -webkit-font-smoothing: antialiased; - - @media (max-width: 1250px) { - margin: 20px auto; - font-size: 20px; - } - - @media (max-width: 768px) { - max-width: 100%; - padding: 0 15px; - box-sizing: border-box; - } -} - -input { - padding: 10px 16px; - margin: 2px 0; - box-sizing: border-box; - border: 2px solid #dabebe; - border-radius: 6px; - background: var(--bg-main); - color: var(--text-main); - font-size: 16px; - -webkit-transition: 0.5s; - transition: 0.5s; - outline: none; - - &:focus { border: 2px solid var(--text-main); } -} - -figure { - margin: 2rem auto; - text-align: center; -} - -p, li, blockquote, figcaption { - overflow-wrap: break-word; - word-wrap: break-word; /* Legacy fallback */ - word-break: break-word; -} - -p, ul, ol { - margin-top: 1rem; - margin-bottom: 1rem; -} - -figcaption { - font-size: 0.9rem; - color: color-mix(in srgb, var(--text-main) 80%, gray); - margin-top: 0.5rem; -} - -h1, h2, h3 { - line-height: 1.2; - font-family: var(--font-header); -} - -h4, h5, h6 { - font-family: var(--font-mono); - line-height: 1.3; - margin-top: 1.5rem; - margin-bottom: 0.5rem; -} - -h1, h2 { - border-bottom: 1px solid var(--border-color); - padding-bottom: 8px; - margin-top: 2.5rem; - letter-spacing: -0.01em; - position: relative; -} - -h1 { - font-size: 2.3rem; - margin-top: 3rem; - margin-bottom: 1rem; - font-weight: 600; - letter-spacing: 0; - line-height: 1.3; - -webkit-font-smoothing: antialiased; - - @media (max-width: 1250px) { font-size: 1.8rem; } -} - -h2 { - font-size: 1.6rem; - margin-top: 2.5rem; - margin-bottom: 0.6rem; - - @media (max-width: 1250px) { font-size: 18px; } - @media (max-width: 768px) { font-size: 1.5rem; } -} - -h3 { - font-size: 1.25rem; - font-weight: 700; - margin-top: 2rem; - margin-bottom: 0.4rem; - letter-spacing: 0.02em; -} - -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); -} - -img, blockquote { - @media (max-width: 768px) { - max-width: 100%; - width: 100%; - box-sizing: border-box; - } -} - -img { - border-radius: 10px; - text-align: center; - margin-left: auto; - margin-right: auto; - width: 50%; - display: block; -} - -blockquote { - width: 80%; - margin: 40px auto; - font-style: italic; - color: var(--text-main); - padding: 1.5em 30px 1.5em 60px; - border-left: 4px solid var(--accent); - border-radius: 0 8px 8px 0; - line-height: 1.6; - position: relative; - background: color-mix(in srgb, var(--accent) 15%, transparent); - - &::before { - font-family: var(--font-serif), serif; - content: "\201C"; - color: var(--accent); - font-size: 5em; - position: absolute; - left: 10px; - top: -20px; - opacity: 0.5; - } - - &::after { content: ''; } - - @media (max-width: 768px) { - padding: 1em 15px 1em 40px; - width: 100%; - } -} - -pre { - font-family: var(--font-mono), monospace; - &.src-stem::before { content: "Stem"; } -} - -a { - cursor: pointer; - color: var(--link-color); - text-decoration: underline; - text-decoration-thickness: 2px; - text-underline-offset: 4px; - transition: all 0.2s ease-in-out; - - &:hover { - color: color-mix(in srgb, var(--link-color) 80%, black); - text-decoration-thickness: 4px; - } -} - -table { - display: block; - width: 100%; - overflow-x: auto; - scrollbar-width: none; - -ms-overflow-style: none; - border-collapse: collapse; - margin: 2rem 0; - - &::-webkit-scrollbar { display: none; } -} - -math[display="block"] { - display: block !important; - min-width: 0 !important; - overflow-y: hidden !important; - overflow-x: auto !important; - - background: rgba(212, 163, 115, 0.05); - padding: 1.5rem; - border-left: 2px solid var(--accent); - margin: 2rem 0 !important; - - scrollbar-width: none; - -ms-overflow-style: none; - - &::-webkit-scrollbar { display: none; } - - & mtable { - margin-left: 0 !important; - text-align: left !important; - } - - & mtd { text-align: left !important; } -} - -p { margin: 1.2rem 0; } - -li { margin: 0.3rem 0; } - - -.org-svg { - width: 100%; - max-width: none; -} - -.org-src-container { - position: relative; - margin: 1.2em 0; - - pre.src { - position: relative !important; - overflow: visible !important; - background: var(--code-bg); - border-radius: 6px; - margin: 0 !important; - padding: 0 !important; - border: none !important; - - & > code { - display: block; - overflow-x: auto; - padding: 1.5rem 1rem 1rem 1rem; - white-space: pre; - scrollbar-width: none; - -ms-overflow-style: none; - - &::-webkit-scrollbar { display: none; } - } - - &::before { - content: attr(data-language); - display: block !important; - position: absolute !important; - top: 0.5rem; - right: 0.5rem; - z-index: 20; - - font-family: var(--font-mono), monospace; - font-size: 0.7rem; - color: var(--code-text); - background: var(--code-bg); - padding: 2px 8px; - border-radius: 4px; - opacity: 0.6; - pointer-events: none; - } - } -} - -.content { - margin-left: 280px; - padding: 0px 10px; - - @media (max-width: 1250px) { margin-left: 0; } -} - -.src, .example, mjx-container[jax="CHTML"][display="true"] { - scrollbar-width: none; - -ms-overflow-style: none; - overflow-x: auto; - - @media (max-width: 768px) { - max-width: 100%; - box-sizing: border-box; - width: 100%; - } -} - -mjx-container[jax="CHTML"] { - &[display="true"] { - display: block !important; - min-width: 0 !important; - overflow-y: hidden !important; - overflow-x: auto !important; - - background: rgba(212, 163, 115, 0.05); - padding: 1.5rem; - border-left: 2px solid var(--accent); - margin: 2rem 0 !important; - - &::-webkit-scrollbar { display: none; } - } - - &:not([display="true"]) { - padding: 0; margin: 0; background: transparent; border: none; - } - - & mjx-mtable { - margin-left: 0 !important; - text-align: left !important; - } - - & mjx-mtd { - text-align: left !important; - } -} - -.src, .example { - position: relative; - background: var(--code-bg); - color: var(--code-text); - padding: 1rem; - border-radius: 6px; - font-size: 0.9rem; - box-shadow: none; - - &::before { - position: absolute; - top: 0.5rem; - right: 0.5rem; - float: right; - z-index: 10; - font-family: var(--font-mono), monospace; - font-size: 0.7rem; - opacity: 0.5; - pointer-events: none; - - background: var(--code-bg); - padding: 2px 4px; - } - - &::-webkit-scrollbar { display: none; } -} - -.theorem, .proof { - display: block; - margin-left: 10px; - font-style: normal; - background: color-mix(in srgb, var(--accent) 8%, transparent); - border-left: 3px solid var(--accent); - padding: 1rem 1.3rem; - margin: 2rem 0; - &::before { - float: left; - font-weight: bold; - } -} - -.theorem { - margin-bottom:20px; - &::before { content:"Theorem.\00a0\00a0"; } -} - -.proof { - margin-bottom:30px; - - &::after { - content: "\25FC"; - float: right; - } - - &::before { content:'Proof.\00a0\00a0'; } -} - -.links-page > ul { - columns: 2; - -webkit-columns: 2; - -moz-columns: 2; - - @media (max-width: 768px) { - columns: 1; - -webkit-columns: 1; - -moz-columns: 1; - } -} - -header, .title + p, .subtitle + p { - margin-bottom: 3rem; - border-bottom: 1px double var(--accent); - padding-bottom: 1rem; -} - -.title { - font-size: 2.6rem; - margin-bottom: 0.5rem; -} - -.subtitle { - font-size: 1.2rem; - color: color-mix(in srgb, var(--text-main) 70%, gray); -} - -.author, .date { - display: inline; - font-family: var(--font-serif); - font-style: italic; - font-size: 1.1rem; - color: color-mix(in srgb, var(--text-main) 70%, gray); -} - -.author { - &::before { - content: "by "; - font-family: var(--font-mono); - font-style: normal; - font-weight: bold; - text-transform: uppercase; - font-size: 0.8rem; - letter-spacing: 1px; - margin-right: 4px; - } - - &:not(:last-child)::after { - content: ", "; - font-style: normal; - } -} - -.button { - background-color: var(--bg-main); - border: none; - color: black; - padding: 6px 14px; - text-align: center; - text-decoration: none; - display: inline-block; - font-size: 16px; - margin: 4px 2px; - transition-duration: 0.4s; - cursor: pointer; - border: 2px solid var(--text-main); - border-radius: 6px; - &:hover { - background-color: var(--text-main); - color: white; - } -} - -.isa_info, .isa_success, .isa_warning, .isa_error { - width: 90%; - margin: 10px 0px; - padding: 12px; -} - -.isa_info { - color: #00529b; - background-color: #bde5f8; -} - -.isa_success { - color: #4f8a10; - background-color: #dff2bf; -} - -.isa_warning { - color: #9f6000; - background-color: #feefb3; -} - -.isa_error { - color: #d8000c; - background-color: #ffd2d2; -} - -.title + .subtitle { - text-align: center; - font-style: italic; - padding-bottom: 30px; - margin-top: -10px; - color: #555; - display: block; -} - -.preamble { - font-family: var(--font-mono); - font-size: 0.85rem; - text-transform: uppercase; - letter-spacing: 1px; - margin-top: 10px; - color: color-mix(in srgb, var(--text-main) 50%, transparent); - a { - color: var(--text-main); - text-decoration: none; - padding: 4px 8px; - border-radius: 4px; - transition: all 0.2s ease; - &:hover { - background: color-mix(in srgb, var(--accent) 15%, transparent); - color: var(--link-color); - } - } - - & + hr { - border: none; - height: 1px; - background: linear-gradient(to right, var(--accent), transparent); - margin-bottom: 2.5rem; - opacity: 0.5; - } -} - -.todo { - font-family: var(--font-mono); - font-size: 0.75em; - font-weight: bold; - letter-spacing: 1px; - padding: 2px 8px; - border-radius: 4px; - vertical-align: middle; - margin-right: 6px; -} - -.todo.TODO { - color: var(--link-color); - background-color: color-mix(in srgb, var(--accent) 20%, transparent); - border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); -} - -.todo.DONE { - color: #4f8a10; - background-color: #dff2bf; - border: 1px solid color-mix(in srgb, #4f8a10 50%, transparent); -} - -#table-of-contents { - height: 100vh; - width: 250px; - position: fixed; - z-index: 10; - top: 0; - left: 0; - padding-top: 0; - background: var(--toc-bg); - border-right: 1px solid var(--accent); - overflow-y: auto; - overflow-x: hidden; - scrollbar-width: none; - - &::before { - content: "NAVIGATION"; - display: block; - padding: 24px 16px 12px 19px; - font-family: var(--font-mono); - font-size: 11px; - font-weight: bold; - letter-spacing: 2px; - color: var(--text-main); - border-bottom: 1px solid rgba(212, 163, 115, 0.2); - margin-bottom: 10px; - } - - ul { - list-style-type: none; - padding-left: 0; - margin: 0; - - a { - display: block; - width: 100%; - padding: 10px 16px 10px 32px; - box-sizing: border-box; - font-size: 15px; - font-family: var(--font-mono); - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); - border-left: 3px solid transparent; - opacity: 0.8; - - &, &:visited { - color: var(--text-main); - text-decoration: none; - } - - &:hover { - background-color: var(--text-main); - color: var(--bg-main); - padding-left: 22px; - border-left: 3px solid var(--accent); - } - } - ul { - a { - padding-left: 48px; - opacity: 0.55; - font-size: 13px; - - &:hover { - padding-left: 38px; - opacity: 1; - } - } - - ul a { - padding-left: 64px; - opacity: 0.4; - - &:hover { - padding-left: 54px; - } - } - - } - } - - h2 { display: none !important; } - - &::-webkit-scrollbar { display: none; } - - @media (max-width: 1250px) { display: none; } -} - -#postamble { text-align: center; } diff --git a/style.scss b/style.scss new file mode 100644 index 0000000..7c5e872 --- /dev/null +++ b/style.scss @@ -0,0 +1,724 @@ +@font-face { + font-family: 'Lora'; + font-style: normal; + font-weight: 500; + src: url('./fonts/Lora-Medium.ttf') format('truetype'); +} + +@font-face { + font-family: 'Inconsolata'; + font-style: normal; + font-weight: 400; + src: url('./fonts/Inconsolata-Regular.ttf') format('truetype'); +} + +@font-face { + font-family: 'CormorantGaramond'; + font-style: normal; + font-weight: 600; + src: url('./fonts/CormorantGaramond-Medium.ttf') format('truetype'); +} + +@font-face { + font-family: 'CormorantGaramond'; + font-style: normal; + font-weight: 700; + src: url('./fonts/CormorantGaramond-Bold.ttf') format('truetype'); +} + +@font-face { + font-family: 'CormorantGaramond'; + font-style: italic; + font-weight: 500; + src: url('./fonts/CormorantGaramond-MediumItalic.ttf') format('truetype'); +} + +@font-face { + font-family: 'STIX Two Math'; + font-style: normal; + font-weight: 400; + src: url('./fonts/STIXTwoMath-Regular.ttf') format('truetype'); +} + +@mixin hide-scrollbar { + &::-webkit-scrollbar { display: none; } + scrollbar-width: none; + -ms-overflow-style: none; +} + +@mixin horizontal-scroll { + display: block !important; + overflow-x: auto; +} + +:root { + --bg-main: #FBF8F1; + --text-main: #4A3F35; + --toc-bg: #EAE3D2; + --toc-text: #4A3F35; + --accent: #D4A373; + --link-color: #8C6239; + + --code-bg: #1e1e2e; + --code-text: #cdd6f4; + --code-radius: 6px; + + --font-serif: "Lora", serif; + --font-mono: "Inconsolata", monospace; + --font-header: "CormorantGaramond", serif; +} + +::selection { + color: white; + background: #ff4081; +} + +:not(pre) > code { + font-family: var(--font-mono), monospace; + background: var(--code-bg); + color: var(--code-text); + padding: 0.15em 0.4em; + border-radius: 4px; + font-size: 0.85em; + white-space: pre-wrap; + word-break: break-word; + box-decoration-break: clone; + + -webkit-box-decoration-break: clone; +} + +body { + background: + radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px), + var(--bg-main); + max-width: 65ch; + line-height: 1.75; + background-size: 6px 6px; + margin: 40px auto; + font-size: 16px; + color: var(--text-main); + padding: 0 10px; + + /* fonts */ + font-size: 18px; + font-family: var(--font-serif); + font-weight: 500; + font-variant-ligatures: common-ligatures; + -webkit-font-smoothing: antialiased; + + @media (max-width: 1250px) { + margin: 20px auto; + font-size: 20px; + } + + @media (max-width: 768px) { + max-width: 100%; + padding: 0 15px; + box-sizing: border-box; + } +} + +input { + padding: 10px 16px; + margin: 2px 0; + box-sizing: border-box; + border: 2px solid #dabebe; + border-radius: 6px; + background: var(--bg-main); + color: var(--text-main); + font-size: 16px; + -webkit-transition: 0.5s; + transition: 0.5s; + outline: none; + + &:focus { border: 2px solid var(--text-main); } +} + +figure { + margin: 2rem auto; + text-align: center; +} + +p, li, blockquote, figcaption { + overflow-wrap: break-word; + word-wrap: break-word; + word-break: break-word; +} + +p, ul, ol { + margin-top: 1rem; + margin-bottom: 1rem; +} + +figcaption { + font-size: 0.9rem; + color: color-mix(in srgb, var(--text-main) 80%, gray); + margin-top: 0.5rem; +} + +h1, h2, h3 { + line-height: 1.2; + font-family: var(--font-header), serif; +} + +h4, h5, h6 { + font-family: var(--font-mono); + line-height: 1.3; + margin-top: 1.5rem; + margin-bottom: 0.5rem; +} + +h1, h2 { + border-bottom: 1px solid var(--border-color); + padding-bottom: 8px; + margin-top: 2.5rem; + letter-spacing: -0.01em; + position: relative; +} + +h1 { + font-size: 2.3rem; + margin-top: 3rem; + margin-bottom: 1rem; + font-weight: 600; + letter-spacing: 0; + line-height: 1.3; + -webkit-font-smoothing: antialiased; + + @media (max-width: 1250px) { font-size: 1.8rem; } +} + +h2 { + font-size: 1.6rem; + margin-top: 2.5rem; + margin-bottom: 0.6rem; + + @media (max-width: 1250px) { font-size: 18px; } + @media (max-width: 768px) { font-size: 1.5rem; } +} + +h3 { + font-size: 1.25rem; + font-weight: 700; + margin-top: 2rem; + margin-bottom: 0.4rem; + letter-spacing: 0.02em; +} + +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); +} + +img, blockquote { + @media (max-width: 768px) { + max-width: 100%; + width: 100%; + box-sizing: border-box; + } +} + +img { + border-radius: 10px; + text-align: center; + margin-left: auto; + margin-right: auto; + width: 50%; + display: block; +} + +blockquote { + width: 80%; + margin: 40px auto; + font-style: italic; + color: var(--text-main); + padding: 1.5em 30px 1.5em 60px; + border-left: 4px solid var(--accent); + border-radius: 0 8px 8px 0; + line-height: 1.6; + position: relative; + background: color-mix(in srgb, var(--accent) 15%, transparent); + + &::before { + font-family: var(--font-serif), serif; + content: "\201C"; + color: var(--accent); + font-size: 5em; + position: absolute; + left: 10px; + top: -20px; + opacity: 0.5; + } + + &::after { content: ''; } + + @media (max-width: 768px) { + padding: 1em 15px 1em 40px; + width: 100%; + } +} + +pre { + font-family: var(--font-mono), monospace; + &.src-stem::before { content: "Stem"; } +} + +a { + cursor: pointer; + color: var(--link-color); + text-decoration: underline; + text-decoration-thickness: 2px; + text-underline-offset: 4px; + transition: all 0.2s ease-in-out; + + &:hover { + color: color-mix(in srgb, var(--link-color) 80%, black); + text-decoration-thickness: 4px; + } +} + +table { + display: block; + width: 100%; + overflow-x: auto; + border-collapse: collapse; + margin: 2rem 0; + + @include hide-scrollbar; +} + +math { + display: inline-block; + white-space: nowrap; + &[display="block"] { + font-family: 'STIX Two Math', 'Latin Modern Math', serif; + font-size: 1.3em; + min-width: 0 !important; + overflow-y: hidden !important; + + & mtable { + margin-left: 0 !important; + text-align: left !important; + } + + & mtd { text-align: left !important; } + + @include hide-scrollbar; + @include horizontal-scroll; + } +} + +p { margin: 1.2rem 0; } + +li { margin: 0.3rem 0; } + + +.org-svg { + width: 100%; + max-width: none; +} + +.org-src-container { + position: relative; + margin: 1.2em 0; + + pre.src { + position: relative !important; + overflow: visible !important; + background: var(--code-bg); + border-radius: 6px; + margin: 0 !important; + padding: 0 !important; + border: none !important; + + & > code { + display: block; + overflow-x: auto; + padding: 1.5rem 1rem 1rem 1rem; + white-space: pre; + @include hide-scrollbar; + } + + &::before { + content: attr(data-language); + display: block !important; + position: absolute !important; + top: 0.5rem; + right: 0.5rem; + z-index: 20; + + font-family: var(--font-mono), monospace; + font-size: 0.7rem; + color: var(--code-text); + background: var(--code-bg); + padding: 2px 8px; + border-radius: 4px; + opacity: 0.6; + pointer-events: none; + } + } +} + +.content { + margin-left: 280px; + padding: 0px 10px; + + @media (max-width: 1250px) { margin-left: 0; } +} + +.equation-container { + display: grid; + grid-template-columns: 1fr minmax(0, auto) 1fr; + align-items: center; + width: 100%; + box-sizing: border-box; + + margin: 2rem 0; + background: rgba(212, 163, 115, 0.05); + padding: 1.5rem; + border-left: 2px solid var(--accent); + + .equation { + grid-column: 2; + text-align: center; + + & math[display="block"] { margin: 0 !important; } + @include horizontal-scroll; + @include hide-scrollbar; + } + + .equation-label { + grid-column: 3; + justify-self: end; + } +} + +.src, .example { + position: relative; + background: var(--code-bg); + color: var(--code-text); + padding: 1rem; + border-radius: 6px; + font-size: 0.9rem; + box-shadow: none; + overflow-x: auto; + + @media (max-width: 768px) { + max-width: 100%; + box-sizing: border-box; + width: 100%; + } + + &::before { + position: absolute; + top: 0.5rem; + right: 0.5rem; + float: right; + z-index: 10; + font-family: var(--font-mono), monospace; + font-size: 0.7rem; + opacity: 0.5; + pointer-events: none; + + background: var(--code-bg); + padding: 2px 4px; + } + + @include hide-scrollbar; +} + +.theorem, .proof { + display: block; + margin-left: 10px; + font-style: normal; + background: color-mix(in srgb, var(--accent) 8%, transparent); + border-left: 3px solid var(--accent); + padding: 1rem 1.3rem; + margin: 2rem 0; + &::before { + float: left; + font-weight: bold; + } +} + +.theorem { + margin-bottom:20px; + &::before { content:"Theorem.\00a0\00a0"; } +} + +.proof { + margin-bottom:30px; + + &::after { + content: "\25FC"; + float: right; + } + + &::before { content:'Proof.\00a0\00a0'; } +} + +.links-page > ul { + columns: 2; + -webkit-columns: 2; + -moz-columns: 2; + + @media (max-width: 768px) { + columns: 1; + -webkit-columns: 1; + -moz-columns: 1; + } +} + +header, .title + p, .subtitle + p { + margin-bottom: 3rem; + border-bottom: 1px double var(--accent); + padding-bottom: 1rem; +} + +.title { + font-size: 2.6rem; + margin-bottom: 0.5rem; +} + +.subtitle { + font-size: 1.2rem; + color: color-mix(in srgb, var(--text-main) 70%, gray); +} + +.author, .date { + display: inline; + font-family: var(--font-serif); + font-style: italic; + font-size: 1.1rem; + color: color-mix(in srgb, var(--text-main) 70%, gray); +} + +.author { + &::before { + content: "by "; + font-family: var(--font-mono); + font-style: normal; + font-weight: bold; + text-transform: uppercase; + font-size: 0.8rem; + letter-spacing: 1px; + margin-right: 4px; + } + + &:not(:last-child)::after { + content: ", "; + font-style: normal; + } +} + +.button { + background-color: var(--bg-main); + border: none; + color: black; + padding: 6px 14px; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; + margin: 4px 2px; + transition-duration: 0.4s; + cursor: pointer; + border: 2px solid var(--text-main); + border-radius: 6px; + + &:hover { + background-color: var(--text-main); + color: white; + } +} + +.isa_info, .isa_success, .isa_warning, .isa_error { + width: 90%; + margin: 10px 0px; + padding: 12px; +} + +.isa_info { + color: #00529b; + background-color: #bde5f8; +} + +.isa_success { + color: #4f8a10; + background-color: #dff2bf; +} + +.isa_warning { + color: #9f6000; + background-color: #feefb3; +} + +.isa_error { + color: #d8000c; + background-color: #ffd2d2; +} + +.title + .subtitle { + text-align: center; + font-style: italic; + padding-bottom: 30px; + margin-top: -10px; + color: #555; + display: block; +} + +.preamble { + font-family: var(--font-mono); + font-size: 0.85rem; + text-transform: uppercase; + letter-spacing: 1px; + margin-top: 10px; + color: color-mix(in srgb, var(--text-main) 50%, transparent); + + a { + color: var(--text-main); + text-decoration: none; + padding: 4px 8px; + border-radius: 4px; + transition: all 0.2s ease; + &:hover { + background: color-mix(in srgb, var(--accent) 15%, transparent); + color: var(--link-color); + } + } + + & + hr { + border: none; + height: 1px; + background: linear-gradient(to right, var(--accent), transparent); + margin-bottom: 2.5rem; + opacity: 0.5; + } +} + +.todo { + font-family: var(--font-mono); + font-size: 0.75em; + font-weight: bold; + letter-spacing: 1px; + padding: 2px 8px; + border-radius: 4px; + vertical-align: middle; + margin-right: 6px; +} + +.todo.TODO { + color: var(--link-color); + background-color: color-mix(in srgb, var(--accent) 20%, transparent); + border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); +} + +.done.DONE { + color: #4f8a10; + background-color: color-mix(in srgb, var(--accent) 20%, transparent); + border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); +} + +#table-of-contents { + height: 100vh; + width: 250px; + position: fixed; + z-index: 10; + top: 0; + left: 0; + padding-top: 0; + background: var(--toc-bg); + border-right: 1px solid var(--accent); + overflow-y: auto; + overflow-x: hidden; + + &::before { + content: "NAVIGATION"; + display: block; + padding: 24px 16px 12px 19px; + font-family: var(--font-mono); + font-size: 11px; + font-weight: bold; + letter-spacing: 2px; + color: var(--text-main); + border-bottom: 1px solid rgba(212, 163, 115, 0.2); + margin-bottom: 10px; + } + + ul { + list-style-type: none; + padding-left: 0; + margin: 0; + + a { + display: block; + width: 100%; + padding: 10px 16px 10px 32px; + box-sizing: border-box; + font-size: 15px; + font-family: var(--font-mono); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); + border-left: 3px solid transparent; + opacity: 0.8; + + &, &:visited { + color: var(--text-main); + text-decoration: none; + } + + &:hover { + background-color: var(--text-main); + color: var(--bg-main); + padding-left: 22px; + border-left: 3px solid var(--accent); + } + } + ul { + a { + padding-left: 48px; + opacity: 0.55; + font-size: 13px; + + &:hover { + padding-left: 38px; + opacity: 1; + } + } + + ul a { + padding-left: 64px; + opacity: 0.4; + + &:hover { + padding-left: 54px; + } + } + + } + } + + h2 { display: none !important; } + + @media (max-width: 1250px) { display: none; } + @include hide-scrollbar; +} + +#postamble { text-align: center; } -- cgit v1.3