responsive

This commit is contained in:
2019-05-31 23:37:11 +02:00
parent efc5ac8bdc
commit 1f449767a6
48 changed files with 4228 additions and 73 deletions

View File

@@ -0,0 +1,23 @@
.default-animation {
transition: all 0.5s ease;
}
// Pulse Animation
.pulse {
animation-name: pulse_animation;
animation-duration: 2000ms;
transform-origin:70% 70%;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes pulse_animation {
0% { transform: scale(1); }
30% { transform: scale(1); }
40% { transform: scale(1.08); }
50% { transform: scale(1); }
60% { transform: scale(1); }
70% { transform: scale(1.05); }
80% { transform: scale(1); }
100% { transform: scale(1); }
}

View File

@@ -0,0 +1,935 @@
.gal{
margin-left: 15%;
.content_gal{
width: 2.2%!important;
&[aria-hidden="false"]{
.title_gal{
opacity: 1;
right: 70px;
-webkit-transition: all 1s ease;
transition: right 1s ease, opacity 1s ease;
}
}
}
.title_gal{
position: absolute;
right: 50px;
max-width: 50%;
background: $light-blue;
padding: 25px;
top: 20vw;
color: $white;
opacity: 0;
}
}
.cat{
height: 50px;
z-index: 999;
margin: 20px 0;
.btn-group{
@include inlineflex();
&:nth-of-type(1){
label{
margin-right: 20px;
}
}
&:nth-of-type(2){
float: right;
}
}
label{
padding: 10px;
cursor: pointer;
&.tous{
border-top: 2px solid $green;
border-bottom: 2px solid $green;
}
&.professionnels{
border-top: 2px solid $red;
border-bottom: 2px solid $red;
}
&.grand_public{
border-top: 2px solid $light-blue;
border-bottom: 2px solid $light-blue;
}
&.formations{
border-top: 2px solid $grey;
border-bottom: 2px solid $grey;
}
&.archive{
border-top: 2px solid $dark-blue;
border-bottom: 2px solid $dark-blue;
}
}
input{
visibility: hidden;
position: absolute;
}
}
.bandeau{
width: 100%;
max-height: 554px;
overflow: hidden;
}
.container{
& > .title{
background: $red;
border-radius: 30px;
width: auto;
float:left;
padding: 10px 20px;
color: white;
}
}
.start{
min-height: calc(100vh - 325px);
&:not(#home){
.entete{
border-bottom: 10px solid $light-blue;
}
}
}
.start:not(#form){
&#calendrier, &#archive{
width: 70%;
margin: 40px auto 40px auto;
.header-wrapper{
.title{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
h1{
width: auto;
margin-bottom: 20px;
background: $red;
border-radius: 30px;
padding: 10px 20px;
color: white;
font-size: 1.2rem;
}
}
}
}
&#event{
margin: 40px auto 40px auto;
.title{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
h1{
width: auto;
margin-bottom: 20px;
background: $red;
border-radius: 30px;
padding: 10px 20px;
color: white;
font-size: 1.2rem;
}
}
}
.body-wrapper{
@include inlineflex();
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100%;
position: relative;
.card{
width: calc( (100% / 4) - 7.5px);
min-width: 200px;
margin: 0 0 10px 0 ;
.card-header{
position: absolute;
width: 100%;
right: 0;
text-align: right;
&.professionnels{
background-color: $red;
}
&.grand_public{
background-color: $light-blue;
}
&.formations{
background-color: $grey;
}
.publics{
padding: 2.5px 10px;
color: white;
}
}
.card-body{
padding: 15px;
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
}
.event{
width: 45%;
.card-content{
@include inlineflex;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
.reso{
width: 20%;
a{
display: block;
margin-bottom: 10px;
img{
margin-left: 10px;
width: 20px;
}
}
}
.txt{
width: 80%;
}
}
}
}
}
.start#form{
.entete{
border-top: 1px solid $light-blue
}
h2{
margin-top: 0;
}
.body-wrapper{
width: 100%;
min-width: 250px;
margin: auto auto 140px auto;
form{
width: calc( (100% / 2));
margin-top: 20px;
margin: auto;
& > div{
width: 100%;
margin: 20px 0;
border-bottom: 1px solid $red;
.form-data{
@include inlineflex();
margin: 20px 0px;
&> div{
margin: 10px 10px;
min-width: 100px;
border: 2px solid $red;
border-radius: 30px;
padding: 10px 20px;
&.check{
background: $red;
color: white;
}
input{
border: none;
}
input[type='radio'] {
visibility: hidden;
position: absolute;
}
}
}
&:nth-of-type(n+5):not(:nth-of-type(n+11)){
width: 50%;
float: left;
border-bottom: 0px;
.form-data{
width: 100%;
& > div{
width: 100%;
}
}
}
&:nth-of-type(9), &:nth-of-type(10){
border-bottom: 1px solid $red !important;
}
&.button-wrapper{
background: $red;
height: 100px;
position: absolute;
left: 0;
width: 100%;
button{
margin-right: 25%;
position: absolute;
right: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
background: white;
border-radius: 30px;
padding: 10px 35px;
-webkit-box-shadow:none;
box-shadow:none;
border:0;
}
}
}
}
#send-valide{
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
background: $red;
border-radius: 20px;
position: fixed;
width: 30%;
height: 30%;
left: 50%;
top: 50%;
padding: 50px;
.toast{
position: relative;
text-align: center;
color: white;
}
.ok{
color: white;
position: absolute;
right: 20px;
bottom: 20px;
}
}
}
}
.header-wrapper{
.title{
h2{
width: auto;
margin-bottom: 20px;
background: $red;
border-radius: 30px;
width: auto;
padding: 10px 20px;
color: white;
font-size: 1.2rem;
width:115px;
}
}
}
.content{
width: 50%;
margin: 4rem auto;
p{
margin: 10px 0;
}
}
.content_s{
margin: auto!important;
}
.entete{
@include inlineflex;
padding: 20px;
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: auto;
border-top: 10px solid $green;
.entete_c{
@include inlineflex;
text-align: center;
width: 66%;
margin: 50px auto;
position: relative;
h1{
width: auto;
margin-bottom: 20px;
background: $red;
border-radius: 30px;
width: auto;
padding: 10px 20px;
}
}
}
.body-wrapper{
.content{
h4{
&:not(:first-of-type){
border-top: 1px solid black;
padding-top: 30px;
margin: 30px 0 0 0;
}
}
}
.sub-content{
border-top: 1px solid black;
margin-bottom: 20px;
margin-top: 20px;
& > img{
width: 33%;
float: left;
margin: 20px 10px 0px 0px;
}
}
}
#event{
margin-bottom: 20px;
.content{
margin-top: 50px;
h2{
float: left;
margin-right: 20px;
}
.reso{
@include inlineflex;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
width: 50px;
height: 25px;
}
}
.sidebar{
margin-top: 50px;
}
}
.sidebar{
position: absolute;
right: 0;
width: 300px;
margin: -55px auto 0 20px;
h2{
background: $red;
border-radius: 100px;
width: 100px;
height: 100px;
}
.side-agenda{
padding: 10px 20px 10px 0;
&:not(:nth-of-type(1)){
border-top: 1px solid $light-blue;
&::before{
content: " ";
display: block;
position: absolute;
width: 5px;
height: 5px;
margin-top: -13px;
border-radius: 10px;
background: $light-blue;
}
}
&:nth-of-type(3){
margin-bottom: 10px;
}
}
.side-all-agenda{
background: white;
width: auto;
padding: 10px 20px;
margin-bottom: 10px;
float: left;
border: 2px solid $red;
border-radius: 30px;
-webkit-transition: background-color 0.3s ease;
transition: background-color 0.3s ease;
a{
color: black;
}
&:hover{
background-color: $red;
-webkit-transition: background-color 0.3s ease;
transition: background-color 0.3s ease;
a{
color: white;
}
}
}
}
#newsletter{
padding: 20px;
background: $light-blue;
#mc_embed_signup{
width: 600px;
margin: auto;
padding: 0 0 0 10px;
border-radius: 100px;
border: 1px solid $white;
form{
@include inlineflex();
width: 100%;
#mc_embed_signup_scroll{
@include inlineflex();
width: 100%;
margin: auto;
label{
text-align: center;
color: $white;
margin-right: 10px;
width: 260px;
}
&>input{
width: 315px;
padding-left: 20px;
}
input{
border-radius: 30px;
height: 31px;
-webkit-box-shadow: none;
box-shadow: none;
border: none;
}
.clear{
input{
background: $white;
margin-left: -30px;
}
}
}
}
}
}
#home{
.content{
@include inlineflex();
& > p{
position: relative;
width: calc(100% / 3);
padding: 50px 20px;
margin-top: 10px;
img{
position: absolute;
width: auto;
height: 50px;
top: -20px;
left: 50%;
-webkit-transform: translate(-50%);
transform: translate(-50%);
}
&:nth-of-type(n+4){
width: calc(100% / 4);
}
&:last-child{
width: auto!important;
margin-top: 0!important;
margin: auto;
a{
display: block;
padding: 10px 20px;
text-align: center;
border: 2px solid $green;
border-radius: 30px;
margin: auto;
-webkit-transition: background-color 0.3s ease;
transition: background-color 0.3s ease;
}
}
}
}
}
#item{
.content{
@include inlineflex;
.images_s{
// width: calc(100% / 2 - 15px);
width: 40%;
// min-width: 300px;
margin-right: 15px;
img{
margin-bottom: 15px;
}
}
.content_s{
width: calc(60% - 30px);
}
.icones{
margin: 70px 0;
@include inlineflex;
-ms-flex-pack: distribute;
justify-content: space-around;
width: 100%;
.icon{
height: 50px;
width: auto;
max-width: 200px;
img{
height: 50px;
width: 100%;
}
p{
text-align: center;
}
}
}
}
}
#devis{
@include inlineflex();
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
// height: 300px;
.title{
width: 200px;
height: 200px;
background: $red;
border-radius: 200px;
-webkit-transform: translateX(80px);
transform: translateX(80px);
h4{
text-align: center;
color: white;
margin: 50% 10px 0 10px;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
}
.txt{
@include inlineflex();
background: white;
width: 25%;
margin-right: 20px;
height: 250px;
p{
padding: 20px 20px 20px 100px;
color: black;
text-align: left;
strong{
font-size: 1.3rem;
}
}
}
.demander-votre-devis{
margin-top: 0;
-webkit-transform: translateX(-200px);
transform: translateX(-200px);
}
.img{
width: 400px;
height: 300px;
overflow: hidden;
img{
width: auto;
height: 400px;
}
}
}
#devis{
&.item, &.sublog{
background: $red;
height: auto;
padding: 20px 0;
a{
color: white;
.title{
vertical-align: baseline;
border-radius: 30px;
border: 1px solid white;
padding: 5px 20px;
height: 35px;
width: auto;
-webkit-transform: translateX(0);
transform: translateX(0);
}
&:hover{
color: black;
.title{
background: white;
-webkit-transition: background 0.3s ease;
transition: background 0.3s ease;
}
}
}
}
}
// .bx-viewport{
// height: 30vw!important;
// }
#reco{
background: $dark-blue;
.title{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
cursor: pointer;
width: 100%;
padding: 10px;
h2{
width: auto;
margin: auto;
color: white;
padding: 10px;
text-align: center;
border-top: 1px solid white;
border-bottom: 1px solid white;
font-size: 1rem;
&::after{
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
margin-left: 10px;
content: " ";
background: url('../images/fleche-top.svg');
background-size: 15px 18px;
background-repeat: no-repeat;
width: 15px;
height: 18px;
}
}
&.open{
h5:after{
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
}
}
.txt{
z-index: -1;
position: absolute;
width: 100%;
padding-top: 20px;
@include inlineflex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
p{
color: white;
width: 300px;
a{
color: white;
text-decoration: underline;
}
}
&.open{
z-index: 999;
background: $dark-blue;
.item{
display: block;
}
}
h3{
color: $green;
}
}
.item{
display: none;
margin: 0 0px 20px 20px;
border-left: 1px solid white;
padding-left: 20px;
img{
width: 50px;
margin-bottom: 10px;
}
}
}
.content_s{
&.map{
width: 100%!important;
height: auto;
p{
&:last-child{
height: 500px;
}
}
a#carte{
display: block;
width: 100%;
height: 100%;
}
}
}
#event{
.title{
width: 45%;
margin: auto;
}
.head-event{
.tags{
width: 100%;
&.professionnels{
background-color: $red;
}
&.grand_public{
background-color: $light-blue;
}
&.formations{
background-color: $grey;
}
&.publics{
padding: 2.5px 10px;
color: white;
}
}
}
.card-header{
@include inlineflex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
width: 100%;
&.professionnels{
background-color: $red;
}
&.grand_public{
background-color: $light-blue;
}
&.formations{
background-color: $grey;
}
.publics{
text-align: right;
&.publics{
padding: 2.5px 10px;
color: white;
}
}
}
.card-body{
padding: 15px;
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.card-content{
margin-top: 20px;
}
}
.demander-votre-devis{
padding: 10px;
z-index: 999;
background: $red;
position: absolute;
width: 200px;
height: 200px;
right: 100px;
margin-top: -100px;
color: white;
text-align: center;
strong{
font-weight: bold!important;
}
a{
color: white;
}
img{
margin-top: 10px;
width: 50px;
}
}
#sublog{
.body-wrapper{
background-image: url('../images/Trame-gris.svg');
background-repeat: no-repeat;
}
.content{
@include inlineflex;
width: 90%;
& > p{
font-size: 1.2rem;
font-family: $Bold;
}
}
svg{
pointer-events: none;
}
.mapsalles{
width: 50%;
.contour{
position: relative;
z-index: 1;
pointer-events: none;
}
.fond{
position: absolute;
z-index:0;
top: 110px;
path{
fill: none;
pointer-events: all;
transition: fill 0.3s ease;
&:hover{
fill: $light-blue!important;
transition: fill 0.3s ease;
}
}
}
}
.content_salle{
position: absolute;
left: 50%;
top: 300px;
width: 35%;
background: white;
& > p{
padding-left: 10px;
}
h3{
background: $light-blue;
padding: 5px 10px;
color: white;
margin-top: 0;
}
h4{
background: $green;
font-size: 1.2rem;
font-family: $Bold;
padding: 5px 10px;
}
}
}
#default{
.header-wrapper{
width: 45%;
margin-top: 50px;
margin: auto;
}
.body-wrapper{
margin-bottom: 50px;
}
.title{
width: 80%;
margin: auto;
}
.txt{
margin:auto;
}
p{
margin-bottom: 10px;
}
}

View File

@@ -0,0 +1,29 @@
#footer{
width: 100%;
background: $light-grey;
.block{
@include inlineflex;
width: 100%;
margin: 20px 0;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
p{
padding: 0 20px;
img{
width: 100%;
max-width: 150px;
height: auto;
}
&:nth-of-type(1){
img{
float: right;
}
}
&:not(:nth-of-type(1)){
border-left: 1px solid black;
}
}
}
}

View File

@@ -0,0 +1,98 @@
header{
z-index: 999;
position: relative;
@include inlineflex();
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100%;
border-bottom: 1px solid $light-blue;
nav{
@include inlineflex();
-ms-flex-pack: distribute;
justify-content: space-around;
height: 100px;
width: 70%;
flex-wrap: nowrap;
.logo{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
a{
display: block;
margin: auto;
}
}
&.dropmenu{
a{
padding: 10px;
}
& > ul{
@include inlineflex();
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
& > li{
text-align: center;
max-width: 250px;
&>a{
line-height: 6rem;
border-top: 1px solid $light-blue;
border-bottom: 3px solid $green;
}
padding: 0 20px;
& > ul{
display: none;
margin-top: -1.5rem;
li{
background-color: white;
text-align: center;
a{
display: block;
padding: 10px;
position: relative;
&:before{
content: "";
position: absolute;
width: 100%;
height: 3px;
bottom: 0;
left: 0;
background-color: $green;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
}
}
}
&:hover{
& > ul{
display: block;
li:hover{
a:hover:before {
visibility: visible;
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
}
}
}
}
}
}
.reso{
@include inlineflex;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
a{
display: block;
width: 35px;
margin: auto 5px;
}
}
}
}

View File

@@ -0,0 +1,12 @@
#home{
.content{
p:last-child{
a:hover{
color: white;
background-color: $green;
-webkit-transition: background-color 0.3s ease;
transition: background-color 0.3s ease;
}
}
}
}

View File

@@ -0,0 +1,336 @@
@media screen and (max-width: 960px) {
header nav{
position: relative;
width: 90%;
.dropmenu{
background: white;
display: none;
position: absolute;
left: -6%;
top: 100px;
width: auto!important;
height: auto;
&>ul{
flex-direction: column!important;
&>li{
text-align: left;
&>ul{
margin: auto;
&>li{
text-align: left;
margin-left: 10px;
a{
font-family: $Regular;
}
}
}
&> a{
border: none;
line-height: 2rem;
}
}
}
&.active{
display: block;
}
}
.logo{
margin: auto;
}
.navTrigger {
cursor: pointer;
width: 30px;
height: 25px;
margin: auto 0;
left: 0;
top: 0;
bottom: 0;
}
.navTrigger i {
background-color: $light-blue;
border-radius: 2px;
content: '';
display: block;
width: 100%;
height: 4px;
}
.navTrigger i:nth-child(1) {
-webkit-animation: outT 0.8s backwards;
animation: outT 0.8s backwards;
-webkit-animation-direction: reverse;
animation-direction: reverse;
}
.navTrigger i:nth-child(2) {
margin: 5px 0;
-webkit-animation: outM 0.8s backwards;
animation: outM 0.8s backwards;
-webkit-animation-direction: reverse;
animation-direction: reverse;
}
.navTrigger i:nth-child(3) {
-webkit-animation: outBtm 0.8s backwards;
animation: outBtm 0.8s backwards;
-webkit-animation-direction: reverse;
animation-direction: reverse;
}
.navTrigger.active i:nth-child(1) {
-webkit-animation: inT 0.8s forwards;
animation: inT 0.8s forwards;
}
.navTrigger.active i:nth-child(2) {
-webkit-animation: inM 0.8s forwards;
animation: inM 0.8s forwards;
}
.navTrigger.active i:nth-child(3) {
-webkit-animation: inBtm 0.8s forwards;
animation: inBtm 0.8s forwards;
}
@-webkit-keyframes inM {
50% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(45deg);
}
}
@keyframes inM {
50% {
transform: rotate(0deg);
}
100% {
transform: rotate(45deg);
}
}
@-webkit-keyframes outM {
50% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(45deg);
}
}
@keyframes outM {
50% {
transform: rotate(0deg);
}
100% {
transform: rotate(45deg);
}
}
@-webkit-keyframes inT {
0% {
-webkit-transform: translateY(0px) rotate(0deg);
}
50% {
-webkit-transform: translateY(9px) rotate(0deg);
}
100% {
-webkit-transform: translateY(9px) rotate(135deg);
}
}
@keyframes inT {
0% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(9px) rotate(0deg);
}
100% {
transform: translateY(9px) rotate(135deg);
}
}
@-webkit-keyframes outT {
0% {
-webkit-transform: translateY(0px) rotate(0deg);
}
50% {
-webkit-transform: translateY(9px) rotate(0deg);
}
100% {
-webkit-transform: translateY(9px) rotate(135deg);
}
}
@keyframes outT {
0% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(9px) rotate(0deg);
}
100% {
transform: translateY(9px) rotate(135deg);
}
}
@-webkit-keyframes inBtm {
0% {
-webkit-transform: translateY(0px) rotate(0deg);
}
50% {
-webkit-transform: translateY(-9px) rotate(0deg);
}
100% {
-webkit-transform: translateY(-9px) rotate(135deg);
}
}
@keyframes inBtm {
0% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-9px) rotate(0deg);
}
100% {
transform: translateY(-9px) rotate(135deg);
}
}
@-webkit-keyframes outBtm {
0% {
-webkit-transform: translateY(0px) rotate(0deg);
}
50% {
-webkit-transform: translateY(-9px) rotate(0deg);
}
100% {
-webkit-transform: translateY(-9px) rotate(135deg);
}
}
@keyframes outBtm {
0% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-9px) rotate(0deg);
}
100% {
transform: translateY(-9px) rotate(135deg);
}
}
}
.gal{
.title_gal{
max-width: 80%!important;
top: 15vw!important;
}
.content_gal{
width: 2%!important;
}
}
.entete .entete_c{
width: 95%!important;
margin: 30px auto!important;
}
.content{
width: 80%!important;
}
.sidebar{
position: relative!important;
width: 350px!important;
margin: 0 auto!important;
}
#devis{
.title{
width: 100%!important;
height: auto!important;
transform: translateX(0px)!important;
border-radius: 0px!important;
h4{
margin-top: 15px!important;
font-size: 1.3rem!important;
margin: auto!important;
transform: translateY(0%)!important;
}
}
.txt{
width: 100%!important;
height: auto!important;
background: $red!important;
margin: auto!important;
p{
color: white!important;
padding: 15px 55px !important;
strong{
font-size: 1rem!important;
}
}
}
.img{
width: auto!important;
}
.demander-votre-devis{
transform: translate(0px, 40%)!important;
right: 30px!important;
}
}
#devis.item .title, #devis.sublog .title{
border-radius: 30px!important;
}
#item .demander-votre-devis, #sublog .demander-votre-devis{
width: 300px!important;
height: 110px!important;
margin-top: -55px!important;
a{
display: inline-flex!important;
}
p:nth-of-type(2){
display: none!important;
}
img{
margin-left: 20px!important;
margin-top: 0px!important;
}
}
.start:not(#form)#archive, .start:not(#form)#calendrier{
width: 80%!important;
}
.start:not(#form) .body-wrapper .card{
width: calc((100% / 3) - 7.5px)!important;
}
.start#form .body-wrapper form{
width: 90%!important;
}
.start#form .body-wrapper form > div.button-wrapper button{
margin-right: 5%!important;
}
.sidebar{
padding: 20px 0;
::before{
display: block;
width: 100vw;
height: 100%;
content: '';
background-image: url(/user/themes/lecampus/images/Trame-bleu.svg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
position: absolute;
top: 0;
margin-left: -90%;
z-index: -1;
}
}
.start:not(#form) .body-wrapper .event{
width: 90%!important;
}
.start:not(#form)#event .title{
width: 90%!important;
}
}
@media screen and (max-width: 750px) {
.gal .title_gal{
display: none!important;
}
.entete{
padding: 0!important;
p{
font-size: 1rem;
line-height: 1.4rem;
}
}
#home .content > p{
width: 100%!important;
}
}

View File

@@ -0,0 +1,263 @@
html, body{
font-family: $Regular;
line-height: 1.35;
}
h2{
font-size: 2rem;
}
h4{
font-weight: normal;
font-size: 2rem;
}
h5{
font-weight: normal;
font-size: 1.2rem;
}
nav{
a{
font-family: $Bold;
font-size: 0.9rem;
}
}
.container{
& > .title{
font-family: $Bold;
}
}
.card-header{
.publics{
font-size: 0.8rem;
font-family: $Bold;
}
}
.card-title{
h2{
font-family:$now_alt_bold;
font-weight: 400;
font-size: 1.2rem!important;
}
.date{
font-size: 0.8rem;
}
}
.card-content{
.reso{
a{
font-family: $Bold;
font-weight: 400;
}
}
}
p{
font-size: 0.9rem;
strong{
font-family: $Bold;
font-weight: normal;
}
}
.gal{
p{
font-family:$now_alt_bold;
font-weight: 400;
font-size: 1.2rem;
line-height: 2.2rem;
}
}
.entete{
h1{
font-size: 1.2rem;
color: white;
}
p{
font-family:$now_alt_bold;
font-weight: 400;
font-size: 1.5rem;
line-height: 2rem;
}
}
#home{
p:not(:last-child){
strong{
font-size: 1.3rem;
}
}
.content{
p{
strong{
font-family:$now_alt_bold;
font-weight: 400;
}
&:nth-of-type(n+4):not(:last-child){
text-align: center;
strong{
color: $red;
font-family:$now_alt_bold;
font-weight: 400;
}
}
}
}
}
#item{
.content{
.content_s{
h2{
font-family: $Bold;
font-size: 1.3rem;
}
}
}
.icones{
p{
font-family: $now_alt_bold;
font-weight: 400;
color: $red;
font-size: 1.2rem;
}
}
}
.sidebar{
.date{
font-size: 0.8rem;
}
h2{
font-family:$now_alt_bold;
font-weight: 400;
font-size: 1.4rem;
line-height: 100px;
color: white;
text-align: center;
}
h3{
font-size: 1.3rem;
font-family:$now_alt_bold;
font-weight: 400;
}
.date{
color: $grey;
}
.side-all-agenda{
a{
font-size: 0.9rem;
font-family: $Bold;
}
}
}
#newsletter{
label{
font-size: 1rem;
line-height: 1.9rem;
font-weight: normal;
font-family: $Bold;
}
}
.cat{
width: 100%;
a, label{
font-family: $Bold;
}
}
.dt{
font-family: $Bold;
color: $red;
}
#ajax-test-form{
.form-label{
font-size: 1.2rem;
font-family: $Bold;
}
.radio{
.form-radio{
font-size: 1rem;
font-family: $Bold;
}
}
.button-wrapper{
button{
font-family: $Bold;
}
}
}
#send-valide{
.toast{
font-size: 1.3rem;
font-family: $Bold;
}
.ok{
font-family: $Bold;
}
}
#devis{
h4{
font-size: 1rem;
font-family:$now_alt_bold;
font-weight: 400;
}
p{
&:nth-of-type(1){
color: white;
text-align: center;
}
strong{
font-family:$now_alt_bold;
font-weight: 400;
}
}
&.item{
.title{
font-family: $Bold;
}
}
}
.demander-votre-devis{
a{
p:nth-of-type(1){
font-size: 2rem;
}
color: white;
strong{
font-family:$now_alt_bold;
font-weight: 400;
}
}
}
#reco{
h5{
font-family:$Bold;
font-weight: 400;
}
}
#footer{
font-family:$now_alt_medium;
font-weight: 400;
p{
font-size: 0.8rem;
a{
font-family: $Bold;
}
}
}