Compare commits

...

2 Commits

Author SHA1 Message Date
Agate eab0a7a4dd 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
2022-10-25 16:16:50 +02:00
Agate d27b1e0c81 mincult: theme v2 (#70525) 2022-10-24 15:48:04 +02:00
5 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,83 @@
@import '../includes/fonts/titillium';
%button {
box-shadow: none;
&:hover {
box-shadow: none;
}
}
h1, h2, h3, h4, h5, h6 {
color: $title-color;
text-transform: uppercase;
}
#header {
color: $white;
height: 240px;
display: flex;
flex-direction: column;
justify-content: flex-end;
#logo {
padding-left: 0;
}
#logo a {
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;
}
}
#toplinks {
padding: 0.5em 1em;
a {
color: $white;
}
.sep, .registration {
display: none;
}
}
#nav {
ul {
margin-top: 0;
}
}
div.gru-nav .gru-nav-button {
top: -170px;
}
div.gru-nav .gru-nav-button + ul {
border-top: none;
}
div.column:last-child.account-management {
display: none;
}
main {
margin-top: 0.5em;
}
div.searchcell form input {
margin-right: 0;
}
#footer a {
text-decoration: underline;
}

View File

@ -0,0 +1,52 @@
$purple: #5F3C70;
$purple-dark: #4c3058;
$purple-light: #D2C8D8;
$orange-light: #F9C9BF;
$black: black;
$white: white;
$primary-color: $purple;
$width: 1160px;
$font-family: Marianne, sans-serif;
$font-color: $black;
$font-size: 1em;
$title-font-size: 1.1em;
$title-background: $purple-light;
$title-color: $purple;
$link-color: $purple;
$nav-full-width-background: true;
$nav-background: $purple;
$nav-submenu-background: $purple;
$nav-submenu-color: $white;
$nav-border-color: $purple;
$nav-color: $white;
$nav-item-selected-background: darken($purple, 15%);
$nav-item-selected-color: $white;
$nav-item-hover-color: $white;
$nav-button-background: $purple;
$nav-mobile-menu-background: $purple;
$nav-mobile-menu-item-color: $white;
$nav-mobile-bottom-bar-color: $purple;
$toplinks-background: $purple;
$cell-border: 0;
$cell-title-cover-border: false;
$border-radius: 0;
$button-background: $orange-light;
$button-color: $purple;
$button-hover-background: $purple;
$button-hover-color: $white;
$footer-background: $purple-light;
$footer-color: $black;
$footer-link-color: $black;

View File

@ -0,0 +1,13 @@
{
"label": "Ministère de la Culture (2023)",
"variables": {
"theme_color": "#5F3C70"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:background": { "label": "Têtière : fond" }
}
}
}
}

View File

@ -0,0 +1,6 @@
@charset "UTF-8";
@import 'vars';
@import '../includes/fonts/marianne';
@import '../includes/publik';
@import 'custom';

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 %}