diff --git a/template/css/style.css b/template/css/style.css index 1dd832d..fada038 100644 --- a/template/css/style.css +++ b/template/css/style.css @@ -452,16 +452,22 @@ body { .search-bar { display: none; } + .artwork-thumbnail-small { + height: auto; + } } @media screen and (min-width: 400px) and (max-width: 800px) { /* 400px <= device width <= 800px */ .artwork-mobile { - width: 45vw; + width: 47.4%; + aspect-ratio: 1/1; } } @media screen and (max-width: 400px) { .artwork-mobile { width: 100%; + object-fit: cover; + aspect-ratio: 1/1; } } diff --git a/template/css/style.scss b/template/css/style.scss index 27a49be..9efc1ca 100644 --- a/template/css/style.scss +++ b/template/css/style.scss @@ -527,17 +527,26 @@ body { .search-bar { display: none; } + + .artwork-thumbnail-small { + height: auto; + } } @media screen and (min-width: 400px) and (max-width: 800px) { /* 400px <= device width <= 800px */ .artwork-mobile { - width: 45vw; + width: 47.4%; + aspect-ratio: 1/1; } } @media screen and (max-width: 400px) { .artwork-mobile { + // width: 94vw; + // height: 94vw; width: 100%; + object-fit: cover; + aspect-ratio: 1/1; } } diff --git a/template/settings.html b/template/settings.html new file mode 100644 index 0000000..4ab2f79 --- /dev/null +++ b/template/settings.html @@ -0,0 +1,37 @@ +{{ template "header.html" .Title }} + +
+

Settings

+
+
+ Proxy server {{ .Settings.Proxy }} + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+ +
+ +
+ +
+
+
+ +{{ template "footer.html" }}