/* Minimal. Mostly browser defaults, lightly tuned for reading. */

:root { color-scheme: light; }
* { box-sizing: border-box; }

body {
  max-width: 40rem;
  margin: 6rem auto 2.5rem;
  padding: 0 1.25rem 4rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
  background: #fff;
}

a { color: #0000ee; }
a:visited { color: #551a8b; }

header { margin-bottom: 2.5rem; }
header a { margin: 0 .15rem; }

h1 { font-size: 1.8rem; line-height: 1.2; margin: 0 0 .2rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 .4rem; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 .3rem; }

p { margin: 1rem 0; }
time { color: #555; }

blockquote {
  margin: 1.2rem 0;
  padding-left: 1rem;
  border-left: 2px solid #ccc;
  color: #333;
}

code { font-family: "Courier New", Courier, monospace; }
:not(pre) > code { background: #f4f4f4; padding: 0 .2em; }
pre {
  background: #f4f4f4;
  padding: .8rem 1rem;
  overflow-x: auto;
  font-size: .85em;
}
pre code { background: none; padding: 0; }

img { max-width: 100%; height: auto; }

figure { margin: 1.5rem 0; }
figure figcaption { font-size: .85rem; font-style: italic; color: #555; margin-top: .3rem; }
figure.align-center { text-align: center; }
figure.align-center figcaption { text-align: center; }
figure.align-left { float: left; margin: .3rem 1.4rem 1rem 0; }
figure.align-right { float: right; margin: .3rem 0 1rem 1.4rem; }
figure.align-full { width: 100%; }
article::after { content: ""; display: block; clear: both; }

hr { border: none; border-top: 1px solid #ccc; margin: 2.5rem 0; }

/* Collapsible sections (the "my things" page) */
details { border-top: 1px solid #ddd; padding: .55rem 0; }
details:last-of-type { border-bottom: 1px solid #ddd; }
summary { cursor: pointer; font-size: 1.15rem; }
summary:hover { color: #0000ee; }
details[open] summary { margin-bottom: .3rem; }
details ul { margin: .2rem 0 .5rem; }
details li { margin: .25rem 0; }

ul.posts { list-style: none; padding: 0; }
ul.posts li { margin: .4rem 0; }
ul.posts time { margin-right: .75rem; }

#clock {
  position: fixed;
  top: 12px;
  left: 16px;
  text-align: left;
  font-size: .8rem;
  line-height: 1.4;
  color: #999;
}
#clock .clock-date { margin-bottom: .15rem; }
