html, body                                      { margin: 0;
                                                  padding: 0; }
body                                            { font-family: monospace;
                                                  font-size: 10pt;
                                                  color: #ddd;
                                                  background-color: #111;
                                                  line-height: 1.4em;
                                                  display: flex;
                                                  flex-direction: column;
                                                  min-height: 100vh;
                                                  width: 85rem;
                                                  max-width: 96%;
                                                  margin: 0 auto;
                                                  padding: 2rem 0; }

a                                               { color: yellow;
                                                  text-decoration: none;
                                                  transition: color 0.2s ease; }
a:hover                                         { text-decoration: underline; }

h1, h2, h3                                      { font-weight: 700;
                                                  color: #fff;
                                                  margin-top: 0; }

body > table:first-of-type                      { width: 100%;
                                                  margin-bottom: 0.5rem;
                                                  border-collapse: collapse; }
body > table:first-of-type td:first-child       { width: 1%;
                                                  padding-right: 0.75rem; }
body > table:first-of-type h1                   { font-size: 1.5em;
                                                  display: inline;
                                                  margin: 0 0.5rem 0 0; }
body > table:first-of-type img                  { border-radius: 4px;
                                                  display: block; }
.desc                                           { opacity: 0.8;
                                                  color: #ccc; }
td > .desc:first-child                          { font-size: 1.5em;
                                                  font-weight: 700;
                                                  color: #fff;
                                                  opacity: 1; }

tr.url td                                       { color: #8AE234;
                                                  padding-top: 0.35rem; }
tr.url td a                                     { color: #ddd;
                                                  font-weight: bold; }
tr.url td a:hover                               { color: yellow; }

body > table:first-of-type tr:last-child td     { padding-top: 0.5rem;
                                                  color: #666; }

hr                                              { border: 0;
                                                  border-bottom: 1px solid #333;
                                                  margin: 1rem 0 2rem 0;
                                                  width: 100%; }

#content                                        { flex: 1;
                                                  min-width: 0;
                                                  overflow-x: auto; }
#content h2                                     { font-size: 1.3em;
                                                  margin-top: 0;
                                                  margin-bottom: 1rem;
                                                  padding-bottom: 0.5rem;
                                                  border-bottom: 1px solid #444; }
#content p                                      { margin-bottom: 1em; }
#content pre                                    { line-height: 1.4;
                                                  overflow-x: auto; }

table#index,
table#files,
table#log,
table#branches,
table#tags                                      { width: 100%;
                                                  border-collapse: collapse;
                                                  text-align: left;
                                                  margin-bottom: 2.5rem; }
table#index thead td,
table#files thead td,
table#log thead td,
table#branches thead td,
table#tags thead td                             { font-weight: bold;
                                                  color: #fff;
                                                  padding-bottom: 0.75rem;
                                                  border-bottom: 1px solid #444; }
table#index tbody td,
table#files tbody td,
table#log tbody td,
table#branches tbody td,
table#tags tbody td                             { padding: 0.6rem 0.2rem;
                                                  border-bottom: 1px dashed #333; }
table#index tbody tr:last-child td,
table#files tbody tr:last-child td,
table#log tbody tr:last-child td,
table#branches tbody tr:last-child td,
table#tags tbody tr:last-child td               { border-bottom: none; }
table#index tbody tr:hover td,
table#files tbody tr:hover td,
table#log tbody tr:hover td,
table#branches tbody tr:hover td,
table#tags tbody tr:hover td                    { background-color: #1a1a1a; }

table#log tbody td:nth-child(5)                 { color: #8AE234; }
table#log tbody td:nth-child(6)                 { color: #ff5555; }

.num                                            { text-align: right; }

#blob                                           { background-color: #161616;
                                                  border: 1px solid #282828;
                                                  border-radius: 4px;
                                                  padding: 1.5rem;
                                                  overflow-x: auto;
                                                  line-height: 1.4;
                                                  margin-top: 0; }

a.line                                          { color: #555;
                                                  text-decoration: none;
                                                  margin-right: 1.5em;
                                                  display: inline-block;
                                                  text-align: right;
                                                  user-select: none; }
a.line:hover                                    { color: #8AE234;
                                                  text-decoration: none; }

.i, a.i                                         { color: #8AE234; }
.d, a.d                                         { color: #ff5555; }
.h, a.h                                         { color: #00cccc; }

@media (max-width: 768px) {
        body                                    { width: 90%;
                                                  padding: 1.5rem 0; }

        #blob                                   { padding: 1rem; }
}

@media (max-width: 480px) {
        body                                    { font-size: 9.5pt;
                                                  width: 95%; }

        #blob                                   { padding: 0.8rem; }
}
