diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-06-29 21:52:26 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-06-29 21:52:26 -0400 |
commit | 484409b64d0a1dadcf35fa664ecf3dcd4808a83a (patch) | |
tree | ba9bd26d0914f369d3eafa8a04b12bec69a70fcc /client/css | |
parent | when players die, they should acutally fucking die (diff) | |
download | tuxman-484409b64d0a1dadcf35fa664ecf3dcd4808a83a.tar.gz tuxman-484409b64d0a1dadcf35fa664ecf3dcd4808a83a.tar.bz2 tuxman-484409b64d0a1dadcf35fa664ecf3dcd4808a83a.zip |
custom map overrides
Diffstat (limited to '')
-rw-r--r-- | client/css/editor.css | 26 | ||||
-rw-r--r-- | client/css/main.css | 34 |
2 files changed, 31 insertions, 29 deletions
diff --git a/client/css/editor.css b/client/css/editor.css index 23486da..8961e5b 100644 --- a/client/css/editor.css +++ b/client/css/editor.css @@ -24,29 +24,3 @@ canvas { margin-top: 1rem; } -#popup { - background-color: #191919; - position: absolute; - flex-direction: column; - padding: .5rem; - border: 1px solid #fff; -} - -#popup textarea { - margin: .5rem 0; - height: 5rem; - background-color: transparent; - color: white; - border: 1px solid #fff; -} - -#popup input { - margin: 0; -} - -#close { - width: .3rem; - height: .3rem; - font-size: .6rem; - line-height: 0; -} diff --git a/client/css/main.css b/client/css/main.css index e40cbff..4ef0564 100644 --- a/client/css/main.css +++ b/client/css/main.css @@ -23,16 +23,16 @@ body { } #center-inner { - width: 100%; height: 100%; position: relative; - align-items: center; justify-content: center; display: flex; flex-direction: column; + margin-left: calc(50% - 20rem / 2); + max-width: 20rem; } -#mapeditor { +#custommaps, #mapeditor { margin-top: 2rem; } @@ -87,3 +87,31 @@ input { p { padding: .25rem; } + +#popup { + background-color: #191919; + position: absolute; + flex-direction: column; + padding: .5rem; + border: 1px solid #fff; + width: 19rem; +} + +#popup textarea { + margin: .5rem 0; + height: 5rem; + background-color: transparent; + color: white; + border: 1px solid #fff; +} + +#popup input { + margin: 0; +} + +#close { + width: .3rem; + height: .3rem; + font-size: .6rem; + line-height: 0; +} |