style: update index page

This commit is contained in:
sigoden 2022-05-26 21:28:30 +08:00
parent a2977d7d38
commit e7a2d9632d

View file

@ -7,7 +7,7 @@ html {
.head { .head {
display: flex; display: flex;
align-items: baseline; align-items: baseline;
padding: 2.5em 2.5em 0; padding: 1em 1em 0;
} }
.head input { .head input {
@ -49,13 +49,18 @@ html {
} }
.main { .main {
padding: 0 2.5em; padding: 0 1em;
} }
.main th { .main th {
text-align: left; text-align: left;
font-weight: unset; font-weight: unset;
color: #5c5c5c; color: #5c5c5c;
white-space: nowrap;
}
.main td {
white-space: nowrap;
} }
.main .cell-name { .main .cell-name {
@ -64,18 +69,18 @@ html {
.main .cell-mtime { .main .cell-mtime {
width: 150px; width: 150px;
padding-left: 1em; padding-left: 0.6em;
} }
.main .cell-size { .main .cell-size {
text-align: right; text-align: right;
width: 100px; width: 100px;
padding-left: 1em; padding-left: 0.6em;
} }
.main .cell-actions { .main .cell-actions {
width: 100px; width: 100px;
padding-left: 1em; padding-left: 0.6em;
} }