feat: make interface slightly bigger
This commit is contained in:
parent
ccaa514080
commit
4984db587d
BIN
assets/images/diricon-24.png
Normal file
BIN
assets/images/diricon-24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 627 B |
Binary file not shown.
Before Width: | Height: | Size: 627 B After Width: | Height: | Size: 4.3 KiB |
BIN
assets/images/fileicon-24.png
Normal file
BIN
assets/images/fileicon-24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 642 B |
Binary file not shown.
Before Width: | Height: | Size: 642 B After Width: | Height: | Size: 4.3 KiB |
@ -41,6 +41,7 @@ func FileListPage(req string, entries []Entry) string {
|
|||||||
background-image: url(/assets/images/logo-64px-padded.png);
|
background-image: url(/assets/images/logo-64px-padded.png);
|
||||||
background-blend-mode: difference;
|
background-blend-mode: difference;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
#content,#footer {
|
#content,#footer {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -61,12 +62,13 @@ func FileListPage(req string, entries []Entry) string {
|
|||||||
a {
|
a {
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 16px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
.entry {
|
.entry {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.entry-name {
|
.entry-name {
|
||||||
|
margin-left: 16px;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
#leech {
|
#leech {
|
||||||
|
@ -24,7 +24,7 @@ var FileTypesMap = map[string]imaging.Format{
|
|||||||
".jpeg": imaging.JPEG,
|
".jpeg": imaging.JPEG,
|
||||||
".JPEG": imaging.JPEG,
|
".JPEG": imaging.JPEG,
|
||||||
}
|
}
|
||||||
var thumbnailSize = 24
|
var thumbnailSize = 48
|
||||||
|
|
||||||
var thumbnailCache = map[string][]byte{}
|
var thumbnailCache = map[string][]byte{}
|
||||||
var thumbnailCacheMutex = &sync.RWMutex{}
|
var thumbnailCacheMutex = &sync.RWMutex{}
|
||||||
|
Loading…
Reference in New Issue
Block a user