mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-19 12:43:23 +00:00
Merge branch 'fond-gala' into 'master'
Add background for gala 2016 See merge request !25
This commit is contained in:
commit
98d47727e0
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
BIN
core/static/core/img/gala.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 657 KiB |
BIN
core/static/core/img/logo-white.png
Normal file
BIN
core/static/core/img/logo-white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
BIN
core/static/core/img/logoGala.png
Executable file
BIN
core/static/core/img/logoGala.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 183 KiB |
@ -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;
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user