home bandeau bleu
This commit is contained in:
@@ -207,36 +207,46 @@ a {
|
|||||||
.block-views-blockactus-blocks-pages-block-1 .view-content {
|
.block-views-blockactus-blocks-pages-block-1 .view-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-around; }
|
padding-left: 8rem;
|
||||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child {
|
padding-right: 4rem;
|
||||||
color: white; }
|
margin: auto; }
|
||||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child .field--name-field-images .field__item img {
|
.block-views-blockactus-blocks-pages-block-1 .view-content .views-row {
|
||||||
width: 200px;
|
width: 25%; }
|
||||||
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite {
|
||||||
|
color: white;
|
||||||
|
line-height: 1.5rem;
|
||||||
|
padding: 0.5rem; }
|
||||||
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column; }
|
||||||
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child :nth-child(1) {
|
||||||
|
order: 1; }
|
||||||
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child :nth-child(4) {
|
||||||
|
order: 2; }
|
||||||
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child :nth-child(5) {
|
||||||
|
order: 3; }
|
||||||
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-images .field__item img {
|
||||||
|
width: 50%;
|
||||||
height: fit-content; }
|
height: fit-content; }
|
||||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite h2 {
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field:not(.field--name-field-images) {
|
||||||
margin: 0; }
|
width: 100%; }
|
||||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite a {
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite h2 {
|
||||||
color: white; }
|
margin: 0; }
|
||||||
|
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite a {
|
||||||
.node-type-actualite div:first-child {
|
color: white; }
|
||||||
display: flex;
|
|
||||||
flex-direction: column; }
|
|
||||||
.node-type-actualite div:first-child :nth-child(1) {
|
|
||||||
order: 1; }
|
|
||||||
.node-type-actualite div:first-child :nth-child(4) {
|
|
||||||
order: 2; }
|
|
||||||
.node-type-actualite div:first-child :nth-child(5) {
|
|
||||||
order: 3; }
|
|
||||||
|
|
||||||
.field--type-link {
|
.field--type-link {
|
||||||
display: block;
|
display: block;
|
||||||
|
float: right;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
padding: 1rem;
|
height: fit-content;
|
||||||
font-size: 1.5rem;
|
padding: 0.4rem 1rem;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
margin: 0;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border: 2px solid #009ee3; }
|
border: 2px solid #009ee3;
|
||||||
|
list-style: none; }
|
||||||
.field--type-link a {
|
.field--type-link a {
|
||||||
font-size: 1rem;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #009ee3; }
|
color: #009ee3; }
|
||||||
|
|||||||
@@ -35,20 +35,37 @@
|
|||||||
.view-content{
|
.view-content{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-around;
|
// justify-content: space-between;
|
||||||
|
padding-left: 8rem;
|
||||||
|
padding-right: 4rem;
|
||||||
|
margin: auto;
|
||||||
|
.views-row{
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
.node-type-actualite{
|
.node-type-actualite{
|
||||||
div:first-child{
|
color: $white;
|
||||||
color: $white;
|
line-height: 1.5rem;
|
||||||
.field--name-field-images {
|
padding: 0.5rem;
|
||||||
.field__item img{
|
div:first-child{ // block actu dans le bandeau
|
||||||
width: 200px;
|
display: flex;
|
||||||
height: fit-content;
|
flex-direction: column;
|
||||||
// &::after{
|
|
||||||
// content:"line";
|
:nth-child(1) { order: 1; }
|
||||||
// }
|
:nth-child(4) { order: 2; }
|
||||||
}
|
:nth-child(5) { order: 3; }
|
||||||
|
}
|
||||||
|
.field--name-field-images {
|
||||||
|
.field__item img{
|
||||||
|
width: 50%;
|
||||||
|
height: fit-content;
|
||||||
|
// &::after{
|
||||||
|
// content:"line";
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.field:not(.field--name-field-images){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
h2{ margin:0; }
|
h2{ margin:0; }
|
||||||
a{ color: $white; }
|
a{ color: $white; }
|
||||||
}
|
}
|
||||||
@@ -58,26 +75,28 @@
|
|||||||
|
|
||||||
// actu dans bandeau
|
// actu dans bandeau
|
||||||
|
|
||||||
.node-type-actualite div:first-child{
|
// .node-type-actualite div:first-child{
|
||||||
display: flex;
|
// display: flex;
|
||||||
flex-direction: column;
|
// flex-direction: column;
|
||||||
:nth-child(1) { order: 1; }
|
// :nth-child(1) { order: 1; }
|
||||||
:nth-child(4) { order: 2; }
|
// :nth-child(4) { order: 2; }
|
||||||
:nth-child(5) { order: 3; }
|
// :nth-child(5) { order: 3; }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// bouton voir toutes actus du bandeau bleu
|
// bouton voir toutes actus du bandeau bleu
|
||||||
|
|
||||||
.field--type-link {
|
.field--type-link {
|
||||||
display: block;
|
display: block;
|
||||||
|
float: right;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
padding: 1rem;
|
height: fit-content;
|
||||||
font-size: 1.5rem;
|
padding: 0.4rem 1rem;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
margin: 0;
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
border: 2px solid $blue-light;
|
border: 2px solid $blue-light;
|
||||||
|
list-style: none;
|
||||||
a{
|
a{
|
||||||
font-size: 1rem;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: $blue-light;
|
color: $blue-light;
|
||||||
|
|||||||
Reference in New Issue
Block a user