fix perte css page actu

This commit is contained in:
2021-12-13 16:03:33 +01:00
parent b28e88de8d
commit 9237a38979
4 changed files with 315 additions and 4 deletions
@@ -56,7 +56,29 @@
}
}
.layout__region--first{
display: flex;
justify-content: end;
margin-top: 18rem;
.block-entity-fieldnodefield-textes{
display: flex;
width: 50%;
background-color: $white;
padding-right: 2rem;
.field--name-field-titre{
display: flex;
font-size: 1rem;
font-weight: 1000;
color: $blue-dark;
border-bottom: 1px solid $blue-light;
padding-bottom: 0.5rem;
padding-right: 1rem;
&:hover{
text-decoration: underline;
}
}
}
}
.layout__region--second{
// grid-row: 3;
@@ -64,6 +86,32 @@
margin-top: 18rem;
.block-region-second{
width: 90%;
.block-entity-fieldnodefield-textes{
background-color: $white;
.field--name-field-titre{
font-size: 1.5rem;
font-weight: 1000;
font-family: 'Source Code Pro';
color: $blue-dark;
text-transform: uppercase;
}
h4{
text-transform: none !important;
img{
width: 100%;
height: auto;
}
}
.field--type-text-long{
padding-right: 2rem;
}
p{
margin-top: 0;
}
}
.block-entity-fieldnodebody{
.panel-body{
@@ -79,9 +127,143 @@
// grid-row: 4;
margin-top: 18rem;
.block-region-third{
width: 65%;
display: flex;
flex-direction: column;
width: 65%;
.block-entity-fieldnodefield-fichiers{
height: fit-content;
border: 2px solid $blue-light;
background-color: $white;
}
.field--name-field-fichiers{
min-height: 4rem;
background: $white;
color: $blue-light;
padding-left: 1rem;
padding-top: 1rem;
margin-bottom: 1rem;
span:nth-of-type(2){
display: none;
}
.file--mime-application-pdf{
height: inherit;
margin: auto;
::before{
content: url("../images/pictos/noun_Download_file_307900.svg");
min-width:50px;
height: auto;
padding-right: 1rem;
}
a{
hyphens: auto;
display: inline-flex;
align-items: center;
color: $blue-light;
font-weight: 800;
// max-width: 80px ;
}
}
}
.block-entity-fieldnodefield-liens{
.field--name-field-liens{
.field__item{
margin: auto;
height: fit-content;
border: 2px solid $blue-light;
min-height: 4rem;
background: $white;
color: $blue-light;
padding-left: 1rem;
padding-top: 1rem;
margin-bottom: 1rem;
}
a{
display: inline-flex;
align-items: center;
color: $blue-light;
font-weight: 800;
&::before{
content: url("../images/pictos/noun_External Link_674151.svg");
min-width: 50px;
height: auto;
padding-right: 1rem;
}
svg.ext{
display: none;
}
}
}
}
.block-entity-fieldnodefield-ress{
margin-top: 3rem;
h2{
font-size: 0.8rem;
color: $black;
font-weight: 900;
}
.node-type-ressource{
display: flex;
flex-direction: column;
border: 2px solid $blue-light;
padding: 1rem;
height: fit-content;
margin-bottom: 1rem;
background-color: $white;
&:first-of-type{
border-top: 1px solid $blue-light;
padding-top: 1rem;
&::after{
content: url("../images/pictos/noun_Arrow_3771902.svg");
align-self: end;
}
}
.field--name-title{
a{
color: $black;
font-size: 1.4rem;
font-weight: 600;
}
}
.field--name-field-auteur-s-{
font-weight: 800;
p{
margin: 0;
}
.field__label{
display:none;
}
}
.field--name-field-edition{
p{
margin: 0;
}
.field__label{
display:none;
}
}
.field--name-field-images{
width: 50%;
img{
width: 100%;
height: auto;
}
}
}
}
}
}
}
@@ -14,8 +14,9 @@
}
.block-entity-fieldnodetitle{
.field--name-title{
background-color: $white !important;
color: $blue-light;
}
@@ -24,4 +25,7 @@
}
}
}
+1 -1
View File
@@ -32,7 +32,7 @@
@import "pages/_toutesressources";
@import "pages/_ressource";
@import "pages/_offreDeService";
@import "pages/_annuaire-de-ressources";
@import "pages/_annuaire-de-recherche";
/*partials*/