cabourg: initial theme (#89676)
gitea/publik-base-theme/pipeline/head There was a failure building this commit Details

This commit is contained in:
serghei 2024-04-19 12:51:17 +02:00 committed by Serghei Mihai
parent ed168d427f
commit 0e822919aa
4 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,51 @@
#header-wrapper {
height: $header-height;
}
#logo a {
margin-top: 1em;
height: 130px;
line-height: 130px;
color: $primary-color;
font-weight: normal;
@media ($max-mobile-viewport) {
margin-top: 0.25em;
height: 80px;
line-height: 80px;
}
}
#main-content {
background: white;
}
@media ($max-mobile-viewport) {
#nav-wrapper {
margin-top: calc(-1 * (#{$nav-menu-side}));
a {
font-family: Verdana, Arial, sans-serif;
font-weight: normal;
}
}
#logo {
padding-left: 0;
}
#header-wrapper {
height: $header-mobile-height;
}
}
#footer .cell {
margin: 0;
&.coordonnees {
background: white;
color: black;
}
&.footer-droite {
background: $secondary-color;
color: white;
a {
color: white;
}
}
}

40
static/cabourg/_vars.scss Normal file
View File

@ -0,0 +1,40 @@
$primary-color: #737B4C;
$secondary-color: rgb(168, 35, 42);
$font-family: Raleway, Arial, sans-serif;
$font-size: 16px;
$width: 1300px;
$link-color: $secondary-color;
$title-color: $primary-color;
$title-weight: bold;
$title-font-size: $font-size * 1.2;
$title-background: transparent;
$header-height: 200px;
$header-mobile-height: 140px;
$button-color: white;
$button-background: $secondary-color;
$button-hover-background: rgb(60, 58, 55);
$button-border-radius: 5px;
$nav-button-background: $secondary-color;
$nav-color: $primary-color;
$nav-item-selected-mode: bottom-border;
$nav-item-selected-border: 4px solid $secondary-color;
$nav-active-color: lighten($secondary-color, 5);
$nav-menu-side: 46px;
$nav-mobile-menu-item-color: rgb(102, 102, 102);
$nav-mobile-bottom-bar-background: $secondary-color;
$nav-mobile-bottom-bar-color: white;
$nav-mobile-menu-background: white;
$cell-entry-hover-background: #fafafa;
$cell-border: 1px solid rgb(250, 243, 243);
$cell-entry-border: $cell-border;
$footer-background: rgb(191, 191, 191);

View File

@ -0,0 +1,14 @@
{
"label": "Cabourg",
"variables": {
"theme_color": "#b1b993"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:background": { "label": "Têtière : fond" },
"header:logo": { "label": "Têtière : logo" }
}
}
}
}

View File

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