Upload files to "/"

This commit is contained in:
techies 2023-10-12 19:26:24 +07:00
parent c32542aeb6
commit 2a4e5386b1
5 changed files with 119 additions and 0 deletions

4
grid-automode.css Normal file
View File

@ -0,0 +1,4 @@
@import 'grid.css';
@media (prefers-color-scheme: dark) {
@import 'grid-darkmode.css';
}

2
grid-darkmode.css Normal file
View File

@ -0,0 +1,2 @@
@import 'grid.css';
@import 'darkmode.css';

50
grid.css Normal file
View File

@ -0,0 +1,50 @@
@import 'common.css';
table {
margin-top: 2rem;
white-space: initial;
}
table tbody {
display: flex;
flex-wrap: wrap;
}
table tr {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 6.5rem;
padding: 0.5rem;
}
table tr.indexhead,
table tr .indexcollastmod,
table tr .indexcolsize {
display: none;
}
table tr .indexcolicon img {
max-width: 100%;
}
table td {
padding: 0;
}
table tr .indexcolname a {
word-wrap: break-word;
overflow-wrap: break-word;
width: 5.5rem;
}
table tr .indexcolname a,
table tr .indexcolname a:hover {
border: none;
}
table tr .indexcolname {
font-size: 0.875rem;
padding-top: 0.125rem;
}

4
table-automode.css Normal file
View File

@ -0,0 +1,4 @@
@import 'table.css';
@media (prefers-color-scheme: dark) {
@import 'table-darkmode.css';
}

59
table.css Normal file
View File

@ -0,0 +1,59 @@
@import 'common.css';
table tr {
padding: 0 0.25rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}
table tr.indexhead {
border-bottom-color: rgba(0, 0, 0, 0.1);
}
table tr .indexcolname {
width: 100%;
}
table tr.indexhead,
table tr.indexhead:hover {
background-color: transparent;
}
table tr.indexhead a {
font-weight: normal;
font-size: 0.875rem;
}
table tr .indexcolname a,
table tr .indexcollastmod a,
table tr .indexcolsize a {
border-bottom: 1px solid transparent;
}
table tr .indexcolname a:hover,
table tr .indexcollastmod a:hover,
table tr .indexcolsize a:hover {
border-bottom: 1px solid currentColor;
}
table tr.even-parentdir a {
font-weight: 500;
}
table tr .indexcollastmod,
table tr .indexcolsize {
padding: 0.5rem 1.5rem;
font-size: 0.875rem;
}
table th,
table td {
padding: 0.375rem;
}
table tr .indexcolsize {
text-align: right;
}
table tr .indexcolicon img {
width: 2rem;
}