:root {
    --color-site: teal;
    --color-darker: #101010;
    --color-dark: #202020;
    --color-light: #b0b0b0;
    --color-lighter: #d0d0d0;
}

.header {
	font-size: 16px;
    width: calc(100% - 4px);
    margin: 0 0 10px 0;
	padding: 2px;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.words {
    color: var(--color-light);
}

.header-clean {
	border-bottom: 1px solid var(--color-site);
	background: none;
	font-family: Consolas, monospace;
	color: var(--color-lighter);
	width: 100%;
	height: 28px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.site-shade {
    position: relative;
}

.site-shade::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: var(--color-site);
	opacity: 0.15;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.site-shade.medium::before {
    opacity: 0.6;
}

.header-clean > * {
	margin: 0 10px;
	font-size: 18px;
    white-space: nowrap;
}

.site-shade > * {
	position: relative; /* fixes z-index issue idk why. well i do know why but i don't know why why */
}

.header-clean > span.title {
}

.header-clean > span.spacing {
    flex-grow: 1;
}

.header-clean > span.music-player {
    border: 1px solid var(--color-site);
    font-size: 12px;
    display: flex;
}

.header-clean > span.music-player.playing {
    border-radius: 0;
}

.music-player audio {
    display: none;
}

.music-player .play-button {
    cursor: pointer;
    width: 16px;
    height: 16px;
    padding: 2px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.music-player .play-button > span {
    background: var(--color-site);
    mask-image: url('/~parsec/img/playicon.svg');
    -webkit-mask-image: url('/~parsec/img/playicon.svg');
    width: 16px;
    height: 16px;
    display: flex;
}

.music-player.playing .play-button > span {
    mask-image: url('/~parsec/img/pauseicon.svg');
    -webkit-mask-image: url('/~parsec/img/pauseicon.svg');
}

.music-player .music-title {
    height: 20px;
    line-height: 20px;
    display: flex;
    width: 0px;
    overflow: hidden;
    white-space: nowrap;
    transition: width 500ms;
}

.music-player .music-title > span {
    margin: 0 4px 0 4px;
}

.music-player.playing .music-title {
}

.header-clean > a {
	background: unset;
	color: var(--color-site);
	font-weight: normal;
}

span.subscript {
    font-size: 10px;
}

.pagination, .pagination-link, .pagination-ellipsis {
	display: inline-block;
	font-size: 14px;
}

.pagination {
	align-self: end;
}

.pagination-bottom {
	margin-bottom: 10px;
}

.pagination-top {
	margin-top: 10px;
}

.pagination-anchor, .pagination-ellipsis {
	border: 1px solid var(--color-site);
	margin-left: 5px;
	padding: 1px 3px 1px 3px;
}

a.pagination-anchor {
	background-color: inherit;
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

a.pagination-anchor.pagination-anchor-selected {
	background-color: var(--color-site);
	color: #010101;
}

li.blog-post {
	border: 1px solid var(--color-site);
	margin-bottom: 10px;
}

div.post-head {
	background: none;
    position: relative;
	color: var(--color-lighter);
	padding: 3px 6px;
	font-size: 14px;
    border-bottom: 1px dashed var(--color-site);
}

div.post-head a {
    background: none;
    color: var(--color-site);
}

span.post-number {
	float: right;
	margin-left: 10px;
}

div.post-body {
	padding: 6px;
}

ul {
	padding-left: 0px;
	padding-right: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
}

ul.blog {
	margin: 10px auto 0 auto;
	display: flex;
	flex-direction: column;
	max-width: 1000px;
}

li {
	list-style-type: none;
}

span.code {
	border: 1px solid var(--color-site);
	border-radius: 2px;
	padding: 0px 5px 0px 5px;
	font-family: Consolas, monospace;
	/*user-select: all;*/
}

h1 {
	margin-top: 20px;
	margin-bottom: 20px;
}

ul p {
	font-size: 14px;
	margin: 0 0 5px 0;
	color: var(--color-light);
	font-family: Verdana;
}

ul p:last-of-type {
  margin: 0;
}

img, video {
    vertical-align: bottom;
    max-width: calc(min(400px, 100%));
}

audio {
    max-width: 400px;
    width: 100%;
}

.bg-colour {
  background-color: var(--color-site);
}

.border-colour {
  border-color: var(--color-site);
}

select.styled, button.styled, input.styled, textarea.styled {
  display: block;
  margin: 5px;
  appearance: none;
  border: 1px solid var(--color-site);
  padding: 5px;
  font-family: Consolas, monospace;
  font-size: 12px;
  color: #a0a0a0;
  background-color: #111411;
  width: 200px;
  box-sizing: content-box;
}

textarea.styled {
  height: 150px;
}

input.styled[type="submit"] {
  cursor: pointer;
  border-radius: 4px;
}

form {
  margin: 0;
}

p.subtitle {
  padding: 5px;
  font-weight: bold;
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.overlay-container canvas {
  width: 100%;
  height: 100%;
}

#voronoi-container {
  display: none;
  opacity: 0;
}

#voronoi-container.visible {
  display: block;
  opacity: 0.3;
}

.voronoi-button {
  cursor: pointer;
}

#content-container {
  padding: 0 16px;
  height: calc(100% - 29px);
  overflow: auto;
  display: flex;
  flex-direction: column;
}

body {
  position: relative;
}

/* below is a modified version of tilde.club's css for now */

/* {font-size:13pt;font-weight:normal;} */

table {
  border-collapse: collapse;
}
td {
  border: 6px double var(--color-site);
  padding: 10px;
}
ol {
  margin-left: 1em;
}
body {
  margin: 0;
  font-family: Consolas, monospace;
  color: var(--color-site);
  background: var(--color-darker);
  word-wrap: break-word;
}
a {
  color: var(--color-site);
  font-weight: bold;
}
hr {
    border-color: var(--color-site);
    border-width: 0 0 1px 0;
}
.advisory {
  background: var(--color-site);
  color: #223;
  font-weight: bold;
  padding-right: 0.25em;
}
h1 {
  text-transform: uppercase;
  font-weight: bold;
  color: #010401;
  background: var(--color-site);
}

.advisory {
  -webkit-animation-name: blinker;
  -webkit-animation-duration: 8s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;

  -moz-animation-name: blinker;
  -moz-animation-duration: 8s;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;

  animation-name: blinker;
  animation-duration: 8s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sourceCode {
 color:#06287e;
}

 /* Style the navbar */
#navbar {
  overflow: hidden;
  background-color: var(--color-site);
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* Navbar links */
#navbar a {
  float: left;
  display: block;
  color: #010101;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

/* Page content */
.content {
  padding-top: 30px;
}

@-moz-keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
  }
}

/* Mobile */
@media (min-width: 768px) {
  td {
    display: block;
  }
}
