home view-display-id-block_2

This commit is contained in:
2021-11-18 11:12:53 +01:00
parent 7cf70006ef
commit 9310b9f231
28 changed files with 2800 additions and 9616 deletions
+49 -25
View File
@@ -2,7 +2,7 @@
/*global*/
@font-face {
font-family: 'Font Awesome';
src: url("../fonts/Font Awesome/fa-regular-400.woff2") format("woff2");
src: url("../fonts/Font Awesome/fontawesome-webfont.woff2") format("woff2");
font-weight: 400;
font-style: normal; }
@@ -90,7 +90,7 @@
overflow: hidden; }
.layout-content {
padding-bottom: 3rem; }
padding-bottom: 6rem; }
.path-frontpage {
margin: 0; }
@@ -242,24 +242,50 @@ a {
color: #009ee3; }
.field--type-link a::after {
display: inline-block;
content: url("../../images/pictos/polygon2.svg");
background: green; }
content: url("../../images/pictos/polygon2.svg"); }
.node-type-static {
padding: 1rem; }
.node-type-static .inline.links {
display: block;
width: fit-content;
padding: 1rem;
font-size: 1rem;
border: 2px solid #009ee3;
list-style: none; }
.node-type-static .inline.links a {
text-transform: uppercase;
font-weight: 700;
color: #009ee3; }
.view-display-id-block_2 {
padding-top: 2rem; }
.view-display-id-block_2 .node-type-static {
width: 80%;
margin: auto;
padding: 1rem; }
.view-display-id-block_2 .node-type-static div:first-child:not(.field__item):not(.field) {
display: flex;
flex-direction: row; }
.view-display-id-block_2 .node-type-static .inline.links {
align-self: flex-end;
width: fit-content;
height: fit-content;
padding: 0.4rem 1rem;
font-size: 0.8rem;
margin: 0;
background-color: white;
border: 2px solid #009ee3;
list-style: none; }
.view-display-id-block_2 .node-type-static .inline.links a {
text-transform: uppercase;
font-weight: 700;
color: #009ee3; }
.view-display-id-block_2 .node-type-static .field--name-field-images .field__item img {
width: 15rem;
height: auto; }
.view-display-id-block_2 .node-type-static .field--name-title {
display: none; }
.view-display-id-block_2 .node-type-static .field--name-field-accroche {
flex: 1 1 50px;
padding-left: 1rem; }
.view-display-id-block_2 .node-type-static .field--name-field-accroche p {
font-size: 1.5rem;
width: 110%; }
/*partials*/
.layout-container {
position: relative; }
header {
position: sticky; }
#header-top {
height: 7rem;
background-color: white;
@@ -267,16 +293,14 @@ a {
display: flex;
flex-direction: row;
justify-content: space-between;
color: black;
position: sticky; }
color: black; }
#header-top .region-header-top-left {
display: flex;
flex-direction: row;
padding: 1rem;
align-items: center;
color: black;
font-weight: 800;
position: sticky; }
font-weight: 800; }
#header-top .region-header-top-left ul {
list-style: none;
display: flex;
@@ -305,12 +329,12 @@ a {
margin-top: 0; }
#header-top #block-burger :hover {
cursor: pointer; }
#header-top #block-burger h2::after {
#header-top #block-burger h2:after {
display: block;
font-family: 'Font Awesome';
content: "\f0c9";
height: 60px;
font-size: 1rem; }
content: "";
background-image: url("~/web/themes/custom/eql/images/pictos/menu.png");
height: 6rem; }
#header-top #block-burger #block-burger-menu {
display: block;
margin: 0;