/* soo much SHIT css */

* {
  box-sizing: border-box;
}

html {
  margin: 0px;
  padding: 0px;
  height: 100%;
  width: 100%;
}

body {
  background: var(--background);
}

table#contents td a {
  text-decoration: none;
  display: block;
  padding: 10px 30px 10px 30px;
}

table#contents {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  border-width: 0px;
}

table#contents td {
  padding: 0px;
  word-wrap: none;
  white-space: nowrap;
}

table#contents td.icon,
table td.size,
table td.mtime {
  width: 1px;
  white-space: nowrap;
}

table#contents td.icon a {
  padding-left: 0px;
  padding-right: 5px;
}

table#contents td.name a {
  padding-left: 5px;
}

table#contents td.size a {
  color: var(--text);
}

table#contents td.mtime a {
  padding-right: 0px;
  color: var(--text);
}

table#contents tr {
  color: var(--text);
}

table#contents tr:hover {
  color: var(--accent);
}

table#contents tr.separator td {
  padding: 10px 30px 10px 30px
}

table#contents tr.separator td hr {
  display: none;
}

nav#breadcrumbs {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav#breadcrumbs ul {
  list-style: none;
  display: inline-block;
  margin: 0px;
  padding: 0px;
}

nav#breadcrumbs ul .icon {
  font-size: 14px;
}

nav#breadcrumbs ul li:first-child a,
table#contents tbody tr:first-child td:first-child a {
  color: var(--primary);
}

nav#breadcrumbs ul:hover li:first-child a {
  color: var(--text);
}

nav#breadcrumbs ul li {
  float: left;
}

nav#breadcrumbs ul li a {
  color: var(--text);
  display: block;
  background: var(--background-lighter);
  text-decoration: none;
  position: relative;
  height: 40px;
  line-height: 40px;
  padding: 0 10px 0 5px;
  text-align: center;
  margin-right: 23px;
}

nav#breadcrumbs ul li:first-child a {
  padding-left: 15px;
  -moz-border-radius: 4px 0 0 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px 0 0 4px;
}

nav#breadcrumbs ul li:first-child a:before {
  border: none;
}

nav#breadcrumbs ul li:last-child a {
  padding-right: 15px;
  -moz-border-radius: 0 4px 4px 0;
  -webkit-border-radius: 0;
  border-radius: 0 4px 4px 0;
}

nav#breadcrumbs ul li:last-child a:after {
  border: none;
}

nav#breadcrumbs ul li a:before,
nav#breadcrumbs ul li a:after {
  content: "";
  position: absolute;
  top: 0;
  border: 0 solid var(--background-lighter);
  border-width: 20px 10px;
  width: 0;
  height: 0;
}

nav#breadcrumbs ul li a:before {
  left: -20px;
  border-left-color: transparent;
}

nav#breadcrumbs ul li a:after {
  left: 100%;
  border-color: transparent;
  border-left-color: var(--background-lighter);
}

nav#breadcrumbs ul li a:hover {
  background-color: var(--primary);
}

nav#breadcrumbs ul li a:hover:before {
  border-color: var(--primary);
  border-left-color: transparent;
}

nav#breadcrumbs ul li a:hover:after {
  border-left-color: var(--primary);
}

nav#breadcrumbs ul li a:active {
  background-color: var(--accent);
}

nav#breadcrumbs ul li a:active:before {
  border-color: var(--accent);
  border-left-color: transparent;
}

nav#breadcrumbs ul li a:active:after {
  border-left-color: var(--accent);
}
