diff --git a/public/static/css/mapguesser.css b/public/static/css/mapguesser.css index 1fec7b8..377a7a2 100644 --- a/public/static/css/mapguesser.css +++ b/public/static/css/mapguesser.css @@ -69,10 +69,6 @@ sub { bottom: -0.4em; } -.mono { - font-family: 'Roboto Mono', monospace; -} - .bold { font-weight: 500; } @@ -261,13 +257,18 @@ div.modal { visibility: hidden; } -p.formError { +p.error, p.formError { color: #7f2929; font-weight: 500; +} + +p.formError { display: none; } div.header { + display: grid; + grid-template-columns: auto auto; background-color: #333333; height: 50px; line-height: 50px; @@ -275,30 +276,25 @@ div.header { color: white; } -div.header>div.grid { - display: grid; - grid-template-columns: auto auto; -} - div.header.small { height: 40px; line-height: 40px; } -div.header>div.grid>:nth-child(2) { +div.header>p.header { line-height: inherit; text-align: right; } -div.header>div.grid>:nth-child(2)>span { +div.header>p.header>span { padding-left: 6px; } -div.header>div.grid>:nth-child(2)>span>a:link, div.header>div.grid>:nth-child(2)>span>a:visited { +div.header>p.header>span>a:link, div.header>p.header>span>a:visited { color: inherit; } -div.header>div.grid>:nth-child(2)>span:not(:last-child) { +div.header>p.header>span:not(:last-child) { border-right: solid white 1px; padding-right: 6px; } @@ -337,7 +333,7 @@ div.box { } @media screen and (max-width: 599px) { - div.header.small h1 span { + div.header h1 span { display: none; } button, a.button { diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index f870be9..9c7f26d 100644 --- a/public/static/js/mapguesser.js +++ b/public/static/js/mapguesser.js @@ -72,7 +72,7 @@ var MapGuesser = { closeButton.classList.add('gray'); closeButton.classList.add('marginTop'); - closeButton.textContent = 'Cancel'; + closeButton.textContent = 'Close'; closeButton.onclick = function () { MapGuesser.hideModal(); }; diff --git a/views/admin/map_editor.php b/views/admin/map_editor.php index fcb92c1..a3e2360 100644 --- a/views/admin/map_editor.php +++ b/views/admin/map_editor.php @@ -14,41 +14,39 @@ $jsFiles = [ ?>
-
-

- - - MapGuesser - -

-

- - - - - - 0 - - - 0 - - - - 0 -

-
+

+ + + MapGuesser + +

+

+ + + + + + 0 + + + 0 + + + + 0 +