config regions

This commit is contained in:
2024-02-26 14:44:32 +01:00
parent 44e475bdd5
commit 687bf3602e
32 changed files with 3765 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
.mailto{
text-decoration: underline;
}

View 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;
}

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
// }

View File

@@ -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;

View File

@@ -0,0 +1,9 @@
// Font Family
$font-family-default: "Marianne", sans-serif;
$font-family-header: "Marianne", sans-serif;
$font-family-chapeau: "Marianne", sans-serif;