config regions
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
.mailto{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
108
web/themes/custom/quartiers_de_demain/scss/global/_fonts.scss
Normal file
108
web/themes/custom/quartiers_de_demain/scss/global/_fonts.scss
Normal file
@@ -0,0 +1,108 @@
|
||||
|
||||
/*marianne*/
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Thin.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Thin.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Thin_Italic.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Thin_Italic.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Light.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Light.woff') format('woff');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Light_Italic.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Light_Italic.woff') format('woff');
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Regular.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Regular.woff') format('woff');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Regular_Italic.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Regular_Italic.woff') format('woff');
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Medium.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Medium.woff') format('woff');
|
||||
font-weight: 800;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Medium_Italic.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Medium_Italic.woff') format('woff');
|
||||
font-weight: 800;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Bold.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Bold.woff') format('woff');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-Bold_Italic.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-Bold_Italic.woff') format('woff');
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-ExtraBold.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-ExtraBold.woff') format('woff');
|
||||
font-weight: 1000;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
src: url('../fonts/Marianne/Marianne-ExtraBold_Italic.woff2') format('woff2'),
|
||||
url('../fonts/Marianne/Marianne-ExtraBold_Italic.woff') format('woff');
|
||||
font-weight: 1000;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/*Font Awesome*/
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font Awesome';
|
||||
src: url('../fonts/Font Awesome/fontawesome-webfont.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
@@ -0,0 +1,77 @@
|
||||
|
||||
$header-height : 150px;
|
||||
$width-menu-slidedown : 550px;
|
||||
|
||||
.layout-container {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
background-color: $background-home;
|
||||
font-family: $font-family-default;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
top: 0%;
|
||||
left: 0%;
|
||||
// width: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
|
||||
header{
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
// main{
|
||||
// // position: relative;
|
||||
// // top: -7rem;
|
||||
// }
|
||||
footer{
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-content{
|
||||
order: 2;
|
||||
padding-top: 3rem;
|
||||
padding-bottom: 6rem;
|
||||
width: 70%;
|
||||
margin: auto;
|
||||
@media(max-width: 891px){
|
||||
width: 90%;
|
||||
}
|
||||
@media (max-width:500px) {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
aside{
|
||||
width: 20%;
|
||||
order: 1;
|
||||
margin-top: 5rem;
|
||||
margin-left: 10%;
|
||||
margin-right: 1rem;
|
||||
@media(max-width:891px){
|
||||
margin-left: 5%;
|
||||
margin-top: 9rem;
|
||||
}
|
||||
@media (max-width:500px) {
|
||||
width: 80%;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
}
|
||||
main{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
@media (max-width:500px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.main-content{
|
||||
margin-top: 7rem;
|
||||
}
|
||||
|
@@ -0,0 +1,27 @@
|
||||
ul{
|
||||
list-style-type: none;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
:link{
|
||||
color: black;
|
||||
}
|
||||
|
||||
:visited{
|
||||
color: black;
|
||||
}
|
||||
|
||||
html.js body{
|
||||
margin: 0 !important;
|
||||
}
|
||||
html.js body div.dialog-off-canvas-main-canvas div.layout-container{
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
svg.mailto{
|
||||
display: none;
|
||||
}
|
||||
svg.ext{
|
||||
display: none;
|
||||
}
|
@@ -0,0 +1,75 @@
|
||||
|
||||
// // home
|
||||
|
||||
// %buttonwithborder {
|
||||
// text-transform: uppercase;
|
||||
// padding: 1rem;
|
||||
// border: solid black 1px;
|
||||
// margin-bottom: 1rem;
|
||||
// background-color: $white-button;
|
||||
// @media (max-width:891px) {
|
||||
// font-size: 1rem;
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
// // %hoveryellow{
|
||||
// // :hover{
|
||||
// // background-color: $yellow-puca;
|
||||
// // }
|
||||
// // }
|
||||
|
||||
|
||||
// .field--type-link {
|
||||
// @extend %buttonwithborder;
|
||||
// width: fit-content;
|
||||
|
||||
// }
|
||||
// .bouton{
|
||||
// background-color: $white-button !important;
|
||||
// border: none !important;
|
||||
// cursor: pointer;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
// .field--type-file{
|
||||
// @extend %buttonwithborder;
|
||||
// }
|
||||
|
||||
// .links{
|
||||
// @extend %buttonwithborder;
|
||||
// }
|
||||
|
||||
|
||||
// .views-field-edit-node{
|
||||
// @extend %buttonwithborder;
|
||||
// width: fit-content;
|
||||
// margin-top: 1rem;
|
||||
// }
|
||||
|
||||
// .views-field-edit-user{
|
||||
// @extend %buttonwithborder;
|
||||
// width: fit-content;
|
||||
// margin-top: 1rem;
|
||||
// }
|
||||
|
||||
// .views-field-edit-user:hover{
|
||||
// background-color: $yellow-puca;
|
||||
// }
|
||||
|
||||
// #edit-unlock{
|
||||
// display: none;
|
||||
// }
|
||||
|
||||
// #edit-submit:hover{
|
||||
// background-color: $yellow-puca;
|
||||
// }
|
||||
// .views-field-edit-node:hover{
|
||||
// background-color: $yellow-puca;
|
||||
// }
|
||||
|
||||
// .form-submit:hover{
|
||||
// background-color: $yellow-puca;
|
||||
|
||||
// }
|
@@ -0,0 +1,12 @@
|
||||
|
||||
/* Colors used for quartiers_de_demain */
|
||||
|
||||
|
||||
|
||||
$background-home: rgba(153, 147, 174, 0.1);
|
||||
$white-button: rgb(255, 255, 255);
|
||||
$white-header:rgb(255, 255, 255);
|
||||
$yellow-puca: #fdc300;
|
||||
|
||||
|
||||
|
@@ -0,0 +1,9 @@
|
||||
// Font Family
|
||||
$font-family-default: "Marianne", sans-serif;
|
||||
$font-family-header: "Marianne", sans-serif;
|
||||
$font-family-chapeau: "Marianne", sans-serif;
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -0,0 +1,34 @@
|
||||
// .layout-sidebar-first{
|
||||
|
||||
// #block-reha-phase1{
|
||||
// border: solid $yellow-puca 1px;
|
||||
// font-weight: 800;
|
||||
// padding: 1rem;
|
||||
// width: 80%;
|
||||
// @media(max-width:891px){
|
||||
// width: 100%;
|
||||
// }
|
||||
// h2{
|
||||
// margin-top: 0;
|
||||
// margin-bottom: 0;
|
||||
// text-transform: lowercase;
|
||||
// font-weight: 1000;
|
||||
// line-height: 1rem;
|
||||
// font-size:1.5rem ;
|
||||
|
||||
// }
|
||||
|
||||
// p{
|
||||
// font-size: 1.5rem;
|
||||
// line-height: 1.8rem;
|
||||
// margin-top: 0.8rem;
|
||||
// }
|
||||
|
||||
// footer{
|
||||
// @extend %buttonwithborder;
|
||||
// width: fit-content;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// }
|
137
web/themes/custom/quartiers_de_demain/scss/partials/_footer.scss
Normal file
137
web/themes/custom/quartiers_de_demain/scss/partials/_footer.scss
Normal file
@@ -0,0 +1,137 @@
|
||||
footer{
|
||||
background-color: $white-header;
|
||||
padding-top: 3rem;
|
||||
font-family: "Marianne";
|
||||
font-weight: 800;
|
||||
font-size: 1.1rem;
|
||||
text-transform: lowercase;
|
||||
div{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@media(max-width: 891px){
|
||||
// // flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
@media(max-width: 520px){
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
h2{font-size: 1.1rem;}
|
||||
|
||||
|
||||
section:not(:first-of-type){
|
||||
border-left: $yellow-puca solid 2px;
|
||||
padding-left: 2rem;
|
||||
@media(max-width: 891px){
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
border-left: $yellow-puca solid 2px;
|
||||
|
||||
// border-left: none;
|
||||
// border-top: $yellow-puca solid 2px;
|
||||
}
|
||||
@media(max-width: 520px){
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
border-left: none;
|
||||
border-top: $yellow-puca solid 2px;
|
||||
}
|
||||
}
|
||||
section:not(:last-of-type){
|
||||
padding-right: 5rem;
|
||||
@media(max-width: 891px){
|
||||
padding-right: 0;
|
||||
}
|
||||
@media(max-width: 520px){
|
||||
padding-right: 0;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
section:last-of-type{
|
||||
padding-right: 5rem;
|
||||
@media(max-width: 891px){
|
||||
border-top: $yellow-puca solid 2px;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#footer-left {
|
||||
margin-left: 10%;
|
||||
@media(max-width: 891px){
|
||||
margin-left: 1rem;
|
||||
padding-left: 2rem;
|
||||
width: 40%;
|
||||
}
|
||||
@media(max-width: 520px){
|
||||
width: 100%;
|
||||
margin-left: 1rem;
|
||||
padding-left: 2rem;
|
||||
}
|
||||
div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
#block-reha-pieddepage {
|
||||
ul{
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
#block-reha-logoreha-3{
|
||||
display: none;
|
||||
}
|
||||
.social-media-links--platforms{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
svg.ext{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#footer-middle{
|
||||
@media(max-width: 891px){
|
||||
width: 40%;
|
||||
}
|
||||
@media(max-width: 520px){
|
||||
width: 100%;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
#block-reha-operateurduprogramme{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
img{
|
||||
max-width: 150px;
|
||||
height: fit-content;
|
||||
max-height: 100px;
|
||||
object-fit: contain;
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#footer-right{
|
||||
#block-reha-config-pages-2{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.field--name-field-partenaires{
|
||||
.field__items{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
img{
|
||||
max-width: 120px;
|
||||
height: fit-content;
|
||||
max-height: 115px;
|
||||
object-fit: contain;
|
||||
// padding: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
header{
|
||||
|
||||
display:grid;
|
||||
grid-template-rows:"logo logo logo logo logo nav"
|
||||
"nav nav nav nav nav nav"
|
||||
"logo logo nav rs" ;
|
||||
#block-quartiers-de-demain-logorepu-2{
|
||||
grid-row: logo;
|
||||
}
|
||||
#block-quartiers-de-demain-logoepau-2{
|
||||
grid-area: logo;
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
|
||||
/*quartiers_de_demain*/
|
||||
|
||||
// @import "configuration/_breakpoints.scss";
|
||||
// @import "functions/mixins/_breakpoints.scss";
|
||||
|
||||
/*global*/
|
||||
|
||||
@import "global/variables/colors";
|
||||
@import "global/variables/typography";
|
||||
// @import "global/variables/buttons";
|
||||
@import "global/core";
|
||||
@import "global/fonts";
|
||||
@import "global/layout";
|
||||
@import "global/reset";
|
||||
@import "global/mediaquerries";
|
||||
|
||||
|
||||
|
||||
/*partials*/
|
||||
@import "partials/header";
|
||||
@import "partials/footer";
|
||||
@import "partials/aside";
|
||||
|
||||
|
||||
/*pages*/
|
||||
|
Reference in New Issue
Block a user