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;
|
||||
align-items: center;
|
||||
background-color: $primary-neutral-dark-color;
|
||||
box-shadow: $shadow-color 0 0 15px;
|
||||
box-shadow: black 0 8px 15px;
|
||||
|
||||
a {
|
||||
color: $white-color;
|
||||
|
||||
@@ -11,7 +11,8 @@ $hovered-red-text-color: #ff4d4d;
|
||||
.header {
|
||||
box-sizing: border-box;
|
||||
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;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -99,7 +100,7 @@ $hovered-red-text-color: #ff4d4d;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
background-color: $deepblue;
|
||||
background-color: transparent;
|
||||
width: 45px;
|
||||
height: 25px;
|
||||
padding: 0;
|
||||
@@ -331,7 +332,7 @@ $hovered-red-text-color: #ff4d4d;
|
||||
padding: 10px;
|
||||
z-index: 100;
|
||||
border-radius: 10px;
|
||||
box-shadow: 3px 3px 3px 0 #767676;
|
||||
@include shadow;
|
||||
|
||||
>ul {
|
||||
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 {
|
||||
padding: 1em 1%;
|
||||
box-shadow: $shadow-color 0 5px 10px;
|
||||
padding: 1.5em 2%;
|
||||
border-radius: 5px;
|
||||
box-shadow: black 0 8px 15px;
|
||||
background: $white-color;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,18 @@
|
||||
|
||||
{% block additional_css %}{% 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 %}
|
||||
</head>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<header class="header">
|
||||
<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 class="header-logo-text" href="{{ url('core:index') }}">
|
||||
|
||||
Reference in New Issue
Block a user