/* body(lewd). */
body {
  font-family: "Liberation Sans", Arial, sans-serif;
  font-size: 90%;
  line-height: 1.4em;
  max-width: 50em;
  margin: auto;
  padding: 1em 4%;
  color: #000000;
  background: #ffffff; }

@media screen and (min-width: 50em) {
  body {
    padding: 5em 2%; } }

/* Basic elements. */
a {
  text-decoration: none; }

a, a:visited {
  color: #dc2600; }

a:hover {
  color: #dc2600;
  text-decoration: underline; }

li {
  margin: 0.1em 0; }

hr {
  height: 0;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #000000; }

/* Footer. */
nav a:visited,
nav a {
  color: #000000; }

nav a:hover {
  color: #dc2600;
  text-decoration: none; }

nav {
  display: grid;
  grid-template-columns: repeat(5, auto);
  text-align: center; }

/* Personalized elements. */
p#timestamp {
  font-size: 80%;
  text-align: right;
  margin-bottom: -0.2em;
  color: #888888; }

a.btn {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  padding: 0.2em 0.4em;
  color: initial; }

img#logo {
  margin-top: 5px; }

img.centered {
  display: block;
  margin: 0 auto; }

video.fit, img.fit {
  width: 100%;
  box-sizing: border-box; }

img.bordered {
  border: 2px solid #656565;
  margin: 1em 0; }

video.bordered {
  border: 2px solid #656565; }

/* Usually code */
pre code {
  display: block;
  max-height: 20em;
  padding: 0.4em;
  overflow: scroll;
  line-height: 1.15em; }

code {
  font-family: "DejaVu Sans Mono", monospace;
  font-size: 9pt;
  background: #eee; }

/* table style */
/* in case legacy stuff is being a bitch */
table, table * {
  font-size: inherit; }

table.bloglist {
  border-spacing: 0.8em 0; }

table.bloglist tr td:first-child {
  text-align: right; }

/* blockquotes */
blockquote {
  color: #888888;
  font-style: oblique; }
