la-possession: create theme (#63107)

This commit is contained in:
Corentin Sechet 2022-03-23 16:18:09 +01:00
parent 3e78180e23
commit bf5ae4bffe
4 changed files with 205 additions and 0 deletions

View File

@ -0,0 +1,125 @@
%title {
margin-bottom: 1em;
&::before {
content: "";
width: 0.7em;
height: 0.7em;
border: 0.7em solid transparent;
border-top-color: $green;
position: absolute;
top: 100%;
}
}
h1#logo.has-logo {
text-align: center;
padding-left: 0px;
a {
@media ($max-mobile-viewport) {
margin-top: 20px;
}
min-width: 215px;
height: 85px;
}
}
div.gru-nav > ul > li {
a {
text-transform: uppercase;
color: $nav-color;
font-weight: bold;
font-size: 0.8em;
}
@media ($min-desktop-viewport) {
a {
padding-top: 1.1em;
padding-bottom: 1.1em;
}
li:first-child {
margin-top: 0.5em;
}
li:last-child {
margin-bottom: 0.5em;
}
ul {
padding-right: 1em;
padding-left: 1em;
a {
font-weight: normal;
}
> li:hover a {
color: black;
font-weight: bold;
background: white;
font-size: 0.85em;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
}
}
}
@media ($max-mobile-viewport) {
div.gru-nav-wrapper {
margin-top: 1em;
background: $dark-gray;
}
div.gru-nav ul {
padding-left: 1em;
padding-right: 1em;
a {
border-bottom: 2px solid $light-gray;
}
}
}
.gru-content div.cell.has-asset-picture picture img {
width: 100%;
}
%cell-links-list {
& > li > a:hover {
border-left: 5px solid $green;
}
}
div.cell.text-cell {
padding: 0.1rem 2rem;
h1, h2, h3, h4 {
color: $primary-color;
margin-top: 1.2rem;
margin-bottom: 1rem;
}
h1 {
font-size: 2.25rem;
}
h2 {
font-size: 1.7rem;
}
h3 {
font-size: 1.3rem;
}
h4 {
font-size: 1.1rem;
}
}
#footer-wrapper {
h1,h2,h3 {
color: $title-color;
}
a:hover {
color: white;
text-decoration: none;
}
}

View File

@ -0,0 +1,63 @@
$green: #42a83d;
$light-gray: #cacaca;
$xlight-gray : #f3f3f3;
$gray: #565656;
$dark-gray: #303030;
$primary-color: $green;
$secondary-color: black;
$width: 1140px;
$font-color: $gray;
$font-family: 'Liberation Sans', sans-serif;
$link-color: $green;
$header-full-width-background: true;
$nav-background: white;
$nav-border-color: transparent;
$nav-button-background: $dark-gray;
$nav-color: $gray;
$nav-full-width-background: true;
$nav-item-hover-background: black;
$nav-item-hover-color: $green;
$nav-item-selected-background: white;
$nav-item-selected-color: $green;
$nav-mobile-menu-background: white;
$nav-mobile-menu-item-background: transparent;
$nav-mobile-menu-item-color: $gray;
$nav-mobile-menu-item-hover-background: transparent;
$nav-mobile-menu-item-hover-color: $green;
$nav-submenu-background: white;
$nav-submenu-color: black;
$toplinks-border: none;
$title-color: white;
$title-background: $green;
$title-weight: bold;
$title-font-size: 1.75em;
$border-radius: 0px;
$button-color: white;
$button-background: $dark-gray;
$button-hover-background: $gray;
$cell-entry-color: #4B4B4B;
$cell-entry-hover-color: black;
$cell-entry-hover-background: #fefefe;
$cell-background: $xlight-gray;
$cell-border: none;
$cell-image-position: top;
$cell-image-padding: 0;
$wcs-step-current-label-color: $green;
$widget-background: $xlight-gray;
$widget-focus-background: white;
$widget-border: 1px solid transparent;
$widget-focus-border: 1px solid $gray;
$footer-background: $dark-gray;
$footer-color: $light-gray;
$footer-link-color: $gray;

View File

@ -0,0 +1,13 @@
{
"label": "La Possession",
"variables": {
"theme_color": "#42a83d"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:logo": { "label": "Têtière : logo" }
}
}
}
}

View File

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