diff --git a/evennia/web/website/static/website/css/app.css b/evennia/web/website/static/website/css/app.css index f2d212a60f..271019fea9 100644 --- a/evennia/web/website/static/website/css/app.css +++ b/evennia/web/website/static/website/css/app.css @@ -20,4 +20,44 @@ .headerLinks { position: static; } -} \ No newline at end of file + +/* If you for some reason need to override the default sizing model, + for instance, if you're using a Google Maps widget, you may need + to use the following code, see: + http://v4-alpha.getbootstrap.com/getting-started/introduction/#box-sizing */ +/* +.selector-for-some-widget { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} +*/ + +/* Sticky footer styles +-------------------------------------------------- */ +html { + position: relative; + min-height: 100%; +} +body { + /* Margin bottom by footer height */ + margin-bottom: 30px; +} +.footer { + position: absolute; + bottom: 0; + width: 100%; + /* Set the fixed height of the footer here */ + height: 30px; + line-height: 30px; /* Vertically center the text there */ + background-color: #f5f5f5; +} + +.navbar-brand-logo { + height: 50px; + width: 50px; +} + +.footer { + background-color: lightgrey; +} diff --git a/evennia/web/website/templates/website/base.html b/evennia/web/website/templates/website/base.html index 4f34dabf6f..7b4e0b60b0 100644 --- a/evennia/web/website/templates/website/base.html +++ b/evennia/web/website/templates/website/base.html @@ -1,20 +1,19 @@ -{% load staticfiles %} - +{% load staticfiles %} + +
- - - - + + + + + + - {% if sidebar %} - - {% else %} - - {% endif %} - - + + + @@ -23,75 +22,68 @@