add article + a venir
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
max-width: 50%;
|
||||
background: $light-blue;
|
||||
padding: 25px;
|
||||
top: 20vw;
|
||||
bottom: 20%;
|
||||
color: $white;
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -128,7 +128,7 @@
|
||||
}
|
||||
|
||||
.start:not(#form){
|
||||
&#calendrier, &#archive{
|
||||
&#calendrier, &#archive, &#articles{
|
||||
width: 70%;
|
||||
margin: 40px auto 40px auto;
|
||||
.header-wrapper{
|
||||
@@ -160,7 +160,6 @@
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.body-wrapper{
|
||||
@include inlineflex();
|
||||
@@ -170,7 +169,8 @@
|
||||
.card{
|
||||
width: calc( (100% / 3) - 27px);
|
||||
min-width: 200px;
|
||||
margin: 0 0 40px 0 ;
|
||||
margin: 0 0 40px 0;
|
||||
max-width: 1200px;
|
||||
.card-header{
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -225,6 +225,135 @@
|
||||
}
|
||||
}
|
||||
|
||||
#articles{
|
||||
.cat{
|
||||
label{
|
||||
&:not(.active){
|
||||
border: none;
|
||||
}
|
||||
&.active, &:hover{
|
||||
border-top: 1px solid #0093a3;
|
||||
border-bottom: 2px solid #b5cb3a;
|
||||
}
|
||||
}
|
||||
}
|
||||
.articles-listing{
|
||||
flex-direction: column;
|
||||
.card{
|
||||
width: 100%!important;
|
||||
& > a{
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 25%) minmax(400px, calc(75% - 40px)) ;
|
||||
grid-template-rows: 250px;
|
||||
grid-column-gap: 40px;
|
||||
position: relative;
|
||||
.card-image{
|
||||
grid-column-start: 1;
|
||||
grid-row-start: 1;
|
||||
object-fit: contain;
|
||||
overflow: hidden;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
img{
|
||||
display: inline-block;
|
||||
height: 250px;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
.wrapper-content{
|
||||
grid-column-start: 2;
|
||||
grid-row-start: 1;
|
||||
background-image: url(/user/themes/lecampus/images/Trame-bleu2.svg);
|
||||
background-repeat: repeat;
|
||||
padding: 20px 20px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.date{
|
||||
float: left;
|
||||
}
|
||||
.cat{
|
||||
margin-left: 3px;
|
||||
}
|
||||
.readmore{
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
.card-content{
|
||||
overflow: hidden;
|
||||
height: 7.7rem;
|
||||
h2{
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
&:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.paginations{
|
||||
max-width: 1200px;
|
||||
& > ul{
|
||||
& > li{
|
||||
border: none;
|
||||
& > span{
|
||||
&.active{
|
||||
&::after{
|
||||
content: " ";
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
display: block;
|
||||
background: #b5cb3a;
|
||||
}
|
||||
}
|
||||
}
|
||||
span, a{
|
||||
padding: 4px 5px;
|
||||
}
|
||||
&:first-child{
|
||||
float: left;
|
||||
& > a, & > span{
|
||||
&::before{
|
||||
content: "<";
|
||||
margin-right: 10px;
|
||||
display: inline-block;
|
||||
transform: translateX(0px);
|
||||
transition: 0.3s transform ease;
|
||||
}
|
||||
}
|
||||
& > a{
|
||||
&:hover{
|
||||
&::before{
|
||||
transform: translateX(-3px);
|
||||
transition: 0.3s transform ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&:last-child{
|
||||
float: right;
|
||||
& > a, & > span{
|
||||
&::after{
|
||||
content: ">";
|
||||
margin-left: 10px;
|
||||
display: inline-block;
|
||||
transform: translateX(0px);
|
||||
transition: 0.3s transform ease;
|
||||
}
|
||||
}
|
||||
& > a:hover{
|
||||
&::after{
|
||||
transform: translateX(3px);
|
||||
transition: 0.3s transform ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.start#form{
|
||||
.entete{
|
||||
border-top: 1px solid $light-blue
|
||||
@@ -556,7 +685,7 @@
|
||||
}
|
||||
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedPopup,
|
||||
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedDefault { width: 400px; }
|
||||
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm { width: 40%; }
|
||||
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm { width: 750px; }
|
||||
#mlb2-985974.ml-form-embedContainer .ml-form-align-left { text-align: left; }
|
||||
#mlb2-985974.ml-form-embedContainer .ml-form-align-center { text-align: center; }
|
||||
#mlb2-985974.ml-form-embedContainer .ml-form-align-default { display: table-cell !important; vertical-align: middle !important; text-align: center !important; }
|
||||
@@ -845,6 +974,7 @@
|
||||
|
||||
#home{
|
||||
.content{
|
||||
// min-width: 800px;
|
||||
@include inlineflex();
|
||||
& > p{
|
||||
position: relative;
|
||||
@@ -881,7 +1011,102 @@
|
||||
}
|
||||
}
|
||||
|
||||
#item{
|
||||
#item, #item-article{
|
||||
.item-wrapper{
|
||||
width: 45%;
|
||||
margin: auto;
|
||||
.title-wrapper{
|
||||
display: inline-flex;
|
||||
align-items: baseline;
|
||||
width: 100%;
|
||||
margin: 40px 0;
|
||||
.back{
|
||||
margin-right: 10px;
|
||||
margin-left: -80px;
|
||||
&::before{
|
||||
content: "<";
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
.title{
|
||||
width: auto;
|
||||
margin: 0;
|
||||
h1{
|
||||
width: auto;
|
||||
padding: 10px 20px;
|
||||
border-radius: 30px;
|
||||
background: #9e0027;
|
||||
}
|
||||
}
|
||||
}
|
||||
.info-wrapper{
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
.date{
|
||||
width: 100%;
|
||||
background-image: url('/user/themes/lecampus/images/Trame-bleu2.svg');
|
||||
background-repeat: repeat;
|
||||
padding: 5px 10px;
|
||||
text-align: right;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.reso{
|
||||
display: inline-flex;
|
||||
margin-bottom: 20px;
|
||||
a{
|
||||
display: inline-flex;
|
||||
margin: 0 0 0 10px;
|
||||
align-items: center;
|
||||
img{
|
||||
margin-left: 5px;
|
||||
width: 20px;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.body-wrapper{
|
||||
.card-image{
|
||||
width: 100%;
|
||||
}
|
||||
.card-content{
|
||||
margin: 40px 0;
|
||||
.txt{
|
||||
p{
|
||||
margin: 0 0 1.2rem 0;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
h2{
|
||||
font-size: 1.2rem;
|
||||
font-family: $Bold;
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
}
|
||||
ul{
|
||||
margin-bottom: 1.2rem;
|
||||
li{
|
||||
&::before{
|
||||
content: " ";
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 10px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
background: $red;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#item, #item-article{
|
||||
.content{
|
||||
@include inlineflex;
|
||||
.images_s{
|
||||
@@ -978,7 +1203,7 @@
|
||||
}
|
||||
|
||||
#devis{
|
||||
&.item, &.sublog{
|
||||
&.item, &.sublog, &.item-article{
|
||||
background: $red;
|
||||
height: auto;
|
||||
padding: 20px 0;
|
||||
@@ -1098,7 +1323,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
#event{
|
||||
#event, #item, #item-article{
|
||||
.title{
|
||||
width: 45%;
|
||||
margin: auto;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#footer{
|
||||
padding-bottom: 45px;
|
||||
padding-bottom: 0;
|
||||
width: 100%;
|
||||
background: $light-grey;
|
||||
.block{
|
||||
|
@@ -1,27 +1,65 @@
|
||||
// header{
|
||||
// z-index: 999;
|
||||
// position: relative;
|
||||
// @include inlineflex();
|
||||
// justify-content: center;
|
||||
// width: 100%;
|
||||
// border-bottom: 1px solid $light-blue;
|
||||
// height: 105px;
|
||||
// nav{
|
||||
// @include inlineflex();
|
||||
// justify-content: space-around;
|
||||
// height: 100px;
|
||||
// width: 75%;
|
||||
// flex-wrap: nowrap;
|
||||
// .logo{
|
||||
// display: flex;
|
||||
// a{
|
||||
// display: block;
|
||||
// margin: auto;
|
||||
// }
|
||||
// }
|
||||
// .reso{
|
||||
// @include inlineflex;
|
||||
// flex-wrap: nowrap;
|
||||
// a{
|
||||
// display: block;
|
||||
// width: 35px;
|
||||
// margin: auto 5px;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
//
|
||||
|
||||
header{
|
||||
z-index: 999;
|
||||
position: relative;
|
||||
@include inlineflex();
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid $light-blue;
|
||||
display: flex;
|
||||
height: 105px;
|
||||
nav{
|
||||
@include inlineflex();
|
||||
justify-content: space-around;
|
||||
height: 100px;
|
||||
z-index: 999;
|
||||
border-bottom: 1px solid $light-blue;
|
||||
& > nav{
|
||||
margin: auto;
|
||||
min-width: 1100px;
|
||||
width: 70%;
|
||||
flex-wrap: nowrap;
|
||||
display: inline-flex;
|
||||
justify-content: space-between;
|
||||
.navTrigger{
|
||||
display: none;
|
||||
}
|
||||
.logo{
|
||||
display: flex;
|
||||
a{
|
||||
display: block;
|
||||
margin: auto;
|
||||
width: 150px;
|
||||
}
|
||||
.dropmenu{
|
||||
width: 70%;
|
||||
& > ul{
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.reso{
|
||||
@include inlineflex;
|
||||
flex-wrap: nowrap;
|
||||
display: inline-flex;
|
||||
width: auto;
|
||||
a{
|
||||
display: block;
|
||||
width: 35px;
|
||||
|
@@ -16,7 +16,7 @@ header{
|
||||
& > li{
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin: 0 20px;
|
||||
margin: 0 10px;
|
||||
&>a{
|
||||
border-top: 1px solid $light-blue;
|
||||
border-bottom: 3px solid $green;
|
||||
@@ -28,6 +28,7 @@ header{
|
||||
position: absolute;
|
||||
margin-top: 12px;
|
||||
z-index: 0;
|
||||
z-index: 999;
|
||||
li{
|
||||
background-color: white;
|
||||
a{
|
||||
|
@@ -4,12 +4,17 @@
|
||||
width: 90%!important;
|
||||
}
|
||||
}
|
||||
.start:not(#form)#archive, .start:not(#form)#articles, .start:not(#form)#calendrier{
|
||||
width: 90%!important;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1080px) {
|
||||
@media screen and (max-width: 1150px) {
|
||||
header{
|
||||
&> nav{
|
||||
min-width: auto!important;
|
||||
width: 100%!important;
|
||||
margin: auto 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,15 +22,16 @@
|
||||
@media screen and (max-width: 1024px) {
|
||||
header nav{
|
||||
position: relative;
|
||||
width: 90%!important;
|
||||
width: 100%!important;
|
||||
.dropmenu{
|
||||
background: white;
|
||||
display: none;
|
||||
position: absolute;
|
||||
left: -6%;
|
||||
top: 100px;
|
||||
left: -10px;
|
||||
top: 70px;
|
||||
width: auto!important;
|
||||
height: auto;
|
||||
z-index: 999;
|
||||
&>ul{
|
||||
-webkit-box-orient: vertical!important;
|
||||
-webkit-box-direction: normal!important;
|
||||
@@ -60,9 +66,15 @@
|
||||
}
|
||||
}
|
||||
.logo{
|
||||
position: absolute;
|
||||
width: 150px;
|
||||
margin: auto;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
top: 50%;
|
||||
}
|
||||
.navTrigger {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
width: 30px;
|
||||
height: 25px;
|
||||
@@ -249,12 +261,12 @@
|
||||
}
|
||||
.gal{
|
||||
.title_gal{
|
||||
top: 15vw!important;
|
||||
// top: 15vw!important;
|
||||
max-width: 60%!important;
|
||||
}
|
||||
}
|
||||
|
||||
#item{
|
||||
#item, #item-article{
|
||||
.content{
|
||||
|
||||
.icones{
|
||||
@@ -265,6 +277,7 @@
|
||||
}
|
||||
|
||||
#item .demander-votre-devis,
|
||||
#item-article .demander-votre-devis,
|
||||
#sublog .demander-votre-devis{
|
||||
width: 300px!important;
|
||||
height: 110px!important;
|
||||
@@ -290,16 +303,16 @@
|
||||
transform: translate(0%, -125%)!important;
|
||||
}
|
||||
}
|
||||
#newsletter #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm{
|
||||
width: 50%!important;
|
||||
}
|
||||
// #newsletter #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm{
|
||||
// width: 50%!important;
|
||||
// }
|
||||
}
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
.gal{
|
||||
.title_gal{
|
||||
max-width: 80%!important;
|
||||
top: 15vw!important;
|
||||
// top: 15vw!important;
|
||||
}
|
||||
.content_gal{
|
||||
width: 2%!important;
|
||||
@@ -310,7 +323,7 @@
|
||||
width: 100%!important;
|
||||
}
|
||||
.title_gal{
|
||||
top:25vw!important;
|
||||
// top:25vw!important;
|
||||
right: 5%!important;
|
||||
max-width: 70%!important;
|
||||
}
|
||||
@@ -361,7 +374,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
#devis.item .title, #devis.sublog .title{
|
||||
#devis.item .title, #devis.sublog .title, #devis.item-article .title{
|
||||
border-radius: 30px!important;
|
||||
}
|
||||
#sublog{
|
||||
@@ -416,7 +429,7 @@
|
||||
margin-top: 0px!important;
|
||||
}
|
||||
}
|
||||
#item .demander-votre-devis{
|
||||
#item .demander-votre-devis, #item-article .demander-votre-devis{
|
||||
width: 300px!important;
|
||||
height: 110px!important;
|
||||
a{
|
||||
@@ -432,12 +445,31 @@
|
||||
margin-top: 0px!important;
|
||||
}
|
||||
}
|
||||
.start:not(#form)#archive, .start:not(#form)#calendrier{
|
||||
width: 80%!important;
|
||||
.start:not(#form)#archive, .start:not(#form)#calendrier, .start:not(#form)#articles{
|
||||
width: 90%!important;
|
||||
}
|
||||
|
||||
#articles{
|
||||
.card{
|
||||
width: 100%!important;
|
||||
&> a{
|
||||
grid-template-columns: minmax(300px,20%) minmax(400px,calc(80% - 40px))!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
#item, #item-article{
|
||||
.item-wrapper{
|
||||
width: 90%!important;
|
||||
.title-wrapper{
|
||||
flex-direction: column!important;
|
||||
.back{
|
||||
margin: 20px 0!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.start:not(#form) .body-wrapper .card{
|
||||
width: calc((100% / 2) - 20px)!important;
|
||||
// width: calc((100% / 2) - 20px)!important;
|
||||
}
|
||||
.start#form .body-wrapper form{
|
||||
width: 90%!important;
|
||||
@@ -486,12 +518,59 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 750px) {
|
||||
header{
|
||||
& > nav{
|
||||
.logo{
|
||||
position: relative;
|
||||
width: auto!important;
|
||||
margin: auto!important;
|
||||
left: 0!important;
|
||||
transform: none!important;
|
||||
top: 0!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.start{
|
||||
.demander-votre-devis{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
#item{
|
||||
#item ,#item-article{
|
||||
.title-wrapper{
|
||||
flex-direction: column;
|
||||
.back{
|
||||
margin: 0 0 20px 0!important;
|
||||
}
|
||||
}
|
||||
width: 100%!important;
|
||||
// padding: 0 40px!important;
|
||||
}
|
||||
#articles{
|
||||
.articles-listing{
|
||||
.card{
|
||||
& > a{
|
||||
grid-template-columns: 100%!important;
|
||||
grid-column-gap: 0!important;
|
||||
grid-template-rows: 100%!important;
|
||||
.card-image{
|
||||
img{
|
||||
width: 100%!important;
|
||||
height: auto!important;
|
||||
}
|
||||
}
|
||||
.wrapper-content{
|
||||
grid-column-start:1!important;
|
||||
grid-row-start: 2!important;
|
||||
.readmore{
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#item, #item-article{
|
||||
.bandeau{
|
||||
.img{
|
||||
width: 100%;
|
||||
@@ -522,7 +601,7 @@
|
||||
}
|
||||
.content{
|
||||
margin: 2rem auto!important;
|
||||
width: 90%!important;
|
||||
width: 100%!important;
|
||||
p{
|
||||
padding: 40px 20px!important;
|
||||
}
|
||||
@@ -652,13 +731,16 @@
|
||||
width: 100%!important;
|
||||
}
|
||||
|
||||
} .start:not(#form)#archive, .start:not(#form)#calendrier{
|
||||
} .start:not(#form)#archive, .start:not(#form)#calendrier, .start:not(#form)#articles{
|
||||
width: 90%!important;
|
||||
.cat {
|
||||
height: auto!important;
|
||||
.btn-group{
|
||||
&:nth-child(1){
|
||||
width: 75%;
|
||||
width: 100%;
|
||||
}
|
||||
&:nth-child(2){
|
||||
float: left;
|
||||
}
|
||||
label{
|
||||
margin-bottom: 10px;
|
||||
|
@@ -111,7 +111,85 @@ p{
|
||||
}
|
||||
}
|
||||
|
||||
#item{
|
||||
#articles{
|
||||
.card{
|
||||
line-height: 1.5rem;
|
||||
.card-title{
|
||||
font-family: $Bold;
|
||||
font-weight: normal;
|
||||
}
|
||||
.wrapper-info{
|
||||
margin: 5px 0;
|
||||
font-size: 0.8rem;
|
||||
font-family: $Bold;
|
||||
color: $red;
|
||||
.dt{
|
||||
text-transform: lowercase;
|
||||
}
|
||||
}
|
||||
.readmore{
|
||||
font-family: $Bold;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.paginations{
|
||||
font-family: $Bold;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
|
||||
#item, #item-article{
|
||||
.title-wrapper{
|
||||
.back{
|
||||
font-family: $Bold;
|
||||
}
|
||||
.title{
|
||||
h1{
|
||||
color: white;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.info-wrapper{
|
||||
.date{
|
||||
font-family: $Bold;
|
||||
color: $red;
|
||||
font-size: 0.8rem;
|
||||
.dt{
|
||||
text-transform: lowercase;
|
||||
}
|
||||
}
|
||||
.reso{
|
||||
font-size: 0.8rem;
|
||||
font-family: $Bold;
|
||||
}
|
||||
}
|
||||
.body-wrapper{
|
||||
.card-image{
|
||||
}
|
||||
.card-content{
|
||||
.txt{
|
||||
p{
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
h2{
|
||||
font-size: 1.2rem;
|
||||
font-family: $Bold;
|
||||
font-weight: normal;
|
||||
}
|
||||
ul{
|
||||
li{
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#item, #item-article{
|
||||
.content{
|
||||
.content_s{
|
||||
h2{
|
||||
@@ -224,7 +302,7 @@ p{
|
||||
}
|
||||
}
|
||||
|
||||
&.item{
|
||||
&.item, &.item-article{
|
||||
.title{
|
||||
font-family: $Bold;
|
||||
}
|
||||
|
Reference in New Issue
Block a user