add theme for le-cres

This commit is contained in:
Frédéric Péters 2019-06-10 14:55:17 +02:00
parent 7420225a58
commit 6efe975488
6 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,82 @@
@import '../includes/font-raleway';
body {
background: #d2f1f6 url(img/bg_page.png) top center no-repeat;
background-size: cover;
}
div#header-wrapper {
div#header h1 {
padding-top: 40px;
padding-bottom: 40px;
@media screen and (max-width: $mobile-limit) {
padding-top: 80px;
}
a {
display: block;
height: 140px;
background: url(img/logo_lecres.png) top left no-repeat;
text-indent: -1000px;
overflow: hidden;
}
@media screen and (max-width: $mobile-limit) {
padding-left: 0;
width: 100%;
a {
background-size: contain;
max-width: 360px;
}
}
}
}
div#nav {
margin-top: 0;
text-transform: uppercase;
font-family: $title-font-family;
& > ul {
margin-top: 0;
a {
font-weight: normal;
font-size: 110%;
}
}
}
@media screen and (max-width: $mobile-limit) {
div.gru-nav-wrapper {
background: transparent;
}
}
#toplinks {
background: #79bce8;
border: none;
box-shadow: none;
border-radius: 0;
font-size: 14px;
a {
display: inline-block;
color: white;
padding: 10px 10px 15px 10px;
}
@media screen and (max-width: $mobile-limit) {
left: 0;
right: 0;
max-width: none;
}
}
div#main-content {
background: white;
padding: 20px 10px 0 10px;
@media screen and (max-width: $mobile-limit) {
padding: 20px 0 0 0;
}
}
footer {
div.textcell a {
color: white;
}
}

18
static/le-cres/_vars.scss Normal file
View File

@ -0,0 +1,18 @@
$primary-color: #00aecd;
$font-color: #3F3F3F;
$font-size: 16px;
$font-family: sans-serif;
$width: 1140px;
$nav-background: $primary-color;
$nav-color: white;
$nav-active-color: darken($primary-color, 10%);
$nav-full-width-background: true;
$border-radius: 0px;
$button-background: $primary-color;
$title-font-family: Raleway, sans-serif;
$title-background: $primary-color;
$title-color: white;
$footer-background: #00aecd;
$footer-color: white;

View File

@ -0,0 +1,6 @@
{
"label": "Le Crès",
"variables": {
"theme_color": "#00aecd"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

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