235 lines
5 KiB
SCSS
Vendored
235 lines
5 KiB
SCSS
Vendored
|
|
:root {
|
|
// --container: 100%;
|
|
--container: calc(100% - 40px);
|
|
// --container-max: 1000px;
|
|
--header-height: 130px;
|
|
--footer-height: 110px;
|
|
}
|
|
html, body {font-size: var(--base-font-size);}
|
|
body {
|
|
position: relative;
|
|
background-color: $secondary;
|
|
|
|
// overflow-y: hidden;
|
|
&.mobile-nav-active{overflow-y: hidden;}
|
|
// overflow-x: hidden;
|
|
}
|
|
p, a, li, span, strong{
|
|
font-family: 'Open Sans', sans-serif;
|
|
font-size: 1rem;
|
|
line-height: 1.2rem;
|
|
color: black;
|
|
}
|
|
strong{font-weight: bold;}
|
|
p{ margin: 5px 0;}
|
|
a{
|
|
text-decoration: none;
|
|
transition: color .5s;
|
|
|
|
&:hover{color: $tertiary;}
|
|
}
|
|
.flex {display: flex;}
|
|
.grid {display: grid;}
|
|
|
|
.container {
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.post-title{
|
|
font-family: "Exo_2_Bold", Arial, Helvetica, sans-serif;
|
|
font-size: 1.3rem;
|
|
font-weight: normal;
|
|
color: black;
|
|
margin-bottom: 10px;
|
|
}
|
|
.post-subtitle, .post-chapter, .paragraph-title {
|
|
font-family: "Exo_2_Bold", Arial, Helvetica, sans-serif;
|
|
font-size: 1.3rem;
|
|
font-weight: normal;
|
|
color: black;
|
|
margin-bottom: 10px;
|
|
}
|
|
section {padding: 30px 10px;}
|
|
// section ~ section {padding: 30px 10px;}
|
|
// .container section:last-child{padding-bottom: 40px;}
|
|
.header-bloc{height: var(--header-height);}
|
|
header.bandeau{
|
|
// rgba(255, 255, 255, .5)
|
|
background: linear-gradient(
|
|
rgba(255, 255, 255, 0.3),
|
|
rgba(255, 255, 255, 0.5)
|
|
), url("../images/header-all.png"), url("../images/bg-repeat.jpg");
|
|
background-size: cover;
|
|
background-position-x: right, right;
|
|
background-repeat: no-repeat;
|
|
}
|
|
// .reveal {
|
|
// opacity: 0;
|
|
// }
|
|
// .reveal-visible{
|
|
// opacity: 1;
|
|
// }
|
|
|
|
// // DEBUT INFO BULLE
|
|
// .picto-item {position: relative;}
|
|
// /* on génère un élément :after lors du survol et du focus :*/
|
|
// .picto-item:hover:after,
|
|
// .picto-item:focus:after {
|
|
// content: attr(aria-label); /* on affiche aria-label */
|
|
// position: absolute;
|
|
// left: 50%; bottom: -2.4rem;
|
|
// transform: translateX(-50%); /* on centre horizontalement */
|
|
// z-index: 1; /* pour s'afficher au dessus des éléments en position relative */
|
|
// white-space: nowrap; /* on interdit le retour à la ligne*/
|
|
// padding: 5px 14px;
|
|
// background: black;
|
|
// color: white;
|
|
// border-radius: 4px;
|
|
// font-size: 1rem;
|
|
// }
|
|
// .picto-item.login:hover:after,
|
|
// .picto-item.login:focus:after {
|
|
// content: "Mon compte";
|
|
// }
|
|
// /* on génère un second élément en :before pour la flèche */
|
|
// [aria-label]:hover:before,
|
|
// [aria-label]:focus:before {
|
|
// content: "▼";
|
|
// position: absolute;
|
|
// left: 50%; bottom: -1rem;
|
|
// transform: translateX(-50%) rotate(180deg); /* on centre horizontalement */
|
|
// font-size: 1rem;
|
|
// color: black;
|
|
// }
|
|
// /* pas de contour durant le :focus */
|
|
// [aria-label]:focus {outline: none;}
|
|
// // FIN INFO BULLE
|
|
|
|
// .bg-popup-detail{
|
|
// position: absolute;
|
|
// left: 0; right: 0;
|
|
// top: 0; bottom: 0;
|
|
// background-color: rgba(#737373, .25);
|
|
// justify-content: center;
|
|
// display: none;
|
|
|
|
// &.active{display: flex;}
|
|
// }
|
|
.bg-opacity{
|
|
position: absolute;
|
|
left: 0; right: 0;
|
|
top: 0; bottom: 0;
|
|
background-color: rgba(#737373, .25);
|
|
display: none;
|
|
z-index: 5;
|
|
|
|
&.active{display: block;}
|
|
}
|
|
// *************************
|
|
// ** **
|
|
// *************************
|
|
// ** **
|
|
// ** **
|
|
// ** **
|
|
// ** **
|
|
// ** **
|
|
// ** **
|
|
// ** **
|
|
// *******
|
|
|
|
@media only screen and (min-width:768px) {
|
|
:root{
|
|
--container: 600px;
|
|
// --header-height: 64px;
|
|
}
|
|
|
|
.container {
|
|
padding-left: calc(50% - var(--container) / 2);
|
|
padding-right: calc(50% - var(--container) / 2);
|
|
}
|
|
|
|
}
|
|
|
|
// ****
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// ****
|
|
@media only screen and (min-width: 1024px) {
|
|
:root{
|
|
--container: 1000px;
|
|
--header-height: 106px;
|
|
}
|
|
section {padding: 30px 40px;}
|
|
// section ~ section {padding: 30px 40px;}
|
|
header.bandeau{background-size: cover, contain, cover;}
|
|
|
|
// body{font-size: 1rem;}
|
|
}
|
|
|
|
// ********
|
|
// * ***** *
|
|
// * * * *
|
|
// *** * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * *
|
|
// * **************
|
|
// * *
|
|
// *****************
|
|
@media only screen and (min-width: 1440px) {
|
|
:root{
|
|
--container: 1400px;
|
|
}
|
|
}
|
|
|
|
// ************
|
|
// * ****
|
|
// ********* *
|
|
// ***** *
|
|
// ** *
|
|
// ** *
|
|
// ********** *
|
|
// * *
|
|
// ********* *
|
|
// ***** *
|
|
// ** *
|
|
// ** *
|
|
// ********** *
|
|
// * ***
|
|
// ************
|
|
@media only screen and (min-width: 1920px) {
|
|
:root{
|
|
--container: 1900px;
|
|
}
|
|
}
|
|
|
|
// @media (prefers-reduced-motion: reduce) {
|
|
// [class*="reveal-"] {
|
|
// opacity: 1!important;
|
|
// transform: translateY(0px);
|
|
// }
|
|
// .reveal-visible{
|
|
// transition-duration: 0s!important;
|
|
// transition-delay: 0s!important;
|
|
// }
|
|
// }
|