misc: remove obsolete theme gers-cd32 (#71129)

This commit is contained in:
Nicolas Roche 2022-11-08 11:47:16 +01:00
parent 57971ed7be
commit 6c47399d87
6 changed files with 0 additions and 323 deletions

View File

@ -1,241 +0,0 @@
@import '../includes/fonts/montserrat';
$header-height: 400px;
$mobile-header-height: 230px;
$header-border-height: 80px;
$mobile-header-border-height: $nav-menu-side;
body.has-header-background {
.site-header {
background: none;
}
}
#header-wrapper {
background: url(/assets/header:background) center no-repeat;
@media screen and ($min-desktop-viewport) {
height: $header-height;
border-top: $header-border-height solid $primary-color;
}
@media screen and ($max-mobile-viewport) {
height: $mobile-header-height;
border-top: $mobile-header-border-height solid $primary-color;
background-size: cover;
}
}
#header #top #logo {
position: absolute;
line-height: 1em;
margin-top: 10px;
padding-left: 0;
@media screen and ($min-desktop-viewport) {
top: -$header-border-height;
}
@media screen and ($max-mobile-viewport) {
top: -$mobile-header-border-height;
}
a {
color: $secondary-color;
@media screen and ($min-desktop-viewport) {
text-indent: 150px;
}
@media screen and ($max-mobile-viewport) {
text-indent: -10000px;
}
}
}
#toplinks {
top: -$header-border-height;
background: transparent;
@media screen and ($max-mobile-viewport) {
top: -$header-border-height;
display: none;
}
a {
color: white;
}
}
#nav-wrapper {
@media screen and ($max-mobile-viewport) {
margin: 0;
position: absolute;
right: 0;
top: $header-border-height;
z-index: 1;
}
button {
position: absolute;
top: -$header-border-height;
right: 0;
}
}
div#nav {
margin-top: -15px;
ul {
margin-top: 0;
}
ul ul > li a:not(:hover) {
color: $tertiary-color;
}
}
#nav-wrapper ul {
border: none;
li:last-child {
border: none
}
}
#sidebar {
box-shadow: 3px 3px 20px 0px #dedede;
}
div.linkcell.has-asset-picture {
border: 1px solid $secondary-color;
text-transform: uppercase;
font-size: 90%;
&:hover {
background-color: $secondary-color;
}
@media screen and ($max-mobile-viewport) {
box-sizing: content-box;
}
a.image-link {
padding: 5rem 0 0.5em 1.5em;
background-position: 1rem 1rem;
background-size: auto 2.5rem;
background-repeat: no-repeat;
display: block;
&::after {
display: block;
margin-top: 0.5em;
content: '';
background: $tertiary-color;
width: 2em;
height: 2px;
}
@media screen and ($max-mobile-viewport) {
padding-top: 1rem;
padding-left: 5rem;
background-position: 1rem center;
}
text-decoration: none;
}
}
@mixin form-icon($content) {
content: $content;
font-family: FontAwesome;
}
div#footer-wrapper {
padding: 66px 0 73px;
}
div#footer {
* {
box-sizing: content-box;
}
img {
max-width: 100%;
width: 320px;
height: 163px;
}
border-color: #fff;
max-width: 1320px;
li {
list-style: none;
}
a {
color: #fff;
}
.ghost {
display: none;
}
.btn:focus, .btn:hover {
background-color: #0f183b;
border-color: transparent !important;
text-decoration: none;
}
address.site-infos__listitems {
font-size: 0.75rem;
font-weight: 400;
font-style: normal;
p:first-child {
font-size: 1.05rem;
font-weight: 700;
}
@media screen and (max-width: $my-mobile-limit) {
text-align: center;
}
}
a.contact-social__link {
display: block;
font-size: 1rem;
font-weight: 700;
border: solid 1px;
border-radius: 5px;
padding: 25px 0px 25px 25px;
}
a.contact-social__link:hover {
background-color: $secondary-color;
color: $primary-color;
}
a.contact-social__link::before {
@include form-icon("\f003");
font-weight: 400;
padding-right: 10px;
padding-top: 20px;
}
.social-networks {
display: flex;
}
.social-networks li a::after {
padding-left: 6px;
}
.social-networks {
li:nth-child(1) a::after {
@include form-icon("\f09a");
}
li:nth-child(2) a::after {
@include form-icon("\f099");
}
li:nth-child(3) a::after {
@include form-icon("\f16a");
}
li:nth-child(4) a::after {
@include form-icon("\f16d");
}
}
.social-networks__item a {
height: 30px;
width: 30px;
border: 1px solid #fff;
border-radius: 50%;
display: grid;
text-decoration: none;
}
div.menu-cross__nav {
padding-left: 20px;
ul {
margin: 0;
padding: 0;
li {
a {
font-size: 0.7rem;
text-transform: uppercase;
}
}
}
}
.menu-cross__item::before {
@include form-icon("\f105");
padding-right: 5px;
font-size: 0.8rem;
font-weight: 800;
}
}

View File

@ -1,41 +0,0 @@
$primary-color: #ae2217;
$secondary-color: #f4f4f4;
$tertiary-color: #0f183b;
$width: 1200px;
$sidebar-columns-gutter: 2.5em;
$border-radius: 3px;
$font-size: 1.25em;
$font-family: Montserrat, sans-serif;
$link-color: $primary-color;
$my-mobile-limit: 796px;
$nav-background: $secondary-color;
$nav-color: $tertiary-color;
$nav-full-width-background: true;
$nav-button-background: $primary-color;
$nav-item-selected-background: $primary-color;
$nav-item-hover-background: $primary-color;
$nav-menu-side: 60px;
$cell-border: none;
$cell-entry-hover-background: transparent;
$title-transform: uppercase;
$title-font-size: 1.2rem;
$title-weight: bold;
$title-padding: 0.7rem 0rem;
$form-style: light;
$widget-background: $secondary-color;
$button-border: 1px solid $tertiary-color;
$button-border-radius: 5px;
$button-color: $tertiary-color;
$button-background: $secondary-color;
$button-hover-color: white;
$button-hover-background: $tertiary-color;
$buttons-order: previous, submit, cancel;
$footer-background: $primary-color;

View File

@ -1,20 +0,0 @@
{
"label": "Gers (CD32)",
"variables": {
"logo_link_url": "/",
"theme_color": "#ae2217"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:background": { "label": "Têtière : fond" },
"header:logo": { "label": "Têtière : logo" }
},
"COMBO_CELL_ASSET_SLOTS.update": {
"data_linkcell": {
"picture": {"prefix": "Image"}
}
}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

View File

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

View File

@ -1,16 +0,0 @@
{% load assets %}
{% get_asset cell=cell type='picture' as asset %}
{% if asset.asset.url %}
<a class="image-link" href="{{url}}" style="background-image: url({{asset.asset.url}})">
<div>
<strong>{{ title }}</strong>
{% if cell.link_page.description %}<p>{{ cell.link_page.description }}</p>{% endif %}
</div>
</a>
{% else %}
{% block cell-content %}
{% include "combo/asset_picture_fragment.html" %}
<a href="{{url}}">{{title}}</a>
{% endblock %}
{% endif %}