:root {
    --color-white: #FFF;
    --color-blue: #009CDF;
    --color-beige: #F4EAD5;
    --color-green: #5EBD3E;
    --color-yellow: #FFB900;
    --color-orange: #F78200;
    --color-dark: #1d1d1d;
    --color-red: #E23838;
    --color-alt-text: #9d9d9d;

    --content-width: 800px;

    --font-mono: monospace;
}

@font-face {
    font-family: Lora;
    font-style: normal;
    font-weight: 400;
    src: url("https://www.stevegattuso.me/static/fonts/lora-v15-latin-regular.woff");
}

@font-face {
    font-family: Lora;
    font-style: normal;
    font-weight: 700;
    src: url("https://www.stevegattuso.me/static/fonts/lora-v15-latin-700.woff");
}

body {
    font-family: monospace;
    background-color: var(--color-beige);
    color: var(--color-dark);
    margin: 0;
    padding: 0;
    font-size: 14px;
}

a {
    color: var(--color-blue);
    text-decoration: underline;
}

h1 {
    margin: 0px;
}

pre {
    background-color: var(--color-white);
    padding: 10px;
    margin: 0px;
    overflow-x: scroll;
}

pre a {
    color: var(--color-dark);
    text-decoration: none;
}

#content hr {
    border: 1px dashed var(--color-dark);
}

a.line {
    color: var(--color-alt-text);
}

a.i {
    color: var(--color-green);
}

a.d {
    color: var(--color-red);
}

a:hover {
    text-decoration: none;
}

body table:nth-child(1) {
    width: var(--content-width);
    margin: 0px auto;
}

body > table + hr:before {
    content: "";
    display: block;
    height: 3px;
    background-color: var(--color-green);
    margin-bottom: 3px;
}

body > table + hr {
    border: none;
    height: 9px;
    background-color: var(--color-yellow);
}

body > table + hr:after {
    content: "";
    display: block;
    height: 3px;
    background-color: var(--color-orange);
    padding-bottom: 3px;
}

#log, #branches, #files, #index {
    width: 100%;
    font-family: var(--font-mono);
}

#log tr td:nth-last-child(1) {
    color: var(--color-red);
}

#log tr td:nth-last-child(2) {
    color: var(--color-green);
}

#log tr td:nth-child(1) {
    padding-right: 10px;
}

#content {
    width: var(--content-width);
    margin: 0px auto;
}
