changement design home

This commit is contained in:
2021-11-26 10:25:01 +01:00
parent 3bd8464d23
commit 74a6143096
36 changed files with 211 additions and 75 deletions
+27 -12
View File
@@ -1,7 +1,13 @@
.layout--threecol-25-50-25{
padding-top: 2rem;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" version="1.1"><rect x="0" y="0" width="80" height="80" transform="rotate(35) translate(430, -800) scale(15)" fill="none" stroke="rgb(0,158,227)" stroke-width="0.4px"/></svg>');
// background-image: url("../images/pictos/carre-contour-bleu.svg");
background-repeat: no-repeat;
// background-position: -20px;
}
.layout__region--top{ //bandeau titre page static
height: 500px;
// height: 500px;
padding-bottom: 3rem;
.block-region-top{
height: inherit;
@@ -12,13 +18,15 @@
}
.block-entity-fieldnodetitle{
width: 50%;
width: 80%;
margin: auto;
.field--name-title{
font-size: 4rem;
font-family: 'Source Code Pro';
font-size: 2rem;
font-weight: 800;
color: $blue-light;
background-color: $white;
text-transform: uppercase;
padding: 2rem 1rem 2rem 1rem;
}
}
@@ -56,9 +64,13 @@
.block-entity-fieldnodefield-textes{
.field--name-field-titre{
font-size: 2rem;
font-size: 1.5rem;
font-weight: 800;
color: $blue-dark;
text-transform: uppercase;
}
h4{
text-transform: none !important;
}
.field--type-text-long{
padding-right: 2rem;
@@ -70,12 +82,14 @@
.layout__region--third{ // colone de droite fichiers et ressources liées
.block-entity-fieldnodefield-fichiers{
height: fit-content;
border: 2px solid $blue-light;
width: 72%;
}
.field--name-field-fichiers{
min-height: 4rem;
max-width: 75%;
background: #009ee3;
color: white;
// max-width: 75%;
background: $white;
color: $blue-light;
padding-left: 1rem;
padding-top: 1rem;
@@ -95,25 +109,26 @@
a{
display: inline-flex;
align-items: center;
color: $white;
color: $blue-light;
font-weight: 800;
}
}
}
.block-entity-fieldnodefield-ress{
margin-top: 5rem;
h2{
font-size: 1rem;
color: $blue-dark;
color: $black;
}
.node-type-ressource{
display: flex;
border: 1px solid $blue-light;
border: 2px solid $blue-light;
padding-left: 1rem;
padding-bottom: 3rem;
width: 75%;
width: 69%;
height: fit-content;
margin-bottom: 1rem;
&:first-of-type{