diff --git a/.gitignore b/.gitignore index 054cd92..dbc29d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ .DS_Store -compiled/ -/build/ - -*.html -*.css +# nanoc things +/tmp +/output +crash.log diff --git a/.mise.toml b/.mise.toml index 932e32a..264168f 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,2 +1,2 @@ [tools] -racket = "8.15" +ruby = "3.4.1" diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..6b74af5 --- /dev/null +++ b/Gemfile @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +source 'https://rubygems.org' + +gem 'logger', '~> 1.6' +gem 'nanoc', '~> 4.13' + +group 'nanoc' do + gem 'kramdown', '~> 2.5', '>= 2.5.1' + gem 'nokogiri', '~> 1.18', '>= 1.18.1' + gem 'webrick', '~> 1.8', '>= 1.8.1' + gem 'nanoc-live', '~> 1.1' +end diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..7e6478e --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,128 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + adsf (1.5.2) + rack (>= 1.0.0, < 4.0.0) + rackup (~> 2.1) + adsf-live (1.5.2) + adsf (~> 1.3) + em-websocket (~> 0.5) + eventmachine (~> 1.2) + listen (~> 3.0) + base64 (0.2.0) + coderay (1.1.3) + colored (1.2) + concurrent-ruby (1.3.4) + cri (2.15.12) + ddmetrics (1.1.0) + ddplugin (1.0.3) + diff-lcs (1.5.1) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.17.1) + ffi (1.17.1-arm64-darwin) + http_parser.rb (0.8.0) + immutable-ruby (0.2.0) + concurrent-ruby (~> 1.1) + sorted_set (~> 1.0) + json_schema (0.21.0) + kramdown (2.5.1) + rexml (>= 3.3.9) + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + logger (1.6.4) + memo_wise (1.10.0) + method_source (1.1.0) + mini_portile2 (2.8.8) + nanoc (4.13.3) + addressable (~> 2.5) + colored (~> 1.2) + nanoc-checking (~> 1.0, >= 1.0.2) + nanoc-cli (= 4.13.3) + nanoc-core (= 4.13.3) + nanoc-deploying (~> 1.0) + parallel (~> 1.12) + tty-command (~> 0.8) + tty-which (~> 0.4) + nanoc-checking (1.0.5) + nanoc-cli (~> 4.12, >= 4.12.5) + nanoc-core (~> 4.12, >= 4.12.5) + nanoc-cli (4.13.3) + cri (~> 2.15) + diff-lcs (~> 1.3) + nanoc-core (= 4.13.3) + pry + zeitwerk (~> 2.1) + nanoc-core (4.13.3) + base64 (~> 0.2) + concurrent-ruby (~> 1.1) + ddmetrics (~> 1.0) + ddplugin (~> 1.0) + immutable-ruby (~> 0.1) + json_schema (~> 0.19) + memo_wise (~> 1.5) + slow_enumerator_tools (~> 1.0) + tty-platform (~> 0.2) + zeitwerk (~> 2.1) + nanoc-deploying (1.0.2) + nanoc-checking (~> 1.0) + nanoc-cli (~> 4.11, >= 4.11.15) + nanoc-core (~> 4.11, >= 4.11.15) + nanoc-live (1.1.0) + adsf-live (~> 1.4) + listen (~> 3.0) + nanoc-cli (~> 4.11, >= 4.11.14) + nanoc-core (~> 4.11, >= 4.11.14) + nokogiri (1.18.1) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + nokogiri (1.18.1-arm64-darwin) + racc (~> 1.4) + parallel (1.26.3) + pastel (0.8.0) + tty-color (~> 0.5) + pry (0.15.2) + coderay (~> 1.1) + method_source (~> 1.0) + public_suffix (6.0.1) + racc (1.8.1) + rack (3.1.8) + rackup (2.2.1) + rack (>= 3) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) + rbtree (0.4.6) + rexml (3.4.0) + set (1.1.1) + slow_enumerator_tools (1.1.0) + sorted_set (1.0.3) + rbtree + set (~> 1.0) + tty-color (0.6.0) + tty-command (0.10.1) + pastel (~> 0.8) + tty-platform (0.3.0) + tty-which (0.5.0) + webrick (1.9.1) + zeitwerk (2.7.1) + +PLATFORMS + arm64-darwin-24 + ruby + +DEPENDENCIES + kramdown (~> 2.5, >= 2.5.1) + logger (~> 1.6) + nanoc (~> 4.13) + nanoc-live (~> 1.1) + nokogiri (~> 1.18, >= 1.18.1) + webrick (~> 1.8, >= 1.8.1) + +BUNDLED WITH + 2.6.2 diff --git a/README.md b/README.md index df8804c..a5d3482 100644 --- a/README.md +++ b/README.md @@ -1,22 +1 @@ # sloane.sh - -## Setup - -```sh -brew install --cask racket -raco pkg install pollen -``` - -## Working on the site - -```sh -raco pollen start site -``` - -## Building the site - -```sh -mkdir -p build -raco pollen render site -raco pollen publish site build -``` diff --git a/Rules b/Rules new file mode 100644 index 0000000..bf2b94a --- /dev/null +++ b/Rules @@ -0,0 +1,33 @@ +#!/usr/bin/env ruby + +compile '/**/*.html' do + filter :tufte + layout '/default.*' + + if item.identifier =~ '**/index.*' + write item.identifier.to_s + else + write item.identifier.without_ext + '/index.html' + end +end + +# This is an example rule that matches Markdown (.md) files, and filters them +# using the :kramdown filter. It is commented out by default, because kramdown +# is not bundled with Nanoc or Ruby. +# +compile '/**/*.md' do + filter :sidenotes + filter :kramdown + filter :tufte + layout '/default.*' + + if item.identifier =~ '**/index.*' + write item.identifier.without_ext + '.html' + else + write item.identifier.without_ext + '/index.html' + end +end + +passthrough '/**/*' + +layout '/**/*', :erb diff --git a/site/et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot b/content/assets/et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot similarity index 100% rename from site/et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot rename to content/assets/et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot diff --git a/site/et-book/et-book-bold-line-figures/et-book-bold-line-figures.svg b/content/assets/et-book/et-book-bold-line-figures/et-book-bold-line-figures.svg similarity index 100% rename from site/et-book/et-book-bold-line-figures/et-book-bold-line-figures.svg rename to content/assets/et-book/et-book-bold-line-figures/et-book-bold-line-figures.svg diff --git a/site/et-book/et-book-bold-line-figures/et-book-bold-line-figures.ttf b/content/assets/et-book/et-book-bold-line-figures/et-book-bold-line-figures.ttf similarity index 100% rename from site/et-book/et-book-bold-line-figures/et-book-bold-line-figures.ttf rename to content/assets/et-book/et-book-bold-line-figures/et-book-bold-line-figures.ttf diff --git a/site/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff b/content/assets/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff similarity index 100% rename from site/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff rename to content/assets/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff diff --git a/site/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot b/content/assets/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot similarity index 100% rename from site/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot rename to content/assets/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot diff --git a/site/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg b/content/assets/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg similarity index 100% rename from site/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg rename to content/assets/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg diff --git a/site/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf b/content/assets/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf similarity index 100% rename from site/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf rename to content/assets/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf diff --git a/site/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff b/content/assets/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff similarity index 100% rename from site/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff rename to content/assets/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff diff --git a/site/et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot b/content/assets/et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot similarity index 100% rename from site/et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot rename to content/assets/et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot diff --git a/site/et-book/et-book-roman-line-figures/et-book-roman-line-figures.svg b/content/assets/et-book/et-book-roman-line-figures/et-book-roman-line-figures.svg similarity index 100% rename from site/et-book/et-book-roman-line-figures/et-book-roman-line-figures.svg rename to content/assets/et-book/et-book-roman-line-figures/et-book-roman-line-figures.svg diff --git a/site/et-book/et-book-roman-line-figures/et-book-roman-line-figures.ttf b/content/assets/et-book/et-book-roman-line-figures/et-book-roman-line-figures.ttf similarity index 100% rename from site/et-book/et-book-roman-line-figures/et-book-roman-line-figures.ttf rename to content/assets/et-book/et-book-roman-line-figures/et-book-roman-line-figures.ttf diff --git a/site/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff b/content/assets/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff similarity index 100% rename from site/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff rename to content/assets/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff diff --git a/site/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot b/content/assets/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot similarity index 100% rename from site/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot rename to content/assets/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot diff --git a/site/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.svg b/content/assets/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.svg similarity index 100% rename from site/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.svg rename to content/assets/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.svg diff --git a/site/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.ttf b/content/assets/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.ttf similarity index 100% rename from site/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.ttf rename to content/assets/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.ttf diff --git a/site/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff b/content/assets/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff similarity index 100% rename from site/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff rename to content/assets/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff diff --git a/site/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.eot b/content/assets/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.eot similarity index 100% rename from site/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.eot rename to content/assets/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.eot diff --git a/site/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.svg b/content/assets/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.svg similarity index 100% rename from site/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.svg rename to content/assets/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.svg diff --git a/site/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.ttf b/content/assets/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.ttf similarity index 100% rename from site/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.ttf rename to content/assets/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.ttf diff --git a/site/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.woff b/content/assets/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.woff similarity index 100% rename from site/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.woff rename to content/assets/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.woff diff --git a/content/assets/tufte.min.css b/content/assets/tufte.min.css new file mode 100644 index 0000000..b77d324 --- /dev/null +++ b/content/assets/tufte.min.css @@ -0,0 +1 @@ +@charset "UTF-8";@font-face{font-family:et-book;src:url(et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot);src:url(et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot?#iefix) format("embedded-opentype"),url(et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff) format("woff"),url(et-book/et-book-roman-line-figures/et-book-roman-line-figures.ttf) format("truetype"),url(et-book/et-book-roman-line-figures/et-book-roman-line-figures.svg#etbookromanosf) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:et-book;src:url(et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot);src:url(et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot?#iefix) format("embedded-opentype"),url(et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff) format("woff"),url(et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf) format("truetype"),url(et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg#etbookromanosf) format("svg");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:et-book;src:url(et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot);src:url(et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot?#iefix) format("embedded-opentype"),url(et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff) format("woff"),url(et-book/et-book-bold-line-figures/et-book-bold-line-figures.ttf) format("truetype"),url(et-book/et-book-bold-line-figures/et-book-bold-line-figures.svg#etbookromanosf) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:et-book-roman-old-style;src:url(et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot);src:url(et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot?#iefix) format("embedded-opentype"),url(et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff) format("woff"),url(et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.ttf) format("truetype"),url(et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.svg#etbookromanosf) format("svg");font-weight:400;font-style:normal;font-display:swap}html{font-size:15px}body{width:87.5%;margin-left:auto;margin-right:auto;padding-left:12.5%;font-family:et-book,Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Georgia,serif;background-color:#fffff8;color:#111;max-width:1400px;counter-reset:sidenote-counter}@media (prefers-color-scheme:dark){body{background-color:#151515;color:#ddd}}h1{font-weight:400;margin-top:4rem;margin-bottom:1.5rem;font-size:3.2rem;line-height:1}h2{font-style:italic;font-weight:400;margin-top:2.1rem;margin-bottom:1.4rem;font-size:2.2rem;line-height:1}h3{font-style:italic;font-weight:400;font-size:1.7rem;margin-top:2rem;margin-bottom:1.4rem;line-height:1}hr{display:block;height:1px;width:55%;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}p.subtitle{font-style:italic;margin-top:1rem;margin-bottom:1rem;font-size:1.8rem;display:block;line-height:1}.numeral{font-family:et-book-roman-old-style}.danger{color:red}article{padding:5rem 0}section{padding-top:1rem;padding-bottom:1rem}dl,ol,p,ul{font-size:1.4rem;line-height:2rem}p{margin-top:1.4rem;margin-bottom:1.4rem;padding-right:0;vertical-align:baseline}div.epigraph{margin:5em 0}div.epigraph>blockquote{margin-top:3em;margin-bottom:3em}div.epigraph>blockquote,div.epigraph>blockquote>p{font-style:italic}div.epigraph>blockquote>footer{font-style:normal}div.epigraph>blockquote>footer>cite{font-style:italic}blockquote{font-size:1.4rem}blockquote p{width:55%;margin-right:40px}blockquote footer{width:55%;font-size:1.1rem;text-align:right}section>footer,section>p,section>table{width:55%}section>dl,section>ol,section>ul{width:50%;-webkit-padding-start:5%}dt:not(:first-child),li:not(:first-child){margin-top:.25rem}figure{padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;max-width:55%;-webkit-margin-start:0;-webkit-margin-end:0;margin:0 0 3em 0}figcaption{float:right;clear:right;margin-top:0;margin-bottom:0;font-size:1.1rem;line-height:1.6;vertical-align:baseline;position:relative;max-width:40%}figure.fullwidth figcaption{margin-right:24%}a:link,a:visited{color:inherit}.no-tufte-underline:link{background:unset;text-shadow:unset}.hover-tufte-underline:hover,.tufte-underline,a:link{text-decoration:none;background:-webkit-linear-gradient(#fffff8,#fffff8),-webkit-linear-gradient(#fffff8,#fffff8),-webkit-linear-gradient(currentColor,currentColor);background:linear-gradient(#fffff8,#fffff8),linear-gradient(#fffff8,#fffff8),linear-gradient(currentColor,currentColor);-webkit-background-size:.05em 1px,.05em 1px,1px 1px;-moz-background-size:.05em 1px,.05em 1px,1px 1px;background-size:.05em 1px,.05em 1px,1px 1px;background-repeat:no-repeat,no-repeat,repeat-x;text-shadow:.03em 0 #fffff8,-.03em 0 #fffff8,0 .03em #fffff8,0 -.03em #fffff8,.06em 0 #fffff8,-.06em 0 #fffff8,.09em 0 #fffff8,-.09em 0 #fffff8,.12em 0 #fffff8,-.12em 0 #fffff8,.15em 0 #fffff8,-.15em 0 #fffff8;background-position:0 93%,100% 93%,0 93%}@media screen and (-webkit-min-device-pixel-ratio:0){.hover-tufte-underline:hover,.tufte-underline,a:link{background-position-y:87%,87%,87%}}@media (prefers-color-scheme:dark){.hover-tufte-underline:hover,.tufte-underline,a:link{text-shadow:.03em 0 #151515,-.03em 0 #151515,0 .03em #151515,0 -.03em #151515,.06em 0 #151515,-.06em 0 #151515,.09em 0 #151515,-.09em 0 #151515,.12em 0 #151515,-.12em 0 #151515,.15em 0 #151515,-.15em 0 #151515}}a:link::-moz-selection,a:link::selection{text-shadow:.03em 0 #b4d5fe,-.03em 0 #b4d5fe,0 .03em #b4d5fe,0 -.03em #b4d5fe,.06em 0 #b4d5fe,-.06em 0 #b4d5fe,.09em 0 #b4d5fe,-.09em 0 #b4d5fe,.12em 0 #b4d5fe,-.12em 0 #b4d5fe,.15em 0 #b4d5fe,-.15em 0 #b4d5fe;background:#b4d5fe}img{max-width:100%}.marginnote,.sidenote{float:right;clear:right;margin-right:-60%;width:50%;margin-top:.3rem;margin-bottom:0;font-size:1.1rem;line-height:1.3;vertical-align:baseline;position:relative}.sidenote-number{counter-increment:sidenote-counter}.sidenote-number:after,.sidenote:before{font-family:et-book-roman-old-style;position:relative;vertical-align:baseline}.sidenote-number:after{content:counter(sidenote-counter);font-size:1rem;top:-.5rem;left:.1rem}.sidenote:before{content:counter(sidenote-counter) " ";font-size:1rem;top:-.5rem}blockquote .marginnote,blockquote .sidenote{margin-right:-82%;min-width:59%;text-align:left}div.fullwidth,table.fullwidth{width:100%}div.table-wrapper{overflow-x:auto;font-family:"Trebuchet MS","Gill Sans","Gill Sans MT",sans-serif}.sans{font-family:"Gill Sans","Gill Sans MT",Calibri,sans-serif;letter-spacing:.03em}code,pre>code{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1rem;line-height:1.42;-webkit-text-size-adjust:100%}.sans>code{font-size:1.2rem}h1>code,h2>code,h3>code{font-size:.8em}.marginnote>code,.sidenote>code{font-size:1rem}pre>code{font-size:.9rem;width:52.5%;margin-left:2.5%;overflow-x:auto;display:block}pre.fullwidth>code{width:90%}.fullwidth{max-width:90%;clear:both}span.newthought{font-variant:small-caps;font-size:1.2em}input.margin-toggle{display:none}label.sidenote-number{display:inline-block;max-height:2rem}label.margin-toggle:not(.sidenote-number){display:none}.iframe-wrapper{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}.iframe-wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}@media (max-width:760px){body{width:84%;padding-left:8%;padding-right:8%}hr,section>footer,section>p,section>table{width:100%}pre>code{width:97%}section>dl,section>ol,section>ul{width:90%}figure{max-width:90%}figcaption,figure.fullwidth figcaption{margin-right:0;max-width:none}blockquote{margin-left:1.5em;margin-right:0}blockquote footer,blockquote p{width:100%}label.margin-toggle:not(.sidenote-number){display:inline}.marginnote,.sidenote{display:none}.margin-toggle:checked+.marginnote,.margin-toggle:checked+.sidenote{display:block;float:left;left:1rem;clear:both;width:95%;margin:1rem 2.5%;vertical-align:baseline;position:relative}label{cursor:pointer}div.table-wrapper,table{width:85%}img{width:100%}} \ No newline at end of file diff --git a/content/index.md b/content/index.md new file mode 100644 index 0000000..cc4adb2 --- /dev/null +++ b/content/index.md @@ -0,0 +1,11 @@ +--- +title: sloane.sh +--- + +# Hi, I'm Sloane! + +I'm a professional software engineer and an amateur musician, photographer, wife, chef, and pet mom. + +## [My Tools](/uses) + +If you're interested in the tools I use you can check out my [usesthis.com](https://usesthis.com) style self-interview. diff --git a/content/stylesheet.css b/content/stylesheet.css new file mode 100644 index 0000000..7d8c8ac --- /dev/null +++ b/content/stylesheet.css @@ -0,0 +1,101 @@ +* { + margin: 0; + padding: 0; + + font-family: Georgia, Palatino, serif; +} + +body { + background: #fff; +} + +a { + text-decoration: none; +} + +a:link, +a:visited { + color: #f30; +} + +a:hover { + color: #f90; +} + +#main { + position: absolute; + + top: 40px; + left: 280px; + + width: 500px; +} + +#main h1 { + font-size: 40px; + font-weight: normal; + + line-height: 40px; + + letter-spacing: -1px; +} + +#main p { + margin: 20px 0; + + font-size: 15px; + + line-height: 20px; +} + +#main ul, #main ol { + margin: 20px; +} + +#main li { + font-size: 15px; + + line-height: 20px; +} + +#main ul li { + list-style-type: square; +} + +#sidebar { + position: absolute; + + top: 40px; + left: 20px; + width: 200px; + + padding: 20px 20px 0 0; + + border-right: 1px solid #ccc; + + text-align: right; +} + +#sidebar h2 { + text-transform: uppercase; + + font-size: 13px; + + color: #333; + + letter-spacing: 1px; + + line-height: 20px; +} + +#sidebar ul { + list-style-type: none; + + margin: 20px 0; +} + +#sidebar li { + font-size: 14px; + + line-height: 20px; +} diff --git a/content/uses.md b/content/uses.md new file mode 100644 index 0000000..248d444 --- /dev/null +++ b/content/uses.md @@ -0,0 +1,68 @@ +--- +title: "“Uses This”" +--- + +
+ ++ Have you considered adding a
/uses/
page to your own site, answering the same questions? +