Merge branch 'fond-gala' into 'master'

Add background for gala 2016

See merge request !25
This commit is contained in:
Skia 2016-11-13 23:38:13 +01:00
commit 98d47727e0
6 changed files with 18 additions and 3 deletions

2
.gitignore vendored
View File

@ -7,5 +7,5 @@ db.sqlite3
env/ env/
doc/html doc/html
data/ data/
static/ /static/
sith/settings_custom.py 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------------------------------*/ /*--------------------------------GENERAL------------------------------*/
body{ body{
/* commented for gala update
background-color:#EEE; background-color:#EEE;
position: relative; position: relative;
width: 100%; width: 100%;
*/
font-family: sans-serif; 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 { a {
text-decoration: none; text-decoration: none;
color: #265C83; color: #265C83;

View File

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