2016-02-11 15:39:20 +01:00
|
|
|
|
|
|
|
body > .container:first-child {
|
2016-02-12 09:13:25 +01:00
|
|
|
margin: 3rem auto 0;
|
2016-02-11 15:39:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-02-07 16:55:50 +01:00
|
|
|
.controls {
|
2016-02-11 17:37:40 +01:00
|
|
|
background: #ddd;
|
|
|
|
border-radius: 1rem;
|
2016-02-11 19:12:08 +01:00
|
|
|
padding: 1.5rem 2rem .5rem;
|
2016-02-11 17:37:40 +01:00
|
|
|
}
|
|
|
|
|
2022-02-07 16:55:50 +01:00
|
|
|
.controls span:not(:first-of-type) {
|
|
|
|
padding-left: 4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls label {
|
2016-02-11 17:37:40 +01:00
|
|
|
display: inline-block;
|
2022-02-07 16:55:50 +01:00
|
|
|
margin: 0 0 0 .5rem;
|
2016-02-11 17:37:40 +01:00
|
|
|
}
|
|
|
|
|
2016-02-11 15:39:20 +01:00
|
|
|
.file-list {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-list li {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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/directory.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);
|
|
|
|
}
|
|
|
|
|
2016-02-11 18:42:41 +01:00
|
|
|
.file-list .parent .file-name::before {
|
|
|
|
background-image: url(../image/parent.png);
|
|
|
|
}
|
|
|
|
|
2016-02-11 15:39:20 +01:00
|
|
|
.file-list .file-link {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-list .file-date {
|
2016-02-11 18:42:41 +01:00
|
|
|
padding: .25rem .5rem;
|
|
|
|
background: #1EAEDB;
|
|
|
|
border-radius: .5rem;
|
|
|
|
font-size: 70%;
|
|
|
|
margin: 0 .5rem;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2016-02-11 15:39:20 +01:00
|
|
|
|
2016-02-11 18:42:41 +01:00
|
|
|
.file-list .directory .file-date {
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-list .parent .file-date {
|
|
|
|
display: none;
|
2016-02-11 15:39:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-list .file-size {
|
2016-02-11 18:42:41 +01:00
|
|
|
padding: .25rem .5rem;
|
|
|
|
background: #24db53;
|
|
|
|
border-radius: .5rem;
|
|
|
|
font-size: 70%;
|
|
|
|
margin: 0 .5rem;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2016-02-11 15:39:20 +01:00
|
|
|
|
2016-02-11 18:42:41 +01:00
|
|
|
.file-list .other .file-size,
|
|
|
|
.file-list .parent .file-size,
|
|
|
|
.file-list .directory .file-size {
|
|
|
|
display: none;
|
2016-02-11 15:39:20 +01:00
|
|
|
}
|
2016-02-11 18:42:41 +01:00
|
|
|
|
2016-02-12 09:13:25 +01:00
|
|
|
footer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer small + small {
|
|
|
|
margin-left: 2rem;
|
2022-02-07 16:55:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Start of alternations for dark theme
|
|
|
|
*/
|
|
|
|
|
|
|
|
body.dark {
|
|
|
|
background-color: #252525;
|
|
|
|
color: #ecdbb2;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark h1 {
|
|
|
|
color: #9dd08e;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark a {
|
|
|
|
color: #549699;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark a.file-name {
|
|
|
|
color: #ecdbb2;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark .controls {
|
|
|
|
background: #413e3d;
|
|
|
|
color: #ecdbb2;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark input[name="sort"] {
|
|
|
|
accent-color: #fe6142;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark .file-list .file-date {
|
|
|
|
background: #549699;
|
|
|
|
color: #ecdbb2;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark .file-list .file-size {
|
|
|
|
background: #79aa7d;
|
|
|
|
color: #ecdbb2;
|
2016-02-12 09:13:25 +01:00
|
|
|
}
|