@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&family=Victor+Mono:wght@100..700&display=swap');
:root {
    font-size: 16px;
    --mono-font: "Victor Mono";
    --sans-font: "Ubuntu Sans";
    --display-font: "Comfortaa";
    font-variant-ligatures: none!important;
}
* {
    font-variant-ligatures: none!important;
}
html, body {
	font-family: var(--sans-font), sans-serif!important;
}
h1, h2, h3, h4, h5, h6, button {
	font-family: var(--display-font), sans-serif!important;
}
p {
	font-family: var(--sans-font), sans-serif!important;
}
pre, code {
	font-family: var(--mono-font), monospace!important;
}
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
header div * {
    margin: 0;
    padding: 0;
}
h1 {
    font-size: calc(2lh - 1cap);
    margin: 0;
    padding: 0;
}
header div {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}
body{
    width:  calc(100% - 60px);
    max-width: 1250px;
    margin: 0 auto;
    padding: 1ch;
    min-height: 100%;
    height: auto;
    max-height: max-content;
}
button {
    font-size: 1rem;
    padding: 0;
    border-width: 0.5em 1em;
    border-radius: 0.5em;
    cursor: pointer;
}
button:hover {
    /*transform: translateY(-2px);*/
}

button:active {
    transform: translateY(0);
}
.releases {
    display: inline-flex;
    flex-direction: column;
    align-items: baseline;
    margin: 0 auto 0 auto;
    padding: 1ch 0;
    line-height: 1.5;
}
.filehr{
    width: 100%;
    height: 0;
    border-width: 1px 0 0 0;
    border-style: solid;
    margin: 0;
    padding: 0;
}
.releases span {
    width: 100%;
    margin: 1ch 0;
}
h1, h2, h3, h4, h5, h6 {
    margin: inherit;
    padding: 0 0 0.5ch 0;
    width: fit-content;
}
.trees {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding:0;
    margin: auto auto;
    border: 1px solid;
    border-radius: 1ch;
    overflow: hidden;
}
.filelabel {
    padding: 8px;
    font-size: 1rem;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-gap: 1ch;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
}

.trees a {
    display: contents;
    text-decoration: none;
}
.files, .releases {
    width: calc(50% - 10px);
}

.readme code {
    padding: 5px;
    border-radius: 5px;
}
.header {
    padding: 10px 0;
}
.sidebyside {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-grow: 1;
    margin: 0;
    padding: 0;
}
.rightdiv {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}
.main {
    overflow-y: auto;
    margin: 0;
    padding: 0 15px 0 5px;
    flex-grow: 1;
}
li {
    margin: 5px;
    padding: 5px;
}
p, li {
    text-align: justify;
}
img {
    border-radius: 10px;
}
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    border-radius: 5px;
}
::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb {
    border-radius: 5px;
    padding: 2px;
    margin: 2px;
}
::-webkit-scrollbar-corner {
    background: transparent;
}
.project-desc {
    padding: 0;
    margin: 5px 0;
}
.file-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    align-self: stretch;
    margin: auto auto;
    max-width: 100% !important;
}
header {
    width: 100%;
    padding: 1ch 0 0;
    margin: -1ch 0 0;
    position: sticky;
    top: 0;
    background-color: inherit;
}
header button {
    margin: 0 0 0 1ch;
}
a.favicon{
    font-size: 2cap;
    width: 1lh;
    display: inline-block;
    margin: 0 0.5ch 0 0;
    padding: 0;
    border: 0;
    text-decoration: none;
}
.favicon {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("/static/favicon.png");
}
hr {
    display: block;
    height: 0;
    width: 100%;
    padding: 0;
    margin: 1ch 0;
    box-sizing: border-box;
}
.file-main {
    display: contents;
}
.file-body .project-desc {
    display: none!important;
    height: 0;
}
pre.line-numbers {
    white-space: pre;
    -webkit-user-select: none;
    user-select: none;
    display: flex;
    float: left;
    flex-direction: column;
    justify-content: right;
    align-content: stretch;
    align-self: stretch;
    justify-self: stretch;
    place-self: stretch;
    padding: 0 0.5rem;
    border-right: 1px solid #444444;
    text-align: right;
    height: max-content;
    width: fit-content;
    position: sticky;
    margin: 0 0 auto 0;
    left: 0;
    top: 0;
    bottom: 0;
}
pre.file-content {
  white-space: pre;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
    align-self: stretch;
  padding: 0;
  margin: 0;
  width: 100%;
    height: max-content;
}
.file-wrapper {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #444444;
}

tbody {
    display:contents;
    padding: 0;
    margin: 0;
}
/*
span {
line-height: 1.3;
}
.hljs, .codeblock, .file-wrapper, .readme {
    padding: 0;
    font-size: 16px;
    margin: 8px 0 0;
    cursor: pointer;
    border-radius: 6px;
}*/
code.hljs,
code.hljs *{
    padding: 0;
    margin: 0;
    font-family: var(--mono-font), monospace !important;
    font-size: 16px!important;
}
code.hljs {
    height: 100%;
    min-height: inherit;
}
.terminal {
    padding: 7px;
    border-radius: 5px;
    margin: 0;
    font-size: 1rem;
    width: calc(100% - 15px);
    height: inherit;
    display: inline-block;
}

html {
  font-family: var(--sans-font), sans-serif;
}
span, p {
  font-size: 1rem;
  line-height: 1;
    font-family: var(--sans-font), sans-serif;
}
pre, code {
  font-family: var(--mono-font), monospace ;
  font-size: medium;
  line-height: 1.3;
}

strong {
  font-weight: 500;
}


.index-name {
    font-size: calc(1em * 1.2);
    font-family: var(--display-font), sans-serif;
    text-decoration: unset!important;
}
.tree {
  display: grid;
  grid-template-columns: 10ch auto 1fr;
  grid-row-gap: 0.5em;
  grid-column-gap: 1em;
  min-width: 0;
}

.log {
  display: grid;
  border-radius: 1ch;
  overflow: hidden;
  border: 1px solid;
}
.mode, .size {
  font-family: var(--mono-font), monospace ;
}
.readme code {
    display: inline-block;
    width: inherit;
    overflow-x: auto;
    padding: 1ch;
    line-height: 1.5em;
}
.readme pre {
    width: 100%;
    display: block;
}
.readme {
    padding: 0;
    margin: 0;
    border: 1ch solid  transparent;
    border-radius: 1ch;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.readme ul {
  padding: revert;
}
.readme img {
  max-width: 100%;
}
.diff {
  margin: 1rem 0 1rem 0;
  padding: 1rem 0 1rem 0;
  border-bottom: 1px solid grey;
}

.commit-info span, .commit-info a, .commit-info p {
    margin: 0;
    padding: 0;
    font-size: 1rem!important;
    font-family: var(--mono-font), monospace !important;
}
.diff pre {
  overflow: scroll;
}
.commit-info {
    margin: 0;
    padding: 1ch;
    width: 100%;
    display: table-row;
}
div.commit-info:not(:last-child) {
    border-bottom: 1px solid #444444;
}
.commit-info > * {
    display: inline;
    margin-right: 1em;
}
* {
    box-sizing: border-box;
}
.diff-stat {
  padding: 1rem 0 1rem 0;
}
.commit-email {
    text-decoration: none;
}
.commit-hash {
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

.commit-date, .commit-date>span {
    margin: 0;
    content: contents;
    position: static;
    width: max-content;
    font-weight: normal;
    cursor: pointer;
}

.spandate {
    display: none!important;
}
.commit {
    margin: 0;
}
.diff-stat ul li {
  list-style: none;
  padding-left: 0;
}
.refs strong {
  padding-right: 5px;
}

/*
@media (max-width: 800px) {
  .index {
    grid-row-gap: 0.8em;
  }

  .log {
    grid-template-columns: 1fr;
    grid-row-gap: 0em;
  }

  .index {
    grid-template-columns: 1fr;
    grid-row-gap: 0em;
  }

  .index-name:not(:first-child) {
    padding-top: calc( 1.5 * 1rem);
  }

  .commit-info:not(:last-child) {
    padding-bottom: calc( 1.5 * 1rem);
  }

  pre {
    font-size: calc( 0.8 * 1rem);
  }
}
*/