home page - sliders
This commit is contained in:
@@ -1,7 +1,158 @@
|
||||
|
||||
.last-news, .last-ressources{
|
||||
.slick-slide{
|
||||
margin: 0 1rem;
|
||||
}
|
||||
.slick-arrow{
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
z-index: 100;
|
||||
background-color: white;
|
||||
opacity: 0;
|
||||
transition: opacity 250ms;
|
||||
width: 10%;
|
||||
&:hover{
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
.slick-next{
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.views-row{
|
||||
display: grid !important;
|
||||
grid-template-columns: 1fr;
|
||||
// flex-direction: column;
|
||||
// flex-direction: column-reverse;
|
||||
position: relative;
|
||||
height: auto;
|
||||
.views-field-field-image{
|
||||
grid-column: 1;
|
||||
grid-row: 1 / span 4;
|
||||
z-index: -1;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
.views-field:not(.views-field-field-image){
|
||||
background: blue;
|
||||
width: 50%;
|
||||
margin-left: 1rem;
|
||||
padding-left: 1rem;
|
||||
|
||||
}
|
||||
.views-field-title{
|
||||
padding-bottom: 1rem;
|
||||
grid-column: 1;
|
||||
grid-row: 3;
|
||||
font-weight: 600;
|
||||
}
|
||||
.views-field-view-node{
|
||||
padding-top: 1rem;
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
.views-field-field-programme{
|
||||
text-transform: uppercase;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.about{
|
||||
|
||||
background: lightblue;
|
||||
text-align: center;
|
||||
|
||||
background: $lightblue;
|
||||
text-align: center;
|
||||
padding: 18rem 0 3rem 0;
|
||||
margin-top: -15rem;
|
||||
article{
|
||||
h2{
|
||||
font-family: "duke" !important;
|
||||
font-size: $font-large;
|
||||
color:black;
|
||||
font-weight: 400;
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
h3{
|
||||
color: black;
|
||||
}
|
||||
div{
|
||||
margin: 0 5%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#home_blocks-block_3{
|
||||
background: $lightblue;
|
||||
padding: 2rem;
|
||||
h2{
|
||||
text-align: center;
|
||||
margin: 0 0 1rem 0;
|
||||
}
|
||||
.last-ressources{
|
||||
.views-field:not(.views-field-field-image){
|
||||
width: 80%;
|
||||
}
|
||||
.views-row{
|
||||
display: grid !important;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
align-items: center;
|
||||
background: white;
|
||||
position: relative;
|
||||
height: auto;
|
||||
padding: 1rem;
|
||||
background-clip: content-box;
|
||||
}
|
||||
.views-field-field-image{
|
||||
grid-row: 3 / span 2;
|
||||
margin-top: -1.5rem;
|
||||
z-index: 0;
|
||||
padding: .5rem;
|
||||
}
|
||||
.views-field:not(.views-field-field-image){
|
||||
background: transparent;
|
||||
width: auto;
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
|
||||
}
|
||||
.views-field-title{
|
||||
font-weight: 600;
|
||||
grid-row: 3 / span 1;
|
||||
grid-column: 2 / span 1;
|
||||
}
|
||||
.views-field-view-node{
|
||||
// padding-top: 1rem;
|
||||
// grid-column: 1;
|
||||
// grid-row: 1;
|
||||
grid-row: 2 / span 1;
|
||||
grid-column: 2 / span 1;
|
||||
}
|
||||
.views-field-field-programme{
|
||||
.field-content{
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
background-color: blue !important;
|
||||
padding: .3rem .5rem;
|
||||
}
|
||||
padding-left: .5rem !important;
|
||||
grid-row: 1 / span 1;
|
||||
grid-column: 1 / span 2;
|
||||
text-transform: uppercase;
|
||||
margin-top: -.5rem;
|
||||
.field-content{
|
||||
font-weight: 600;
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
color: white;
|
||||
padding: .02rem .3rem;
|
||||
// margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -3,13 +3,13 @@
|
||||
.content_container{
|
||||
&>div>h2:first-child{
|
||||
text-align: center;
|
||||
background-color: #98d0d9;
|
||||
background-color: $lightblue;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
form{
|
||||
background-color: #98d0d9;
|
||||
background-color: $lightblue;
|
||||
display: grid;
|
||||
padding: 0 0 5rem 0;
|
||||
column-gap: 1rem;
|
||||
@@ -67,6 +67,7 @@
|
||||
column-gap: 1rem;
|
||||
row-gap: 1rem;
|
||||
grid-template-columns: calc(10% - 3em) repeat(3, 27.3%);
|
||||
align-items: flex-start;
|
||||
.views-col:first-child{
|
||||
grid-column-start: 2;
|
||||
}
|
||||
@@ -83,14 +84,15 @@
|
||||
}
|
||||
}
|
||||
background-color: rgb(255, 255, 255);
|
||||
background-clip: content-box;
|
||||
// background-clip: content-box;
|
||||
width: 100% !important;
|
||||
padding: .3rem;
|
||||
.views-field:not(:first-child){
|
||||
padding: 0 0 0 .4rem;
|
||||
}
|
||||
.views-field-field-image{
|
||||
grid-row: 2 / span 2;
|
||||
grid-row: 3 / span 2;
|
||||
margin-top: -1.5rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -102,12 +104,16 @@
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
color: white;
|
||||
background: red;
|
||||
padding: .15rem .3rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
}
|
||||
.views-field-field-theme{
|
||||
.field-content{
|
||||
color:black;
|
||||
}
|
||||
}
|
||||
.views-field-field-type-de-ressource{
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
@@ -136,6 +142,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.js-pager__items{
|
||||
|
@@ -1,4 +1,7 @@
|
||||
//header
|
||||
header{
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
#header-top{
|
||||
height: 3rem;
|
||||
background: white;
|
||||
@@ -53,7 +56,7 @@
|
||||
}
|
||||
|
||||
}
|
||||
.popsu-node-3{
|
||||
.programme-3{
|
||||
.views-field-title{
|
||||
color: $col-eur;
|
||||
&:hover{
|
||||
@@ -62,7 +65,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.popsu-node-5{
|
||||
.programme-5{
|
||||
.views-field-title{
|
||||
color: $col-mond;
|
||||
&:hover{
|
||||
@@ -71,7 +74,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.popsu-node-7{
|
||||
.programme-7{
|
||||
.views-field-title{
|
||||
color: $col-met;
|
||||
&:hover{
|
||||
|
@@ -15,6 +15,10 @@ a{
|
||||
color:inherit;
|
||||
}
|
||||
|
||||
strong{
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
//TEMP
|
||||
iframe{
|
||||
display: none;
|
||||
|
@@ -8,6 +8,77 @@ $font-small: .45rem;
|
||||
$col-met: red;
|
||||
$col-eur: blue;
|
||||
$col-mond: wheat;
|
||||
|
||||
|
||||
$lightblue: #98d0d9;
|
||||
|
||||
|
||||
//programmes values
|
||||
.programme-2{
|
||||
.views-field-field-programme{
|
||||
.field-content{
|
||||
background: $col-eur;
|
||||
}
|
||||
|
||||
}
|
||||
.views-field{
|
||||
color: $col-eur;
|
||||
}
|
||||
}
|
||||
|
||||
.programme-3{
|
||||
.views-field-field-programme{
|
||||
.field-content{
|
||||
background: $col-eur;
|
||||
}
|
||||
}
|
||||
.views-field{
|
||||
color: $col-eur;
|
||||
}
|
||||
}
|
||||
|
||||
.programme-4{
|
||||
.views-field-field-programme{
|
||||
.field-content{
|
||||
background: $col-mond;
|
||||
}
|
||||
}
|
||||
.views-field{
|
||||
color: $col-mond;
|
||||
}
|
||||
}
|
||||
|
||||
.programme-5{
|
||||
.views-field-field-programme{
|
||||
.field-content{
|
||||
background: $col-mond;
|
||||
}
|
||||
}
|
||||
.views-field{
|
||||
color: $col-mond;
|
||||
}
|
||||
}
|
||||
.programme-7{
|
||||
.views-field-field-programme{
|
||||
.field-content{
|
||||
background: $col-met;
|
||||
}
|
||||
}
|
||||
.views-field{
|
||||
color: $col-met;
|
||||
}
|
||||
}
|
||||
.programme-6{
|
||||
.views-field-field-programme{
|
||||
.field-content{
|
||||
background: $col-met;
|
||||
}
|
||||
}
|
||||
.views-field{
|
||||
color: $col-met;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 48rem) {
|
||||
:root {
|
||||
font-size: calc(1rem + ((1vw - .48rem) * 1.389));
|
||||
|
Reference in New Issue
Block a user