body > .container:first-child { margin: 3rem auto 0; } a { text-decoration: none; } .header { padding-left: 4rem; color: #0044ff; position: relative; display: inline-block; font-weight: bold; } .header::before { background: no-repeat center center; background-image: url(../favicon.png); background-size: contain; width: 4rem; content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; } .controls { background: #ddd; border-radius: 1rem; padding: 1.5rem 2rem .5rem; } .controls span:not(:first-of-type) { padding-left: 4rem; } .controls label { display: inline-block; margin: 0 0 0 .5rem; } .file-list { list-style: none; } .file-list li { margin: 1rem 0; margin-bottom: 1rem; border-color: aqua; border-style: dashed; background-color: #e1e1e1; padding: 0px 8px; } .file-list .file-name { line-height: 4rem; display: inline-block; position: relative; padding-left: 4rem; } .file-list .file-name::before { background: no-repeat center center; background-size: contain; width: 3rem; content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; } .file-list .directory .file-name::before { background-image: url(../image/folder.png); } .file-list .file .file-name::before { background-image: url(../image/file.png); } .file-list .other .file-name::before { background-image: url(../image/other.png); } .file-list .parent .file-name::before { background-image: url(../image/parent.png); } .file-list .iso .file-name::before { background-image: url(../image/compact-disk.png); } .file-list .file-link { } .file-list .file-date { padding: .25rem .5rem; background: #1EAEDB; border-radius: .5rem; font-size: 70%; margin: 0 .5rem; color: #fff; white-space: nowrap; } .file-list .directory .file-date { } .file-list .parent .file-date { display: none; } .file-list .file-size { padding: .25rem .5rem; background: #24db53; border-radius: .5rem; font-size: 70%; margin: 0 .5rem; color: #fff; white-space: nowrap; } .file-list .other .file-size, .file-list .parent .file-size, .file-list .directory .file-size { display: none; } footer { text-align: center; } footer small + small { margin-left: 2rem; } zero-md { background-color: whitesmoke; padding: 16px; border: solid 4px gray; border-radius: 8px; } /* Start of alternations for dark theme */ body.dark { background-color: #040b1e; color: #ecdbb2; } body.dark h1 { color: #00ffff; } body.dark a { color: #549699; } body.dark a.file-name { color: #ecdbb2; } body.dark .controls { background: #0f1e31; color: #ecdbb2; } body.dark input[name="sort"] { accent-color: #fe00ee; } body.dark input[name="theme"] { accent-color: #fe00ee; } body.dark .file-list .file-date { background: #549699; color: #ecdbb2; } body.dark .file-list .file-size { background: #79aa7d; color: #ecdbb2; } body.dark li { margin-bottom: 1rem; border-color: aqua; border-style: dashed; background-color: #0f1e31; padding: 0px 8px; }