fixup! mincult: theme v2 (#70525)
gitea-wip/publik-base-theme/pipeline/head Build started... Details
gitea/publik-base-theme/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Agate 2022-10-25 16:16:50 +02:00
parent d27b1e0c81
commit eab0a7a4dd
4 changed files with 30 additions and 4 deletions

View File

@ -15,14 +15,34 @@ h1, h2, h3, h4, h5, h6 {
#header {
color: $white;
height: 240px;
display: flex;
flex-direction: column;
justify-content: flex-end;
#logo {
padding-left: 0;
}
#logo a {
line-height: 170px;
line-height: 1;
background-size: auto 150px;
width: 100%;
margin-bottom: 0.5em;
text-indent: 0;
text-transform: none;
color: $purple-dark;
&:hover {
text-decoration: none;
}
}
.site-title {
display: block;
text-indent: 0;
font-size: 2.5em;
}
.site-subtitle {
display: block;
font-size: 0.7em;
margin: 1em 0;
}
}
@ -42,7 +62,7 @@ h1, h2, h3, h4, h5, h6 {
}
}
div.gru-nav .gru-nav-button {
top: -115px;
top: -170px;
}
div.gru-nav .gru-nav-button + ul {
border-top: none;

View File

@ -1,4 +1,5 @@
$purple: #5F3C70;
$purple-dark: #4c3058;
$purple-light: #D2C8D8;
$orange-light: #F9C9BF;
$black: black;

View File

@ -6,8 +6,7 @@
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:background": { "label": "Têtière : fond" },
"header:logo": { "label": "Têtière : logo" }
"header:background": { "label": "Têtière : fond" }
}
}
}

View File

@ -0,0 +1,6 @@
{% extends "combo/page_template.html" %}
{% block header-title-content %}
{{ block.super }}
<span class="site-subtitle">{{ site_subtitle }}</span>
{% endblock %}