add structure

This commit is contained in:
2019-05-01 19:59:32 +02:00
parent f988fe8ae1
commit 0cae791a02
58 changed files with 3768 additions and 350 deletions

View File

@ -1,10 +1,11 @@
// home
.gal{
width: 100%;
height:400px;
max-height:554px;
overflow-y: hidden;
margin-bottom: 20px;
position: relative;
border-top: 1px solid $light-blue;
border-bottom: 10px solid $green;
.slidesjs-navigation{
z-index: 999;
position: absolute;
@ -40,9 +41,10 @@
position: absolute;
right: 50px;
width: 33%;
background: white;
background: $light-blue;
padding: 40px;
top: 200px;
top: 350px;
color: $white;
}
}
@ -50,11 +52,11 @@
height: 50px;
z-index: 999;
margin: 20px 0;
.tags{
.btn-group{
@include inlineflex();
margin-left: 15px;
}
.filters{
label{
padding: 10px;
border: 1px solid black;
margin-right: 20px;
@ -78,9 +80,7 @@
.publics{
padding: 10px;
background: grey;
a{
color: white;
}
color: white;
}
}
.card-body{
@ -118,9 +118,9 @@
}
}
.content, .content_s{
width: 40%;
margin: 0px 20px 20px auto;
.content{
width: 50%;
margin: 60px 20px 20px auto;
p{
margin: 10px 0;
}
@ -130,35 +130,65 @@
margin: auto!important;
}
#default{
.entete{
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: auto;
.entete_c{
width: 66%;
margin: 50px auto;
position: relative;
h2{
float: left;
width: auto;
background: $red;
border-radius: 30px;
width: auto;
padding: 10px 20px;
}
h3{
float: left;
margin-bottom: 50px;
}
}
}
#home{
.entete_c{
margin-top: 20px;
}
.content{
@include inlineflex();
& > p{
&:first-child{
a{
display: block;
padding: 10px;
text-align: center;
border: 1px solid black;
margin-left: 60%;
}
position: relative;
width: calc(100% / 3);
padding: 50px 20px;
margin-top: 10px;
img{
position: absolute;
width: 50px;
height: auto;
top: -20px;
left: 50%;
transform: translate(-50%);
}
&:nth-of-type(n+4){
width: calc(100% / 4);
}
&:last-child{
margin-top: 80px;
padding: 10px;
border: 1px solid black;
img{
width: 33%;
margin-right: 20px;
float: left;
}
width: auto!important;
margin-top: 0!important;
margin: auto;
a{
display: block;
text-align: right;
margin-top:15px;
padding: 5px;
border: 1px solid black;
width: auto;
margin-left: 70%;
padding: 10px 20px;
text-align: center;
border: 2px solid $green;
border-radius: 30px;
margin: auto;
transition: background-color 0.3s ease;
}
}
}
@ -168,15 +198,27 @@
// items
.bandeau{
width: 100%;
height: 300px;
max-height: 554px;
overflow: hidden;
margin-bottom: 35px;
img{
transform: translateY(-20%);
}
}
#item{
h3{
margin-top: 20px;
}
.content{
// width: 50%;
h4{
&:not(:first-of-type){
border-top: 1px solid black;
padding-top: 30px;
margin: 30px 0;
}
}
p{
}
}
.sub-content{
border-top: 1px solid black;
margin-bottom: 20px;
@ -186,13 +228,9 @@
float: left;
margin: 20px 10px 0px 0px;
}
h3{
margin-top: 20px;
}
}
}
#event{
.content{
margin-top: 50px;
@ -212,42 +250,83 @@
}
}
#footer{
@include inlineflex;
.sub-content{
width: calc((100% / 3) - 40px);
border-top: 1px solid black;
margin: 20px;
h3{
margin-top: 20px;
}
}
}
.sidebar{
margin: 0 auto 0 20px;
width: 300px;
margin: -50px auto 0 20px;
h2{
background: $red;
border-radius: 100px;
width: 100px;
height: 100px;
}
.side-agenda{
border-top: 1px solid black;
padding: 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){
border-bottom: 1px solid black;
margin-bottom: 10px;
}
}
.side-all-agenda{
width: auto;
padding: 5px;
padding: 10px;
margin-bottom: 10px;
float: right;
border: 1px solid black;
}
.side-newsletter{
margin-top: 100px;
padding: 20px;
background: lightgrey;
float: left;
border: 2px solid $red;
border-radius: 30px;
}
}
#footer{
margin-top: 20px;
.side-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: 30px;
box-shadow: none;
border: none;
}
.clear{
input{
background: $white;
margin-left: -30px;
}
}
}
}
}
}

View File

@ -1,14 +1,13 @@
#footer{
width: 100%;
background: grey;
#map{
height: 300px;
width: 300px;
@include inlineflex;
.sub-content{
width: calc((100% / 3) - 40px);
border-top: 1px solid black;
margin: 20px;
h3{
margin-top: 20px;
}
}
}
a#carte{
display: block;
height: 500px;
width: 100%;
}

View File

@ -1,54 +1,60 @@
#header{
z-index: 999;
position: relative;
@include inlineflex();
justify-content: center;
width: 100%;
nav{
@include inlineflex();
justify-content: space-around;
height: 100px;
width: 100%;
a{
padding: 10px;
width: 70%;
.logo{
display: flex;
a{
display: block;
margin: auto;
}
}
& > ul{
@include inlineflex();
&> li{
margin-left: 10px;
padding: 0 10px 10px 10px;
& > ul{
display: none;
}
&:nth-last-child(-n+1){
& > a{
display: block;
height: 100px;
background: rgb(84, 153, 183);
color: white;
}
}
&:hover{
&.dropmenu{
a{
padding: 10px;
}
& > ul{
@include inlineflex();
&> li{
height: 3em; /* hauteur du parent */
line-height: 2.5em; /* hauteur de ligne (identique) */
white-space: nowrap; /* interdiction de passer à la ligne */
margin: auto 20px;
border-top: 1px solid $light-blue;
border-bottom: 3px solid $green;
& > ul{
display: block;
a{
display: none;
border-bottom: 3px solid $green;
}
&:hover{
& > ul{
display: block;
height: 50px;
background: white;
padding: 10px;
a{
display: block;
height: 50px;
background: white;
padding: 10px;
}
}
}
}
}
}
.reso{
@include inlineflex();
flex-wrap: nowrap;
width: 30px;
img{
margin-left: 10px;
}
}
.desktop-menu{
@include inlineflex;
flex-wrap: nowrap;
a{
display: block;
width: 35px;
margin: auto 5px;
}
}
}
}

View File

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

View File

@ -26,25 +26,70 @@ h5{
}
p{
font-size: 0.9rem;
strong{
font-family: $Bold;
font-weight: normal;
}
}
.content{
p:nth-of-type(1){
font-size: 1.2rem;
.gal{
h2{
font-size: 1.65rem;
line-height: 2.2rem;
}
}
.entete{
h2{
font-size: 1.2rem;
color: white;
}
h3{
font-size: 1.5rem;
line-height: 2rem;
}
}
#home{
p:not(:last-child){
strong{
font-size: 1.3rem;
}
}
.content{
p{
&:nth-of-type(n+4):not(:last-child){
text-align: center;
strong{
color: $red;
}
}
}
}
}
.sidebar{
.side-newsletter{
label{
font-size: 1.5rem;
font-weight: normal;
font-family: $Bold;
}
line-height: 1.35rem;
h2{
font-size: 1.4rem;
line-height: 100px;
color: white;
text-align: center;
}
h3{
font-size: 1rem;
}
.date{
color: $grey;
}
}
.side-newsletter{
label{
font-size: 1rem;
line-height: 1.9rem;
font-weight: normal;
font-family: $Bold;
}
}
@ -57,4 +102,5 @@ p{
.dt{
font-family: $Bold;
color: $red;
}