Add background for gala 2016

This commit is contained in:
Antoine Bartuccio 2016-11-13 22:55:32 +01:00
parent e98ffb5cd5
commit d418da679b
6 changed files with 18 additions and 3 deletions

2
.gitignore vendored
View File

@ -7,5 +7,5 @@ db.sqlite3
env/
doc/html
data/
static/
/static/
sith/settings_custom.py

BIN
core/static/core/img/gala.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
core/static/core/img/logoGala.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

View File

@ -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;

View File

@ -15,8 +15,10 @@
<body>
{% block header %}
{% if not popup %}
<div id="logo"><a href="{{ url('core:index') }}"><img src="{{ static('core/img/logo.png') }}"
alt="{% trans %}Logo{% endtrans %}" /></a></div>
<div id="logo"><a href="{{ url('core:index') }}"><img src="{{ static('core/img/logo-white.png') }}"
alt="{% trans %}Logo{% endtrans %}" /></a>
<img src="{{ static('core/img/logoGala.png')}}" alt="Gala"/>
</div>
<header>
{% if not user.is_authenticated() %}
<a href="{{ url('core:login') }}">{% trans %}Login{% endtrans %}</a>