small pixel drawing of a pufferfish j3s.sh

static/style.css

:root {
  font-size: 1rem;
  --medium-gray: #ddd;
  --gray: #6a6a6a;
}

/* make sure the scrollbar is always shown so
   the width doesnt change between pages */
html {
  overflow-y: scroll
}

a img {
  display: block;
  border-bottom: none;
}

a:hover {
  border-bottom: 1.5px solid var(--gray);
  background-color: #fafad2;
}

a {
  color: black;
  text-decoration: none;
  border-bottom: 1.5px solid var(--medium-gray);
}

sub a {
	border-bottom: none;
}

#main,
#header,
aside,
img {
  /* TODO: i don't knoiw why 89ch works out to 80ch in my thought posts but it does */
  margin: 0 auto;
  max-width: 500px;
  padding: 0;
}

li {
  list-style: none;
  padding-left: 1em;
  text-indent: -1em;
}

li:before {
	content: "ඞ";
	padding-right: 5px;
}


#header {
  font-family: monospace;
  text-align: center;
}

.center {
  text-align: center;
}

.termfont {
  text-align: center;
  font-size: 1.2rem;
}

.datefont {
  text-align: center;
  font-style: italic;
  font-size: 0.7rem;
}

.thoughtbody {
  font-size: min(2.5vw, 1rem);
  max-width: 80ch;
  font-family: monospace;
  white-space: pre;
  display: block;
  width: auto;
  overflow-x: auto; /* allows horizontal scrolling */
  overflow-y: visible; /* keeps vertical scroll behavior normal */
  margin: 20px auto;
  padding: 20px;
}

.grayscale {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  filter: grayscale(100%);
}

.abyss {
  color: gray;
  text-shadow:
    1px 1px 3px black,
    -1px -1px 3px black,
    1px -1px 3px black,
    -1px 1px 3px black,
    0 0 2em black,
    0 0 0.8em black,
    0 0 5px black,
    0 0 10px black,
    0 0 15px black;
}

@keyframes lol {
  from{
    transform: rotate(0deg);
  }
  to {
    transform: rotate(9000deg);
  }
}

.lol {
  animation: lol;
  animation-duration: 500s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}

.box{
  border: 2px dashed #888;

  margin: 0 auto;
  width: 320px;
  height: 140px;
  position: relative;
}

.box b {
  position: absolute;
  -webkit-animation: moveX 2s linear 0s infinite alternate, moveY 3.4s linear 0s infinite alternate;
  -moz-animation: moveX 2s linear 0s infinite alternate, moveY 3.4s linear 0s infinite alternate;
  -o-animation: moveX 2s linear 0s infinite alternate, moveY 3.4s linear 0s infinite alternate;
  animation: moveX 2s linear 0s infinite alternate, moveY 3.4s linear 0s infinite alternate;
}

@-webkit-keyframes moveX {
  from { left: 0; } to { left: 280px; }
}
@-moz-keyframes moveX {
  from { left: 0; } to { left: 280px; }
}
@-o-keyframes moveX {
  from { left: 0; } to { left: 280px; }
}
@keyframes moveX {
  from { left: 0; } to { left: 280px; }
}

@-webkit-keyframes moveY {
  from { top: 0; } to { top: 100px; }
}
@-moz-keyframes moveY {
  from { top: 0; } to { top: 100px; }
}
@-o-keyframes moveY {
  from { top: 0; } to { top: 100px; }
}
@keyframes moveY {
  from { top: 0; } to { top: 100px; }
}