179 lines
3.0 KiB
SCSS
Raw Normal View History

2019-04-05 00:19:26 +02:00
// home
.gal{
width: 100%;
height:400px;
overflow-y: hidden;
margin-bottom: 20px;
position: relative;
.slidesjs-navigation{
z-index: 999;
position: absolute;
top: 50%;
transform: translateY(-50%);
&.slidesjs-previous{
left: 10px;
&:before{
display: block;
content: " ";
width: 30px;
height: 50px;
background-image: url('/user/themes/lecampus/images/arrow.svg');
background-repeat: no-repeat;
background-size: 30px 50px;
}
}
&.slidesjs-next{
right: 10px;
&:before{
display: block;
content: " ";
width: 30px;
height: 50px;
background-image: url('/user/themes/lecampus/images/arrow.svg');
background-repeat: no-repeat;
background-size: 30px 50px;
transform: rotate(180deg);
}
}
}
}
.cat{
height: 50px;
a{
padding: 10px;
border: 1px solid black;
}
}
2019-04-03 15:29:46 +02:00
#item{
@include inlineflex();
2019-04-05 00:19:26 +02:00
width: 100%;
2019-04-03 15:29:46 +02:00
.card{
width: calc( (100% / 4) - 45px);
2019-04-05 00:19:26 +02:00
min-width: 250px;
2019-04-03 15:29:46 +02:00
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;
2019-04-05 00:19:26 +02:00
a{
color: white;
}
2019-04-03 15:29:46 +02:00
}
2019-04-02 19:54:29 +02:00
}
2019-04-03 15:29:46 +02:00
.card-body{
padding: 15px;
.card-title{
margin-bottom: 10px;
}
2019-04-02 19:54:29 +02:00
}
}
}
2019-04-03 15:29:46 +02:00
.content{
width: 40%;
2019-04-05 00:19:26 +02:00
margin: 0px 20px 20px auto;
2019-04-03 15:29:46 +02:00
p{
margin: 10px 0;
2019-04-02 19:54:29 +02:00
}
}
2019-04-05 00:19:26 +02:00
#default{
.content{
& > p{
&:first-child{
a{
display: block;
padding: 10px;
text-align: center;
border: 1px solid black;
margin-left: 60%;
}
}
&:last-child{
margin-top: 80px;
padding: 10px;
border: 1px solid black;
img{
width: 33%;
margin-right: 20px;
float: left;
}
a{
display: block;
text-align: right;
margin-top:15px;
padding: 5px;
border: 1px solid black;
width: auto;
margin-left: 70%;
}
}
}
}
}
2019-04-03 15:29:46 +02:00
// items
.bandeau{
width: 100%;
height: 300px;
overflow: hidden;
margin-bottom: 35px;
img{
transform: translateY(-20%);
2019-04-02 19:54:29 +02:00
}
}
2019-04-05 00:19:26 +02:00
.sub-content{
border-top: 1px solid black;
margin-bottom: 20px;
margin-top: 20px;
h3{
margin-top: 20px;
}
}
2019-04-03 15:29:46 +02:00
.sidebar{
2019-04-05 00:19:26 +02:00
margin: 0 auto 0 20px;
2019-04-03 15:29:46 +02:00
.side-agenda{
border-top: 1px solid black;
padding: 10px 0;
&:nth-of-type(3){
border-bottom: 1px solid black;
margin-bottom: 10px;
2019-04-02 19:54:29 +02:00
}
}
2019-04-03 15:29:46 +02:00
.side-all-agenda{
width: auto;
padding: 5px;
margin-bottom: 10px;
float: right;
border: 1px solid black;
2019-04-02 19:54:29 +02:00
}
2019-04-03 15:29:46 +02:00
.side-newsletter{
2019-04-05 00:19:26 +02:00
margin-top: 100px;
2019-04-03 15:29:46 +02:00
padding: 20px;
background: lightgrey;
}
}
2019-04-05 00:19:26 +02:00
#footer{
margin-top: 20px;
}
// .card{
// height: 100px;
// .card-image{
// height: 100px;
// }
// }