mirror of
https://github.com/ae-utbm/sith.git
synced 2025-11-10 14:03:12 +00:00
Merge pull request #1230 from ae-utbm/gala-2025
Custom style for Gala 2025
This commit is contained in:
@@ -65,7 +65,7 @@ footer.bottom-links {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: $primary-neutral-dark-color;
|
background-color: $primary-neutral-dark-color;
|
||||||
box-shadow: $shadow-color 0 0 15px;
|
box-shadow: black 0 8px 15px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $white-color;
|
color: $white-color;
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ $hovered-red-text-color: #ff4d4d;
|
|||||||
.header {
|
.header {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: $deepblue;
|
background-color: $deepblue;
|
||||||
box-shadow: 3px 3px 3px 0 #dfdfdf;
|
box-shadow: black 0 1px 3px 0,
|
||||||
|
black 0 4px 8px 3px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -99,7 +100,7 @@ $hovered-red-text-color: #ff4d4d;
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: $deepblue;
|
background-color: transparent;
|
||||||
width: 45px;
|
width: 45px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -331,7 +332,7 @@ $hovered-red-text-color: #ff4d4d;
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-shadow: 3px 3px 3px 0 #767676;
|
@include shadow;
|
||||||
|
|
||||||
>ul {
|
>ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
|||||||
BIN
core/static/core/img/gala25_background.webp
Normal file
BIN
core/static/core/img/gala25_background.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 298 KiB |
BIN
core/static/core/img/gala25_logo.webp
Normal file
BIN
core/static/core/img/gala25_logo.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -271,8 +271,9 @@ body {
|
|||||||
|
|
||||||
/*--------------------------------CONTENT------------------------------*/
|
/*--------------------------------CONTENT------------------------------*/
|
||||||
#content {
|
#content {
|
||||||
padding: 1em 1%;
|
padding: 1.5em 2%;
|
||||||
box-shadow: $shadow-color 0 5px 10px;
|
border-radius: 5px;
|
||||||
|
box-shadow: black 0 8px 15px;
|
||||||
background: $white-color;
|
background: $white-color;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,18 @@
|
|||||||
|
|
||||||
{% block additional_css %}{% endblock %}
|
{% block additional_css %}{% endblock %}
|
||||||
{% block additional_js %}{% endblock %}
|
{% block additional_js %}{% endblock %}
|
||||||
|
<style>
|
||||||
|
{# background image must be declared here, because the static names are
|
||||||
|
changed during the static collection step,
|
||||||
|
which means we must gather them with the `static` template function #}
|
||||||
|
.header {
|
||||||
|
background-image: url("{{ static("core/img/gala25_background.webp") }}");
|
||||||
|
background-position-y: 80%; {# There are more stars in this part of the picture #}
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
background-image: url("{{ static("core/img/gala25_background.webp") }}");
|
||||||
|
}
|
||||||
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<header class="header">
|
<header class="header">
|
||||||
<div class="header-logo">
|
<div class="header-logo">
|
||||||
<a class="header-logo-picture" href="{{ url('core:index') }}" style="background-image: url('{{ static('core/img/logo_no_text.png') }}')">
|
<a class="header-logo-picture" href="{{ url('core:index') }}" style="background-image: url('{{ static("core/img/gala25_logo.webp") }}')">
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
<a class="header-logo-text" href="{{ url('core:index') }}">
|
<a class="header-logo-text" href="{{ url('core:index') }}">
|
||||||
|
|||||||
Reference in New Issue
Block a user