added showrooms pages, made page-title color
This commit is contained in:
@ -1 +1,5 @@
|
||||
$transparent-bg: rgba(255,255,255, 0.95);
|
||||
|
||||
$color-base:#69cdcf;
|
||||
$color-showrooms:#50aa3c;
|
||||
$color-blabla:#9458aa;
|
||||
|
@ -134,6 +134,10 @@ header[role="banner"]{
|
||||
margin:0;
|
||||
li{
|
||||
padding:0;
|
||||
display: inline-block;
|
||||
&:not(:first-of-type){
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
a{
|
||||
@extend %header-fs;
|
||||
}
|
||||
@ -204,6 +208,24 @@ header[role="banner"]{
|
||||
font-size: 1.512em;
|
||||
text-transform: capitalize;
|
||||
font-weight: 300;
|
||||
|
||||
|
||||
|
||||
body:not(.path-home) & {
|
||||
padding:0.5em 1em;
|
||||
}
|
||||
body.path-blabla & {
|
||||
color: #fff;
|
||||
background-color: $color-blabla;
|
||||
}
|
||||
body.path-showrooms & {
|
||||
color: #fff;
|
||||
background-color: $color-showrooms;
|
||||
}
|
||||
body.path-base & {
|
||||
color: #fff;
|
||||
background-color: $color-base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -320,7 +342,7 @@ article.node--type-frontpage{
|
||||
@extend %part-centered-layout;
|
||||
}
|
||||
&.home-database{
|
||||
background-color: #69cdcf;
|
||||
background-color: $color-base;
|
||||
@extend %part-columned-layout;
|
||||
.field--name-field-a-database{}
|
||||
.cards-list-home{
|
||||
@ -357,7 +379,7 @@ article.node--type-frontpage{
|
||||
}
|
||||
}
|
||||
&.home-showrooms{
|
||||
background-color: #50aa3c;
|
||||
background-color: $color-showrooms;
|
||||
@extend %part-columned-layout;
|
||||
.field--name-field-showrooms{
|
||||
}
|
||||
@ -408,7 +430,7 @@ article.node--type-frontpage{
|
||||
width:100%;
|
||||
box-sizing:border-box;
|
||||
padding:1em 0;
|
||||
background-color:#50aa3c;
|
||||
background-color:$color-showrooms;
|
||||
color: #fff;
|
||||
>*{
|
||||
// display: inline-block;
|
||||
@ -424,7 +446,7 @@ article.node--type-frontpage{
|
||||
}
|
||||
}
|
||||
&.home-blabla{
|
||||
background-color: #9458aa;
|
||||
background-color: $color-blabla;
|
||||
@extend %part-columned-layout;
|
||||
|
||||
.cards-list-home{
|
||||
@ -477,6 +499,34 @@ article.node--type-frontpage{
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ___ _
|
||||
// / __| |_ _____ __ ___ _ ___ ___ _ __ ___
|
||||
// \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
|
||||
// |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
|
||||
#showrooms{
|
||||
width: calc(100% + #{$column_goutiere});
|
||||
article.showroom{
|
||||
width: $column_width * 2 + $column_goutiere;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 0 $column_goutiere $column_goutiere 0;
|
||||
|
||||
h1{
|
||||
margin:0;
|
||||
font-weight: 4;
|
||||
}
|
||||
p{ margin:0; }
|
||||
figure{
|
||||
margin:0;
|
||||
img{
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// ___ _
|
||||
// / __|__ _ _ _ __| |___
|
||||
// | (__/ _` | '_/ _` (_-<
|
||||
|
Reference in New Issue
Block a user