imgsort2/src/style.css

239 lines
3.6 KiB
CSS
Raw Normal View History

2024-09-01 17:26:55 +02:00
* {
font-family: "Ubuntu", Verdana, sans-serif;
color: #3c3836;
}
html, body {
height: 100%;
margin: 0;
}
body {
background-color: #f9f5d7;
display: flex;
flex-direction: column;
min-height: 100%;
}
nav {
margin-top: 0.3rem;
flex-shrink: 0;
}
main {
flex-grow: 1;
}
main * {
margin-left: auto;
margin-right: auto;
text-align: center;
}
footer {
width: 100%;
2024-09-01 23:00:49 +02:00
padding: 2px 12px;
font-size: 16px;
2024-09-01 17:26:55 +02:00
background: #3c3836;
color: #f9f5d7;
2024-09-01 23:00:49 +02:00
height: 20px;
overflow-x: scroll;
overflow-y: hidden;
2024-09-01 17:26:55 +02:00
}
footer * {
color: #f9f5d7;
}
.statusline {
font-family: "UbuntuMono", monospace;
text-align: left;
}
.statusline * {
font-family: "UbuntuMono", monospace;
}
a {
color: #282828;
}
.path {
font-family: "UbuntuMono", monospace;
}
.key {
padding: 3px 6px;
background: #3c3836;
color: #fbf1c7;
border-style: solid;
border-width: 1px;
border-color: #1d2021;
border-radius: 4px;
}
code {
color: #3c3836;
font-family: "UbuntuMono", monospace;
text-align: left;
}
hr {
color: #9d0006;
}
h1, h2 {
text-align: center;
filter: drop-shadow(0.04em 0.04em 0 #9d0006);
padding: 0px 20px;
}
button, input {
color: #3c3836;
background-color: #f9f5d7;
font-size: 1rem;
padding: 0.5rem;
border-radius: 0;
filter: drop-shadow(0.1rem 0.1rem 0 #9d0006);
font-family: "UbuntuMono", monospace;
margin: 0.2rem;
}
button .move-buttons, input .move-buttons {
margin: 0;
}
button:hover {
color: #282828;
background-color: #ebdbb2;
}
.add-mapping-form {
margin: auto;
width: 400px;
}
.add-mapping-form .form-row {
text-align: left;
}
.add-mapping-form .form-row * {
text-align: left;
}
.add-mapping-form .form-row label {
display: inline-block;
width: 100px;
text-align: right;
}
.add-mapping-form .form-row input {
margin-left: 0;
text-align: left;
}
.add-mapping-form .form-row button {
margin-left: 0;
}
#start-button {
filter: drop-shadow(0.1rem 0.1rem 0 #79740e);
}
#configure-button {
filter: drop-shadow(0.1rem 0.1rem 0 #076678);
}
#undo-button {
filter: drop-shadow(0.1rem 0.1rem 0 #7c6f64);
}
#skip-button {
filter: drop-shadow(0.1rem 0.1rem 0 #7c6f64);
}
#key {
width: 20px;
}
.file-list {
width: 90%;
margin: auto;
margin-top: 1rem;
}
.file-list-content {
overflow: hidden;
border-color: #458588;
border-style: solid;
border-width: 2px;
min-height: 0.2rem;
}
.file-list-content p {
margin: 0;
padding: 0.1rem;
text-align: left;
}
.file-list-item:nth-child(even) {
background: #ebdbb2;
}
.file-list-item:nth-child(odd) {
background: #d5c4a1;
}
.selected-file-list-item {
background: #458588 !important;
color: #ebdbb2;
}
.main-box {
2024-09-01 23:00:49 +02:00
background: #d5c4a1;
2024-09-01 17:26:55 +02:00
}
.current-file {
width: 100%;
height: 300px;
position: relative;
2024-09-01 19:36:40 +02:00
overflow: scroll;
2024-09-01 23:00:49 +02:00
background: #ebdbb2;
2024-09-01 17:26:55 +02:00
}
.current-file .imgsort2 {
font-size: 3rem;
line-height: 200px;
filter: drop-shadow(0.1rem 0.1rem 0 #9d0006);
}
.current-file img, .current-file video, .current-file audio {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
@media only screen and (min-width: 1000px) {
main {
display: flex;
flex-direction: row;
}
.main-box {
width: 75%;
2024-09-01 23:00:49 +02:00
max-height: calc(100vh - 20px);
2024-09-01 17:26:55 +02:00
}
.imgsort2 {
font-size: 5rem;
line-height: 300px;
filter: drop-shadow(0.2rem 0.2rem 0 #9d0006);
}
.second-box {
display: flex;
flex-direction: column;
width: 25%;
2024-09-01 23:00:49 +02:00
max-height: calc(100vh - 20px);
overflow: scroll;
2024-09-01 17:26:55 +02:00
}
.current-file {
height: 100%;
width: 100%;
}
}
/*# sourceMappingURL=style.css.map */