fix bug actu
This commit is contained in:
@@ -1,44 +1,46 @@
|
||||
body.node-type-actualite{
|
||||
.content_container{
|
||||
width: 60%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: auto;
|
||||
align-items: center;
|
||||
.infos-actu{
|
||||
// #page-actualite{
|
||||
.node-id-11{
|
||||
.content_container{
|
||||
width: 60%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
border-top: solid red 1px;
|
||||
border-bottom: solid red 1px;
|
||||
padding: 1rem 0rem;
|
||||
margin-bottom: 1rem;
|
||||
.field_field_type_d_actualite a{
|
||||
text-transform: uppercase;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: url('../img/type-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
flex-direction: column;
|
||||
margin: auto;
|
||||
align-items: center;
|
||||
.infos-actu{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
border-top: solid red 1px;
|
||||
border-bottom: solid red 1px;
|
||||
padding: 1rem 0rem;
|
||||
margin-bottom: 1rem;
|
||||
.field_field_type_d_actualite a{
|
||||
text-transform: uppercase;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: url('../img/type-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field_field_date{
|
||||
color: red;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin-left: 1rem;
|
||||
&::before{
|
||||
content: url('../img/date-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
.field_field_date{
|
||||
color: red;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin-left: 1rem;
|
||||
&::before{
|
||||
content: url('../img/date-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.field_body p{
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
}
|
||||
.field_body p{
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
@@ -2,22 +2,6 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
// .__timeline-arrows{
|
||||
// width: fit-content;
|
||||
// margin: auto;
|
||||
|
||||
// button{
|
||||
// background-color: transparent;
|
||||
// border: none;
|
||||
// &:hover{
|
||||
// opacity: 0.5;
|
||||
// }
|
||||
// svg{
|
||||
// padding: 0.5rem;
|
||||
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
h2{
|
||||
width: fit-content;
|
||||
padding-bottom: 1rem;
|
||||
@@ -40,8 +24,11 @@
|
||||
width: 296px !important;
|
||||
}
|
||||
padding: 1rem;
|
||||
.node-type-actualite{
|
||||
article.node-type-actualite{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.field_field_images{
|
||||
order: 1;
|
||||
-moz-border-radius: 9px; /* pour Mozilla */
|
||||
-khtml-border-radius: 9px; /* pour Safari et Chrome */
|
||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
||||
@@ -65,28 +52,35 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.field_field_type_d_actualite{
|
||||
text-transform: uppercase;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: url('../img/type-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
.field_field_date{
|
||||
color: red;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: url('../img/date-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
.infos-actu{
|
||||
order: 2;
|
||||
.field_field_type_d_actualite{
|
||||
|
||||
text-transform: uppercase;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: url('../img/type-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
.field_field_date{
|
||||
|
||||
color: red;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: url('../img/date-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.field_title{
|
||||
order: 4;
|
||||
h2{
|
||||
margin: 0;
|
||||
a{
|
||||
@@ -96,6 +90,7 @@
|
||||
}
|
||||
}
|
||||
.field_body{
|
||||
order: 5;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user