diff --git a/.gitignore b/.gitignore index 218eb763..14603170 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,5 @@ db.sqlite3 env/ doc/html data/ -static/ +/static/ sith/settings_custom.py diff --git a/core/static/core/img/gala.jpg b/core/static/core/img/gala.jpg new file mode 100755 index 00000000..0edfced3 Binary files /dev/null and b/core/static/core/img/gala.jpg differ diff --git a/core/static/core/img/logo-white.png b/core/static/core/img/logo-white.png new file mode 100644 index 00000000..bfc2b8b0 Binary files /dev/null and b/core/static/core/img/logo-white.png differ diff --git a/core/static/core/img/logoGala.png b/core/static/core/img/logoGala.png new file mode 100755 index 00000000..9b1bf9e9 Binary files /dev/null and b/core/static/core/img/logoGala.png differ diff --git a/core/static/core/style.css b/core/static/core/style.css index 4c67f11d..f2f2b69f 100644 --- a/core/static/core/style.css +++ b/core/static/core/style.css @@ -1,10 +1,23 @@ /*--------------------------------GENERAL------------------------------*/ body{ + /* commented for gala update background-color:#EEE; position: relative; width: 100%; + */ font-family: sans-serif; } +/* to auto adapt background */ +html { + background: url(/static/core/img/gala.jpg) no-repeat center center fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; +} +footer { + color: white; +} a { text-decoration: none; color: #265C83; diff --git a/core/templates/core/base.jinja b/core/templates/core/base.jinja index e47262c6..d0c05231 100644 --- a/core/templates/core/base.jinja +++ b/core/templates/core/base.jinja @@ -15,8 +15,10 @@ {% block header %} {% if not popup %} - +
{% if not user.is_authenticated() %} {% trans %}Login{% endtrans %}