form + filter

This commit is contained in:
2019-04-08 18:00:38 +02:00
parent 52fe56a7fc
commit 4346f85d56
25 changed files with 476 additions and 179 deletions

View File

@ -1,5 +1,4 @@
// home
.gal{
width: 100%;
height:400px;
@ -41,38 +40,71 @@
.cat{
height: 50px;
a{
z-index: 999;
margin: 20px 0;
.tags{
@include inlineflex();
margin-left: 15px;
}
.filters{
padding: 10px;
border: 1px solid black;
margin-right: 20px;
}
}
#item{
@include inlineflex();
width: 100%;
.card{
width: calc( (100% / 4) - 45px);
min-width: 250px;
margin: 0 15px 30px 15px;
position: relative;
border: 1px solid black;
.card-header{
width: auto;
position: absolute;
right: 0;
text-align: right;
.publics{
padding: 10px;
background: grey;
a{
color: white;
.start:not(#form){
#item{
@include inlineflex();
width: 100%;
.card{
width: calc( (100% / 4) - 45px);
min-width: 250px;
margin: 0 15px 30px 15px;
border: 1px solid black;
.card-header{
position: absolute;
width: auto;
right: 0;
text-align: right;
.publics{
padding: 10px;
background: grey;
a{
color: white;
}
}
}
.card-body{
padding: 15px;
.card-title{
margin-bottom: 10px;
}
}
}
.card-body{
padding: 15px;
.card-title{
margin-bottom: 10px;
}
}
.start#form{
#item{
width: calc( (100% / 2));
min-width: 250px;
margin: 100px auto;
form{
@include inlineflex();
margin-top: 20px;
& > div{
margin: 20px 0;
width: 50%;
&:nth-of-type(3){
width: 100%;
}
input{
width: 90%;
}
&:nth-of-type(10){
width: 100%;
}
}
}
}
@ -132,12 +164,46 @@
}
}
.sub-content{
border-top: 1px solid black;
margin-bottom: 20px;
margin-top: 20px;
h3{
#item{
.sub-content{
border-top: 1px solid black;
margin-bottom: 20px;
margin-top: 20px;
h3{
margin-top: 20px;
}
}
}
#event{
.content{
margin-top: 50px;
h2{
float: left;
margin-right: 20px;
}
.reso{
@include inlineflex;
flex-wrap: nowrap;
width: 50px;
height: 25px;
}
}
.sidebar{
margin-top: 50px;
}
}
#footer{
@include inlineflex;
.sub-content{
width: calc((100% / 3) - 40px);
border-top: 1px solid black;
margin: 20px;
h3{
margin-top: 20px;
}
}
}
@ -168,11 +234,3 @@
#footer{
margin-top: 20px;
}
// .card{
// height: 100px;
// .card-image{
// height: 100px;
// }
// }

View File

@ -7,8 +7,8 @@
}
}
a#map{
a#carte{
display: block;
height: 300px;
width: 300px;
height: 500px;
width: 100%;
}

View File

@ -3,9 +3,9 @@
position: relative;
nav{
@include inlineflex();
justify-content: space-between;
justify-content: space-around;
height: 100px;
width: auto;
width: 100%;
a{
padding: 10px;
}
@ -17,7 +17,7 @@
& > ul{
display: none;
}
&:nth-last-child(-n+2){
&:nth-last-child(-n+1){
& > a{
display: block;
height: 100px;
@ -48,6 +48,7 @@
}
.desktop-menu{
@include inlineflex;
flex-wrap: nowrap;
}
}
}

View File

@ -10,6 +10,11 @@ h2{
font-size: 2rem;
}
h4{
font-weight: normal;
font-size: 2rem;
}
h5{
font-weight: normal;
font-size: 1.2rem;