summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorAshelyn Dawn <git@tempest.dev>2023-01-19 18:44:15 -0700
committerAshelyn Dawn <git@tempest.dev>2023-01-19 18:44:15 -0700
commit7bb1f23be82ca40512fbc920245e23de7dedd9a2 (patch)
treeb0889e6e3a139660a160a2e263ddf2ef4f71571e /resources
parentf954b7ad22e799d676b0dcc0055fba4abb236f4d (diff)
Update styles, add footer, add pay transparency
Diffstat (limited to 'resources')
-rw-r--r--resources/style.css129
1 files changed, 125 insertions, 4 deletions
diff --git a/resources/style.css b/resources/style.css
index 7b727af..53c8d7b 100644
--- a/resources/style.css
+++ b/resources/style.css
@@ -16,26 +16,30 @@ body {
   max-width: 600px;
   margin: 0 auto;
   padding: 16px;
+  display: flex;
+  flex-direction: column;
 }
 
-nav {
+nav, footer {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
+  align-items: end;
 }
 
-nav a {
+nav a, footer a {
   opacity: .4;
 }
 
-nav a:hover {
+nav a:hover, footer a:hover {
   opacity: .8;
 }
 
-nav > a:not(:last-child) {
+nav > a:not(:last-child), footer > a:not(:last-child) {
   margin-right: 40px;
 }
 
+
 h1 {
   color: rgba(255,255,255,.9);
 }
@@ -73,6 +77,10 @@ ul.posts li span {
   margin-right: 10px;
 }
 
+body p {
+  line-height: 1.5;
+}
+
 a {
   color: white;
   opacity: .8;
@@ -87,3 +95,116 @@ a[href^="//"] {
 h2 {
   margin-top: 48px;
 }
+
+sup {
+  vertical-align: top;
+}
+
+sup a {
+  position: relative;
+  top: -4px;
+  color: #caa5ff;
+  margin: 0 2px;
+}
+
+span.asterisk {
+  color: #caa5ff;
+}
+
+.tableOverflow {
+  margin: 0 -16px;
+  width: calc(100% + 32px);
+  overflow-x: auto;
+  padding: 0 16px;
+  position: relative;
+}
+
+table {
+  border-collapse: collapse;
+  text-align: left;
+  min-width: calc(600px - 32px);
+}
+
+table tr {
+}
+
+table th {
+  border-bottom: solid 1px white;
+}
+
+table th, table td {
+  padding: 8px 4px;
+}
+
+ol#footnotes {
+  padding-left: 0px;
+  list-style: none;
+  counter-reset: list-number;
+  flex: 1;
+  display: flex;
+  flex-direction: column;
+  justify-content: end;
+  margin-top: 40px;
+}
+
+ol#footnotes li {
+  display: flex;
+  flex-direction: row;
+  padding: 16px;
+  margin: 0 -16px;
+  position: relative;
+  transition: .15s ease-in-out background;
+}
+
+ol#footnotes li::before {
+  counter-increment: list-number;
+  content: counter(list-number);
+  color: #caa5ff;
+  width: 20px;
+  margin-right: 8px;
+}
+
+ol#footnotes li a {
+  margin-left: 8px;
+  color: #caa5ff;
+}
+
+ol#footnotes li:first-child::after {
+  position: absolute;
+  top: 1px;
+  width: calc(100% - 32px);
+  background: #caa5ff;
+  opacity: .4;
+  height: 1px;
+  content: '';
+}
+
+ol#footnotes li:target {
+  background: #3d3548;
+}
+
+footer {
+  margin-top: 40px;
+  flex: 1;
+  position: relative;
+}
+
+footer::before {
+  position: absolute;
+  bottom: 36px;
+  width: calc(100% - 0px);
+  height: 1px;
+  margin: 0 auto;
+  content: '';
+  background: #caa5ff;
+  opacity: .4;
+}
+
+ol#footnotes + footer {
+  flex: initial;
+  margin-top: 0;
+}
+
+ol#footnotes + footer::before {
+  display: none;
+}