From 61b5ce20f25c5785e41574998a12c6d06eb05a5e Mon Sep 17 00:00:00 2001 From: Thomas Albers Date: Wed, 8 Mar 2023 23:43:00 +0100 Subject: Restructure build system and directory structures --- site/DejaVuSans.woff2 | Bin 0 -> 257460 bytes site/css/math.css | 41 +++++++++++ site/css/style.css | 166 +++++++++++++++++++++++++++++++++++++++++++ site/img/programmer_side.png | Bin 0 -> 1827240 bytes site/img/programmer_top.png | Bin 0 -> 2969390 bytes site/img/prototype1.jpg | Bin 0 -> 2988593 bytes site/img/prototype2_1.jpg | Bin 0 -> 3079552 bytes site/img/prototype2_2.jpg | Bin 0 -> 3509082 bytes site/robots.txt | 2 + site/sitemap | 26 +++++++ site/thomas.pub | 1 + 11 files changed, 236 insertions(+) create mode 100644 site/DejaVuSans.woff2 create mode 100644 site/css/math.css create mode 100644 site/css/style.css create mode 100644 site/img/programmer_side.png create mode 100644 site/img/programmer_top.png create mode 100644 site/img/prototype1.jpg create mode 100644 site/img/prototype2_1.jpg create mode 100644 site/img/prototype2_2.jpg create mode 100644 site/robots.txt create mode 100644 site/sitemap create mode 100644 site/thomas.pub (limited to 'site') diff --git a/site/DejaVuSans.woff2 b/site/DejaVuSans.woff2 new file mode 100644 index 0000000..8437d4e Binary files /dev/null and b/site/DejaVuSans.woff2 differ diff --git a/site/css/math.css b/site/css/math.css new file mode 100644 index 0000000..d111d1f --- /dev/null +++ b/site/css/math.css @@ -0,0 +1,41 @@ +/* +p.author +p.date +p.creator +.title +.subtitle +.todo +.done +.WAITING +.timestamp +.timestamp-kwd +.timestamp-wrapper +.tag +._HOME +.target +.linenr +.code-highlighted +div.outline-N +div.outline-text-N +.section-number-N +.figure-number +.table-number +.listing-number +div.figure +pre.src +pre.example +p.verse +div.footnotes +p.footnote +.footref +.footnum +.org-svg +*/ + +/* +html { + height: 100%; + color: #cccccc; + background-color: hsl(240, 30%, 50%); +} +*/ diff --git a/site/css/style.css b/site/css/style.css new file mode 100644 index 0000000..c8e04e0 --- /dev/null +++ b/site/css/style.css @@ -0,0 +1,166 @@ +@font-face { + font-family: "DejaVuSans"; + src: url(/DejaVuSans.woff2) format("woff2"); +} + +/* Main layout of the page */ + +html { + height: 100%; + background-color: hsl(240, 30%, 50%); + font-family: "DejaVuSans"; +} + +body { + margin: auto; + max-width: 25cm; + min-height: 100%; + display: flex; + flex-direction: column; +} + +body, header { + background-color: hsl(240, 30%, 80%); +} + +header { + text-align: center; +} + +header > * { + margin: 0.5rem auto; +} + +nav { + background-color: hsl(240, 30%, 20%); +} + +nav > ul { + display: flex; + padding: 0; + margin: 0 auto; +} + +nav li { + display: block; + list-style: none; +} + +nav li:hover { + background-color: hsl(240, 30%, 30%); +} + +nav > ul > li:last-child { + margin-left: auto; +} + +nav a { + text-decoration: none; + color: #dddddd; + display: block; + line-height: 2em; + height: 2em; + padding: 0 1em; +} + +main { + padding: 2em; + flex-grow: 1; +} + +footer { + padding: 1em 2em; +} + +/* Other elements */ + +h1, h2, h3, h4, h5, h6 { + text-align: center; +} + +hr { + margin: 0; + margin-top: auto; +} + +figure { + text-align: center; +} + +figure img { + /* max-width: 30em; */ + max-width: 100%; + object-fit: contain; + display: block; + margin-left: auto; + margin-right: auto; +} + +figcaption { + margin-top: 1em; +} + +.equation-container { + display: block; + padding: 1em 2em; + overflow: auto; +} + +.equation-container img { + object-fit: contain; + display: block; + margin: auto; +} + +pre, figure, .equation-container { + margin: 1rem; + padding: 1rem; + box-sizing: border-box; + background-color: hsl(240, 30%, 90%); + border: 1px solid hsl(240, 60%, 50%); + overflow: scroll; + +} + +/* Inline math */ +p > .org-svg { + max-height: 1rem; + display: inline-block; +} + +.article-date { + margin-left: auto; +} + +.link-like, a { + color: #111111; + text-decoration: underline; +} + +/* Source code */ +.src-common-lisp .org-keyword { + color: #3a81c3; + font-weight: bold; +} + +.src-common-lisp .org-builtin { + color: #3a81c3; +} + +.src-common-lisp .org-function-name { + color: #6c3163; + font-weight: bold; +} + +.src-common-lisp .org-doc { + color: #da8b55; +} + +.src-common-lisp .org-comment { + color: #2aa1ae; +} + +/* NOTE: orgmode uses `code` only for inline code */ +code { + background-color: hsl(240, 40%, 90%); +} diff --git a/site/img/programmer_side.png b/site/img/programmer_side.png new file mode 100644 index 0000000..a3f4baa Binary files /dev/null and b/site/img/programmer_side.png differ diff --git a/site/img/programmer_top.png b/site/img/programmer_top.png new file mode 100644 index 0000000..827464e Binary files /dev/null and b/site/img/programmer_top.png differ diff --git a/site/img/prototype1.jpg b/site/img/prototype1.jpg new file mode 100644 index 0000000..33ac569 Binary files /dev/null and b/site/img/prototype1.jpg differ diff --git a/site/img/prototype2_1.jpg b/site/img/prototype2_1.jpg new file mode 100644 index 0000000..64d0786 Binary files /dev/null and b/site/img/prototype2_1.jpg differ diff --git a/site/img/prototype2_2.jpg b/site/img/prototype2_2.jpg new file mode 100644 index 0000000..349c04b Binary files /dev/null and b/site/img/prototype2_2.jpg differ diff --git a/site/robots.txt b/site/robots.txt new file mode 100644 index 0000000..b463ba6 --- /dev/null +++ b/site/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /privacy.html diff --git a/site/sitemap b/site/sitemap new file mode 100644 index 0000000..33c5925 --- /dev/null +++ b/site/sitemap @@ -0,0 +1,26 @@ +https://thomaslabs.org/privacy.html +https://thomaslabs.org/index.html +https://thomaslabs.org/arm/adventures.html +https://thomaslabs.org/programs/index.html +https://thomaslabs.org/z80/index.html +https://thomaslabs.org/z80/prototype1.html +https://thomaslabs.org/z80/spi.html +https://thomaslabs.org/z80/prototype2.html +https://thomaslabs.org/z80/plm.html +https://thomaslabs.org/math/spherical-harmonics.html +https://thomaslabs.org/math/laplace.html +https://thomaslabs.org/math/diff.html +https://thomaslabs.org/math/variation.html +https://thomaslabs.org/math/lagrange.html +https://thomaslabs.org/math/derivatives.html +https://thomaslabs.org/math/cylindrical_coordinates.html +https://thomaslabs.org/math/polar_coordinates.html +https://thomaslabs.org/math/vectors.html +https://thomaslabs.org/math/matrices.html +https://thomaslabs.org/math/integrals.html +https://thomaslabs.org/math/levi_cevita.html +https://thomaslabs.org/math/index.html +https://thomaslabs.org/math/spherical_coordinates.html +https://thomaslabs.org/math/orbit.html +https://thomaslabs.org/math/trigonometry.html +https://thomaslabs.org/math/fft.html diff --git a/site/thomas.pub b/site/thomas.pub new file mode 100644 index 0000000..87b380f --- /dev/null +++ b/site/thomas.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz+zwLS2s41AFwBAb/sj7B0s9v9OcMWnNQ1QgHlYQOgHHsat1MOdfFGh1Le7qAE+LxXBxsUIUq3sXC3Ui53AKz3lFG1YPGdLA48a156Xxqhb4m4cbuUZ0Gg3hazeEjQXu+451o3ZzmSy6jWx9eGMtE2tzb5RvCwVBZixsWm8DUAzdl1xrGekZXliJcr2EAI5utJHjleNGwWJ5UD6/YL8XDkUhtRIGqNLjXqlQ+J3vMb4xQ3npuPLoCupU3FdqPjhayOiZlCIOEWPr0TNVMi89pb94+9yDrZmfHZhysv+OVei+0qS+qgVSu4chi80VHAdTuY6gJgib2kIxI3uU1Di9pRHGQQ6VNjJtOjfzetK1gGXw7ANUG53NX00wtLfqddfANNFYKSI+iLqls/AxMthSXyFk3W1b5fTTtZoHVqBTl5vtmoVRtr7feEwG9Y9g7xTZLmRK/Nzo9x55Cthga0T8Ibq2dDh4Wfyy8pam8vn99nlHZ7Uw/+AS4/zlpwEloESC3px6eBitbNznsXZnogs1V8vgMXY/nWBJblHl7eGfZaP8yRCwqljuu+NoARyFkcCr+N1hocOQiqGYqTtqeWzs4piIA/36SUj9pzuukzY3tkhamkCX9pUrcCK9vPIIbTY503AjUMvCdgfBZ4bHwgcKJt+5hTWrBArVCeLGaK2lcGw== thomas@alpha -- cgit v1.2.3