enable ToC on memoir pt. 3–4
authorZack M. Davis <ultimatelyuntruethought@gmail.com>
Sun, 24 Dec 2023 06:53:10 +0000 (22:53 -0800)
committerZack M. Davis <ultimatelyuntruethought@gmail.com>
Sun, 24 Dec 2023 06:53:10 +0000 (22:53 -0800)
content/drafts/agreeing-with-stalin-in-ways-that-exhibit-generally-rationalist-principles.md
content/drafts/if-clarity-seems-like-death-to-them.md
theme/static/css/main.css

index 73d8212..15b9308 100644 (file)
@@ -15,6 +15,8 @@ Really, that should have been the end of the story—with a relatively happy end
 
 That wasn't the end of the story, which does not have such a relatively happy ending.
 
+[TOC]
+
 ### The _New York Times_'s Other Shoe Drops (February 2021)
 
 On 13 February 2021, ["Silicon Valley's Safe Space"](https://archive.ph/zW6oX), the _New York Times_ piece on _Slate Star Codex_, came out. It was ... pretty lame? (_Just_ lame, not a masterfully vicious hit piece.) Cade Metz did a mediocre job of explaining what our robot cult is about, while [pushing hard on the subtext](https://scottaaronson.blog/?p=5310) to make us look racist and sexist, occasionally resorting to odd constructions that were surprising to read from someone who had been a professional writer for decades. ("It was nominally a blog", Metz wrote of _Slate Star Codex_. ["Nominally"](https://en.wiktionary.org/wiki/nominally)?) The article's claim that Alexander "wrote in a wordy, often roundabout way that left many wondering what he really believed" seemed more like a critique of the many's reading comprehension than of Alexander's writing.
index 48f8d03..31a1b7b 100644 (file)
@@ -21,6 +21,8 @@ Recapping my Whole Dumb Story so far: in a previous post, ["Sexual Dimorphism in
 
 Anyone else being wrong on the internet like that wouldn't have seemed like a big deal, but Scott Alexander had [semi-jokingly](http://www.catb.org/jargon/html/H/ha-ha-only-serious.html) written that [rationalism is the belief that Eliezer Yudkowsky is the rightful caliph](https://slatestarcodex.com/2016/04/04/the-ideology-is-not-the-movement/). After extensive attempts by me and allies to get clarification from Yudkowsky amounted to nothing, we felt justified in concluding that he and his Caliphate of so-called "rationalists" was corrupt.
 
+[TOC]
+
 ### Origins of the Rationalist Civil War (April–May 2019)
 
 Anyway, given that the "rationalists" were fake and that we needed something better, there remained the question of what to do about that, and how to relate to the old thing.
index 54267af..b99ca25 100644 (file)
@@ -384,3 +384,44 @@ p.flower-break {
     text-decoration: underline;
     border-bottom: 3px double solid #000;
 }
+
+
+// Thanks to Said Achmiz for table-of-contents styling
+.toc {
+       clear: right;
+       max-width: calc(50% - 1.5em);
+       font-size: 0.85em;
+       margin-left: 1.5em;
+       padding: 0.5em;
+       border: 1px dotted #d6d6d6;
+}
+.toc ul {
+       list-style-type: none;
+       padding-left: 1.5em;
+       margin: 0;
+       line-height: 1.2;
+}
+.toc li {
+       text-indent: -1.5em;
+       margin-bottom: 0.25em;
+       padding-left: 1.5em;
+       position: relative;
+}
+.toc li::before {
+       content: counter(list-item);
+       position: absolute;
+       width: 1em;
+       text-indent: 0;
+       right: calc(100% + 0.5em);
+       text-align: right;
+       color: #bbb;    
+}
+.toc a {
+       border: none;
+}
+.heading {
+       line-height: 1.1;
+}
+.heading a {
+       border: none;
+}