home bandeau bleu

This commit is contained in:
2021-11-18 11:50:41 +01:00
parent 9310b9f231
commit a107bf51db
2 changed files with 74 additions and 45 deletions
+33 -23
View File
@@ -207,36 +207,46 @@ a {
.block-views-blockactus-blocks-pages-block-1 .view-content {
display: flex;
flex-direction: row;
justify-content: space-around; }
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child {
color: white; }
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child .field--name-field-images .field__item img {
width: 200px;
padding-left: 8rem;
padding-right: 4rem;
margin: auto; }
.block-views-blockactus-blocks-pages-block-1 .view-content .views-row {
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; }
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite h2 {
margin: 0; }
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite a {
color: white; }
.node-type-actualite div:first-child {
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; }
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field:not(.field--name-field-images) {
width: 100%; }
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite h2 {
margin: 0; }
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite a {
color: white; }
.field--type-link {
display: block;
float: right;
width: fit-content;
padding: 1rem;
font-size: 1.5rem;
height: fit-content;
padding: 0.4rem 1rem;
font-size: 0.8rem;
margin: 0;
background-color: white;
border: 2px solid #009ee3; }
border: 2px solid #009ee3;
list-style: none; }
.field--type-link a {
font-size: 1rem;
text-transform: uppercase;
font-weight: 700;
color: #009ee3; }