diff options
| author | James Mills <prologic@shortcircuit.net.au> | 2020-03-22 23:40:13 +1000 |
|---|---|---|
| committer | James Mills <prologic@shortcircuit.net.au> | 2020-03-22 23:40:13 +1000 |
| commit | 1db57c8d3bf7a960871dd73b72130f22a7d81ef3 (patch) | |
| tree | cac290a59645940bdf83b5ef4674fc59a14336bc /static/theme.css | |
| parent | ce82e9b1471123e188d2c6137b587dd035b709e4 (diff) | |
Try to improve the style and position of the Upload button
Diffstat (limited to 'static/theme.css')
| -rw-r--r-- | static/theme.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/static/theme.css b/static/theme.css index a2f269a..e19bad4 100644 --- a/static/theme.css +++ b/static/theme.css @@ -40,6 +40,16 @@ nav { height: 50px; background: #171717; border-bottom: 1px solid #272727; + position: relative; + overflow: hidden; +} + +nav a.centered { + float: none; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } main { |
