diff --git a/Makefile b/Makefile index 0f44be4..647d6b2 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ run: ${MAKE} -j2 backgroundrun backgroundts build: - tsc res/static/res/typescript/lib/*.ts --outFile res/static/res/script/pixellib.js \ - res/static/res/typescript/home/*.ts \ - res/static/res/typescript/lib/*.ts --outFile res/static/res/script/home.js + tsc res/static/typescript/lib/*.ts --outFile res/static/script/pixellib.js \ + res/static/typescript/home/*.ts \ + res/static/typescript/lib/*.ts --outFile res/static/script/home.js go build main.go -o pixeldrain-web deps: @@ -12,8 +12,8 @@ deps: backgroundrun: go run main.go backgroundts: - tsc --watch --project res/static/res/typescript/home - --project res/static/res/typescript/textupload + tsc --watch --project res/static/typescript/home + --project res/static/typescript/textupload docker: go build -o docker/pixeldrain-web docker/main.go diff --git a/res/static/style/layout.css b/res/static/style/layout.css index 0939a09..7f6a9aa 100644 --- a/res/static/style/layout.css +++ b/res/static/style/layout.css @@ -86,7 +86,7 @@ body{ .navigation .icon { display: none; } -@media screen and (max-width: 500px) { +@media screen and (max-width: 35em) { .navigation a:not(:first-child) {display: none;} .navigation a.icon { float: right; @@ -163,7 +163,7 @@ a:hover {color: var(--highlight_color); text-decoration: underline;} table:not(.form) {border-collapse: collapse; width: 100%;} tr:not(.form) {border-bottom: 1px var(--accent_color_medium_border) solid;} tr > td {padding: 0.5em;} -@media(max-width: 28em) { +@media(max-width: 30em) { tr > td { box-sizing: border-box; float: left; diff --git a/res/template/account/login.html b/res/template/account/login.html index 81141b9..e835670 100644 --- a/res/template/account/login.html +++ b/res/template/account/login.html @@ -14,12 +14,12 @@