/* OwnShire — bare.
 * Almost no design: browser-default fonts, white page, black text,
 * default link colors, no border-radius, no accent lines.
 * Only what's needed for legibility: a measure, spacing, table rules.
 */

body {
  margin: 0;
  padding: 1.5em 1.5em 3em;
  line-height: 1.5;
}

/* Links — browser defaults: blue, underlined, purple when visited */
a { color: #00e; }
a:visited { color: #551a8b; }
a:active { color: #f00; }

/* Not-yet-a-link — plain grayed label, not clickable */
.btn-disabled { color: #888; }

/* Tags — flat bordered labels, clearly not buttons */
.tag {
  display: inline-block;
  border: 1px solid #aaa;
  padding: 0 5px 1px;
  color: #555;
  line-height: 1.3;
  margin: 1px 2px 1px 0;
}

/* Thumbnail square — search-result style miniature, left of each item */
.thumb {
  float: left;
  clear: left;
  width: 56px;
  height: 56px;
  border: 1px dashed #999;
  margin: 2px 16px 4px 0;
}
.thumb-cell { width: 60px; }
.thumb-cell .thumb { float: none; margin: 0; display: block; }

/* Project / post lists — title, then thumb with text beside it */
.projects dt, .posts dt { font-weight: bold; margin-top: 1.8em; }
.projects dd, .posts dd { margin: 0.2em 0 0 0; }
.projects dd .thumb, .posts dd .thumb { margin-top: 0; }

/* Topbar */
body > header nav { display: inline; }
body > header nav a { margin-left: 1em; }
body > header nav a[aria-current] { font-weight: bold; }

h1 { margin: 0.8em 0 0.4em; }
h2 { margin: 1.6em 0 0.5em; font-size: 1.17em; }
h2 > span { font-weight: normal; color: #666; font-size: 0.8em; }

.hero .motto span { margin-right: 0.6em; }
.crumbs { margin-top: 1em; }

.hero p, .intro p { margin: 0.8em 0; }

/* Now / portals — plain lists */
.now li, .portals li { margin: 0 0 0.8em; }

/* Writing index */
.writing .note { margin-top: 1.5em; }

/* Post */
.post .sub { font-style: italic; margin-top: 0; }
pre {
  border: 1px solid #ccc;
  padding: 0.75em 1em;
  overflow-x: auto;
}
figure { margin: 1.5em 0; }
figure > div {
  border: 1px dashed #999;
  padding: 3em 1em;
  text-align: center;
  font-family: monospace;
  font-size: 0.85em;
  color: #666;
}
figure img { max-width: 100%; display: block; }
figcaption { color: #666; margin-top: 0.5em; }

/* About */

/* Contact */
.channels { line-height: 1.8; }

/* 404 */
div.nf .badge { color: #666; margin-bottom: 0; }
div.nf .back { display: inline-block; margin-top: 1em; }

/* Footer */
body > footer { margin-top: 1em; }
