&after block atcu home

This commit is contained in:
2021-11-21 21:13:54 +01:00
parent b46b1d637d
commit 14fb62ba20
7 changed files with 133 additions and 88 deletions
+31 -22
View File
@@ -223,7 +223,8 @@ a {
.block-views-blockactus-blocks-pages-block-1 .view-content {
display: grid;
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
margin: auto; }
margin: auto;
padding-top: 2rem; }
.block-views-blockactus-blocks-pages-block-1 .view-content .views-row:nth-of-type(1) {
grid-column: 2; }
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite {
@@ -242,6 +243,9 @@ a {
.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 .field--name-field-images::after {
display: block;
content: url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="white" stroke-width="5"/></svg>'); }
.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 {
@@ -295,6 +299,9 @@ a {
text-transform: uppercase;
font-weight: 700;
color: #009ee3; }
.view-display-id-block_2 .node-type-static .inline.links a:after {
display: block;
width: 40px; }
.view-display-id-block_2 .node-type-static .field--name-field-images .field__item img {
width: 15rem;
height: auto; }
@@ -337,22 +344,27 @@ a {
.path-actualites {
background-color: rgba(0, 158, 227, 0.2);
margin: 0; }
.node-type-actualite {
color: #09398b;
line-height: 1.5rem;
padding: 0.5rem; }
.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; }
.node-type-actualite div:first-child a {
color: #09398b; }
.path-actualites .block-region-content {
display: grid;
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
margin: auto; }
.path-actualites .block-region-content .block-views:nth-of-type(1) {
grid-column: 2; }
.path-actualites .block-region-content .block-views .node-type-actualite {
color: #09398b;
line-height: 1.5rem;
padding: 0.5rem; }
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child {
display: flex;
flex-direction: column; }
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(1) {
order: 1; }
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(4) {
order: 2; }
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(5) {
order: 3; }
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child a {
color: #09398b; }
/*partials*/
.layout-container {
@@ -423,11 +435,8 @@ header {
#header-top #block-burger h2:after {
display: block;
height: 60px;
font-family: 'Font Awesome';
content: "\f0c9";
font-weight: 100;
font-size: 5rem;
height: 6rem; }
content: url('data:image/svg+xml,<svg width="160" height="140" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="20" x2="95" y1="20" y2="20" stroke-linecap="round" stroke="white" stroke-width="7"/></svg>');
content: url('data:image/svg+xml,<svg width="160" height="140" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="20" x2="95" y1="50" y2="50" stroke-linecap="round" stroke="white" stroke-width="7"/></svg>'); }
#header-top #block-burger #block-burger-menu {
display: block;
margin: 0;