diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-12-01 12:06:46 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-12-01 12:06:46 (GMT) |
commit | f596d7fa74e8477df768105fa7069080a6ff39d9 (patch) | |
tree | 929234332b48454ba3fbf93facdb5a2c20dc5c5a /www | |
parent | 78bd9d6cc177c6b98c934c2c14a5cfef0f0d06b0 (diff) |
make main status line aligned around center
Diffstat (limited to 'www')
-rw-r--r-- | www/index.html | 2 | ||||
-rw-r--r-- | www/styles/main.css | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/www/index.html b/www/index.html index 8bd60f8..c9ab4d7 100644 --- a/www/index.html +++ b/www/index.html @@ -36,7 +36,7 @@ <div class="row"> <div class="col-md-5 col-md-offset-3"> - <div class="row"> + <div class="row" id="mainstatus"> <div class="col-xs-2"><h3>Mood:<h3></div> <div id="rhctlmood" class="col-xs-2"> <img src="/img/mood-undefined.png" /> diff --git a/www/styles/main.css b/www/styles/main.css index 806df2a..db4349e 100644 --- a/www/styles/main.css +++ b/www/styles/main.css @@ -63,7 +63,21 @@ margin-bottom: 1em; } +#mainstatus { + display: flex; +} + +#mainstatus div { + align-self: center; +} + +#rhctlactiveserver { + display: flex; + align-self: center; +} + #rhctlactiveserver span { + align-self: center; font-size: 2em; } |