diapo actus
This commit is contained in:
@@ -7,6 +7,6 @@ $background-home: rgba(153, 147, 174, 0.1);
|
||||
$white-button: rgb(255, 255, 255);
|
||||
$white-header:rgb(255, 255, 255);
|
||||
$yellow-puca: #fdc300;
|
||||
|
||||
$gris-violet: rgb(153, 147, 174);
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
.page-actualites{
|
||||
.view-actus{
|
||||
padding-top: 3rem;
|
||||
padding-bottom: 6rem;
|
||||
width: 80%;
|
||||
margin: auto;
|
||||
.views-row{
|
||||
.node-type-actualite{
|
||||
|
||||
.image-actualite{
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
.infos-content{
|
||||
position: relative;
|
||||
top: -10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: solid $yellow-puca 1px;
|
||||
background-color: $white-button;
|
||||
padding: 1rem;
|
||||
h2{
|
||||
order: 2;
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.field--name-field-sous-titre {
|
||||
order: 3;
|
||||
font-size: 1.3rem;
|
||||
// line-height: 0.3rem;
|
||||
}
|
||||
.field--name-field-date{
|
||||
order: 4;
|
||||
font-weight: 900;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.field--name-field-type-d-actualite{
|
||||
order: 1;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.field--name-field-site{
|
||||
order: 5;
|
||||
background-color: $gris-violet;
|
||||
color: white;
|
||||
border-radius: 50px;
|
||||
width: fit-content;
|
||||
padding: 0.2rem 0.9rem;
|
||||
.field__item{
|
||||
display: inline;
|
||||
}
|
||||
a{
|
||||
color: white;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
ul.links{
|
||||
order: 6;
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -9,13 +9,14 @@
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
.view-id-actus{
|
||||
width: 80%;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
// display: flex;
|
||||
// justify-content: space-between;
|
||||
|
||||
.views-row{
|
||||
width: 45%;
|
||||
width: 30%;
|
||||
padding-right: 2rem;
|
||||
.node-type-actualite{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -23,37 +24,68 @@
|
||||
p.field__item{
|
||||
display: none;
|
||||
}
|
||||
.field--name-field-image{
|
||||
order: 1;
|
||||
max-width: 100%;
|
||||
padding-bottom: 1rem;
|
||||
.image-actualite{
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
img{
|
||||
width: 80%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
.infos-content{
|
||||
position: relative;
|
||||
top: -10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: solid $yellow-puca 1px;
|
||||
background-color: $white-button;
|
||||
padding: 1rem;
|
||||
h2{
|
||||
order: 2;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.field--name-field-sous-titre {
|
||||
order: 3;
|
||||
}
|
||||
.field--name-field-type-d-actualite{
|
||||
order: 1;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.field--name-field-site{
|
||||
order: 5;
|
||||
font-size: 1.3rem;
|
||||
// line-height: 0.3rem;
|
||||
}
|
||||
.field--name-field-date{
|
||||
order: 4;
|
||||
font-weight: 900;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.field--name-field-type-d-actualite{
|
||||
order: 1;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.field--name-field-site{
|
||||
order: 5;
|
||||
background-color: $gris-violet;
|
||||
color: white;
|
||||
border-radius: 50px;
|
||||
width: fit-content;
|
||||
padding: 0.2rem 0.9rem;
|
||||
.field__item{
|
||||
display: inline;
|
||||
}
|
||||
a{
|
||||
color: white;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
ul.links{
|
||||
order: 6;
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
.body-content{
|
||||
display: none;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
// justify-content: space-between;
|
||||
.views-row{
|
||||
width: 30%;
|
||||
padding: 1rem;
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
.infos-content{
|
||||
grid-row: 1;
|
||||
grid-column: 3 /span 4;
|
||||
border: solid $yellow-puca 1px;
|
||||
background-color: $white-button;
|
||||
padding: 1rem;
|
||||
.field--name-field-type-de-actualite{
|
||||
text-transform: uppercase;
|
||||
font-size: 1.5rem;
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
.infos-content{
|
||||
grid-row: 1;
|
||||
grid-column: 3 /span 4;
|
||||
|
||||
.field--name-field-type-de-ressource{
|
||||
text-transform: uppercase;
|
||||
font-size: 1.5rem;
|
||||
|
||||
@@ -40,6 +40,9 @@
|
||||
.filtered-content{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: solid $yellow-puca 1px;
|
||||
background-color: $white-button;
|
||||
padding: 1rem;
|
||||
h2{
|
||||
order: 2;
|
||||
margin: 0;
|
||||
|
||||
@@ -40,4 +40,4 @@
|
||||
@import "pages/node-site";
|
||||
@import "pages/ressources";
|
||||
@import "pages/node-ressource";
|
||||
|
||||
@import "pages/actualites";
|
||||
Reference in New Issue
Block a user