html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1;
    background-color: #222222!important;
}
body{
    width: calc(100% - 60px);
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
}
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}
.releases {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: start;
    margin: 0;
    padding: 0;
    height: auto;
}
div.filelabel {width: calc(100% - 20px);
display: flex;
justify-content: space-between;
align-items: center;
margin: 5px 10px;
}
.files, .releases {
    width: calc(50% - 30px);
    margin: 0 auto;
}
.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;
}
.hljs, .codeblock, .file-wrapper, .readme {
    padding: 0;
    font-size: 16px;
    margin: 8px 0 0;
    cursor: pointer;
    border-radius: 6px;
}
.filelabel {
    border-radius: 5px;
    margin: 0 0 5px 0;
    padding: 8px;
    font-size: 18px;
    width: calc(100% - 15px);
    height: inherit;
    display: inline-block;
    border: solid 1px #444444;
}
.terminal {
    padding: 7px;
    border-radius: 5px;
    margin: 0 5px;
    font-size: 15px;
    width: calc(100% - 15px);
    height: inherit;
    display: inline-block;
}

.hljs, .codeblock, .file-wrapper, .readme {
    padding-top: 0;
    padding-bottom:0;
    margin-top: 0;
    margin-bottom: 0;
}
.hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
}
:root {
  /*--sans-font: "URW Gothic";
  --display-font: "Chilanka";*/
  --mono-font: "Victor Mono";
  --sans-font: "Sen";
  --display-font: URW Gothic, AnjaliOldLipi;
}

html {
  font-family: var(--sans-font);
}
span, p {
  font-size: 15px;
  line-height: 1.25;
    margin: 2px 0;
}
pre, code {
  font-family: var(--mono-font);
    font-size: medium;
    line-height: 1.3;
}

main h1, h2, h3, strong {
  font-family: var(--display-font);
  font-weight: 500;
    font-size: 125%;
}

strong {
  font-weight: 500;
}
.index {
    width: 100%;
  padding: 0;
  display: inline-flex;
  /*grid-template-columns: 6em 1fr minmax(0, 7em);*/
        flex-direction: column;
    align-content: center;
    justify-content: stretch;
    align-items: stretch;
    flex-wrap: nowrap;
  grid-row-gap: 5px;
  min-width: 0;
}
.index2 {
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 5px;
    padding: 0 10px;
}
span.index-name {
    width: 100%;
    font-size: 22px;
    font-family: var(--display-font);
    margin: unset;
    padding: unset;
    text-decoration: unset!important;
}
span.desc {
    font-size: 18px;
    margin: 0 5px;
    padding: 0 10px;
}
.tree {
  display: grid;
  grid-template-columns: 10ch auto 1fr;
  grid-row-gap: 0.5em;
  grid-column-gap: 1em;
  min-width: 0;
}

.log {
  display: grid;
}
.mode, .size {
  font-family: var(--mono-font);
}
.readme code {
    display: inline-block;
    width: inherit;
}
.readme pre {
    width: 100%;
    display: block;
}
.readme {
  padding: 0.5rem;
}
.readme ul {
  padding: revert;
}
.readme img {
  max-width: 100%;
}
.diff {
  margin: 1rem 0 1rem 0;
  padding: 1rem 0 1rem 0;
  border-bottom: 1.5px solid grey;
}

.diff pre {
  overflow: scroll;
}
.commit-info {
    padding: 5px;
}
* {
    box-sizing: border-box;
}
.diff-stat {
  padding: 1rem 0 1rem 0;
}
.commit-info, .commit-hash, .commit-email, .commit-date, .commit-message {
  font-family: var(--mono-font);
    margin-bottom: 10px;
    font-size: 15px;
}
.commit-message {
    margin: 8px;
}
.commit-email:before {
  content: '<';
}

.commit-email:after {
  content: '>';
}

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

.line-numbers {
  white-space: pre-line;
  -webkit-user-select: none;
  user-select: none;
  display: flex;
  float: left;
  flex-direction: column;
  margin-right: 1ch;
}
.file-wrapper {
  display: flex;
  flex-direction: row;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.5rem;
  overflow-x: auto;
}
span {
    line-height: 1.3;
}
.file-content {
  overflow-y: auto;
  overflow-x: auto;
}
@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: 1.5rem;
  }

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

  pre {
    font-size: 0.8rem;
  }
}