2020-04-03 21:19:59 +01:00
|
|
|
:root {
|
|
|
|
/* https://coolors.co/fe4a49-fed766-009fb7-e6e6ea-f4f4f8 */
|
|
|
|
--orange: rgba(254, 74, 73, 1);
|
|
|
|
--yellow: rgba(254, 215, 102, 1);
|
|
|
|
--blue: rgba(0, 159, 183, 1);
|
|
|
|
--platinum: rgba(230, 230, 234, 1);
|
|
|
|
--white: rgba(244, 244, 248, 1);
|
|
|
|
|
|
|
|
--desktop-width: 1170px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body, h1 a {
|
2020-03-22 21:15:31 +00:00
|
|
|
font-family: sans-serif;
|
2020-04-03 21:19:59 +01:00
|
|
|
color: var(--orange);
|
|
|
|
background-color: var(--white);
|
2020-03-22 00:18:19 +00:00
|
|
|
}
|
|
|
|
|
2020-04-03 21:19:59 +01:00
|
|
|
.grid-lg {
|
2020-03-22 00:18:19 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(5, 1fr);
|
|
|
|
grid-template-rows: repeat(5, 2fr);
|
|
|
|
grid-column-gap: 5px;
|
|
|
|
grid-row-gap: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid-lg a {
|
|
|
|
display: flex;
|
|
|
|
padding: 10vh;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 32px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
transition: background-color 0.5s;
|
2020-04-03 21:19:59 +01:00
|
|
|
background-color: var(--blue);
|
2020-03-22 00:18:19 +00:00
|
|
|
}
|
|
|
|
|
2020-04-03 21:19:59 +01:00
|
|
|
.list {
|
|
|
|
width: 40%;
|
|
|
|
margin: 0 auto;
|
2020-03-22 00:18:19 +00:00
|
|
|
display: flex;
|
2020-04-03 21:19:59 +01:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list a {
|
2020-04-05 19:32:35 +01:00
|
|
|
padding: 1vh;
|
2020-03-22 00:18:19 +00:00
|
|
|
font-size: 24px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
2020-04-03 21:19:59 +01:00
|
|
|
text-align: center;
|
2020-03-22 00:18:19 +00:00
|
|
|
transition: background-color 0.5s;
|
2020-04-03 21:19:59 +01:00
|
|
|
-ms-word-wrap: anywhere;
|
|
|
|
word-wrap: anywhere;
|
2020-04-05 19:32:35 +01:00
|
|
|
margin: 5px 0;
|
|
|
|
position: relative;
|
2020-04-12 22:10:51 +01:00
|
|
|
border-radius: 5px 0 0 5px;
|
|
|
|
display: inline-block;
|
|
|
|
width: 93%;
|
2020-04-05 19:32:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.list a img {
|
|
|
|
left: 1vw;
|
|
|
|
top: 1vh;
|
|
|
|
position: absolute;
|
2020-04-03 21:19:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.list a.file {
|
|
|
|
background-color: var(--orange);
|
|
|
|
}
|
|
|
|
|
|
|
|
.list a.directory {
|
|
|
|
background-color: var(--blue);
|
2020-03-22 00:18:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.grid-lg a:visited, .grid-lg a,
|
2020-04-03 21:19:59 +01:00
|
|
|
.list a:visited, .list a {
|
2020-04-05 19:32:35 +01:00
|
|
|
color: var(--white);
|
2020-03-22 00:18:19 +00:00
|
|
|
}
|
|
|
|
.grid-lg a:hover,
|
2020-04-03 21:19:59 +01:00
|
|
|
.list a.directory:hover {
|
|
|
|
color: var(--blue);
|
|
|
|
background-color: var(--platinum);
|
|
|
|
transition: background-color 0.5s, color 0.5s;
|
|
|
|
}
|
|
|
|
.list a.file:hover {
|
|
|
|
color: var(--orange);
|
|
|
|
background-color: var(--platinum);
|
|
|
|
transition: background-color 0.5s, color 0.5s;
|
2020-03-22 21:15:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2020-04-05 19:32:35 +01:00
|
|
|
body, h1 a { background-color: black; }
|
2020-04-03 21:19:59 +01:00
|
|
|
.grid-lg a {
|
2020-03-22 21:15:31 +00:00
|
|
|
color: black;
|
|
|
|
}
|
2020-04-03 21:19:59 +01:00
|
|
|
.grid-lg a:visited, .grid-lg a {
|
2020-03-22 21:15:31 +00:00
|
|
|
color: black
|
|
|
|
}
|
2020-04-03 21:19:59 +01:00
|
|
|
.grid-lg a:hover {
|
2020-03-22 21:15:31 +00:00
|
|
|
color: lightgray;
|
|
|
|
background-color: darkgray;
|
|
|
|
transition: background-color 0.5s;
|
|
|
|
}
|
2020-03-22 21:26:00 +00:00
|
|
|
}
|
|
|
|
|
2020-04-03 21:19:59 +01:00
|
|
|
@media only screen and (max-width: 1170px) {
|
|
|
|
.grid-lg {
|
2020-03-22 21:26:00 +00:00
|
|
|
display: block;
|
|
|
|
}
|
2020-04-03 21:19:59 +01:00
|
|
|
.grid-lg a {
|
2020-03-22 21:26:00 +00:00
|
|
|
margin: 10px;
|
|
|
|
}
|
2020-04-03 21:19:59 +01:00
|
|
|
.list, form {
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
.list a img {
|
|
|
|
display: none;
|
2020-03-22 21:26:00 +00:00
|
|
|
}
|
|
|
|
}
|
2020-03-30 20:51:26 +01:00
|
|
|
|
|
|
|
input[type="file"] {
|
|
|
|
width: 0.1px;
|
|
|
|
height: 0.1px;
|
|
|
|
opacity: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
2020-04-12 22:10:51 +01:00
|
|
|
input[type="file"] + label, input[type="submit"], button {
|
|
|
|
color: var(--orange);
|
2020-04-03 21:19:59 +01:00
|
|
|
padding: 10px;
|
2020-03-30 20:51:26 +01:00
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: 700;
|
|
|
|
display: inline-block;
|
2020-04-03 21:19:59 +01:00
|
|
|
border: 2px solid var(--orange);
|
2020-04-05 19:32:35 +01:00
|
|
|
border-radius: 5px;
|
|
|
|
transition: background-color 0.5s, color 0.5s;
|
2020-03-30 20:51:26 +01:00
|
|
|
}
|
|
|
|
|
2020-04-12 22:10:51 +01:00
|
|
|
input[type="text"] {
|
|
|
|
padding: 10px;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: 500;
|
|
|
|
display: inline-block;
|
|
|
|
border: 2px solid var(--orange);
|
|
|
|
border-radius: 5px;
|
|
|
|
transition: background-color 0.5s, color 0.5s;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2020-03-30 20:51:26 +01:00
|
|
|
input[type="file"]:focus + label,
|
2020-04-12 22:10:51 +01:00
|
|
|
input[type="file"] + label:hover,
|
|
|
|
input[type="submit"]:hover,
|
|
|
|
button:hover {
|
2020-04-05 19:32:35 +01:00
|
|
|
background-color: var(--orange);
|
|
|
|
color: var(--white);
|
|
|
|
transition: background-color 0.5s, color 0.5s;
|
2020-04-03 21:19:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
progress {
|
|
|
|
background: var(--platinum);
|
|
|
|
border: 1px solid var(--orange);
|
|
|
|
}
|
|
|
|
progress::-webkit-progress-bar {
|
|
|
|
background: var(--orange);
|
|
|
|
}
|
|
|
|
progress::-webkit-progress-value {
|
|
|
|
background: var(--orange);
|
|
|
|
}
|
|
|
|
progress::-moz-progress-bar {
|
|
|
|
background: var(--orange);
|
2020-04-12 22:10:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
padding: 1vh;
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
transition: background-color 0.5s;
|
|
|
|
margin: 5px 0;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 0 5px 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.directory ~ button {
|
|
|
|
border-color: var(--blue);
|
|
|
|
}
|
|
|
|
.directory ~ button:hover {
|
|
|
|
background-color: var(--blue);
|
|
|
|
}
|
|
|
|
|
2020-04-15 12:16:27 +01:00
|
|
|
.item, .forms {
|
2020-04-12 22:10:51 +01:00
|
|
|
display: flex;
|
2020-04-15 12:16:27 +01:00
|
|
|
}
|
|
|
|
.item {
|
2020-04-12 22:10:51 +01:00
|
|
|
justify-content: center;
|
2020-04-15 12:16:27 +01:00
|
|
|
}
|
|
|
|
.forms {
|
|
|
|
width: 40%;
|
|
|
|
margin: 0 auto;
|
|
|
|
justify-content: space-around;
|
2020-03-30 20:51:26 +01:00
|
|
|
}
|