css ressources-actu

This commit is contained in:
2024-11-22 14:42:38 +01:00
parent 52332fa126
commit e26a08fa6a
18 changed files with 558 additions and 909 deletions
@@ -65,7 +65,7 @@ header{
justify-content: space-evenly;
@media (max-width:1400px) {
@media (max-width:1100px) {
flex-direction: column;
}
li{
@@ -0,0 +1,69 @@
.infos-content{
position: relative;
display: flex;
flex-direction: column;
border: solid $yellow-puca 1px;
background-color: $white-button;
padding: 1rem;
height: fit-content;
width: 100%;
position: relative;
right: 5%;
margin-bottom: 30px;
h1{
// display: none;
order: 2;
font-size: 2rem;
font-weight: 500;
margin: 0;
}
h2{
order: 2;
margin: 0;
font-size: 1.5rem;
font-weight: 600;
padding: 0;
}
.field--name-field-sous-titre {
order: 3;
font-size: 1.5rem;
}
.field--name-field-date{
order: 4;
font-weight: 900;
}
.field--name-field-type-d-actualite{
order: 1;
text-transform: uppercase;
font-size: 0.8rem;
}
.field--name-field-site{
order: 5;
background-color: $gris-violet;
color: white;
border-radius: 50px;
width: fit-content;
padding: 0 0.9rem 0.3rem 0.9rem;
margin-top: 0.5rem;
.field__item{
display: inline;
color: white;
font-weight: 900;
font-size: 0.8rem;
a{
&:visited{
color: white;
}
&:link{
color: white;
}
}
}
}
ul.links{
order: 6;
display: none;
}
}
@@ -0,0 +1,40 @@
.links-content{
.field--name-field-liens {
padding: 0.5rem;
.field__items .field__item {
::after{
content: url("../../dist/images/noun-arrow-1569918-black.svg");
padding-left: 0.5rem;
}
}
}
.field--name-field-fichiers,
.field--name-field-fichier{
width: fit-content;
padding: 0.5rem;
padding-right: 0.8rem;
.file--mime-application-pdf{
a{
text-transform: uppercase;
}
::after{
content: url("../../dist/images/noun-download.svg");
padding-left: 0.8rem;
}
}
span:nth-of-type(2){
display: none;
}
}
}
.field--name-field-node-link .field__item {
::after{
content: url("../../dist/images/noun-arrow-1569918-black.svg");
padding-left: 0.5rem;
}
}