page-node actualite css
This commit is contained in:
parent
a7bff409d1
commit
9a73e1cbaa
@ -4016,14 +4016,38 @@ main {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: 7rem;
|
padding-bottom: 7rem;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .infos-actu {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div {
|
||||||
order: 1;
|
display: grid;
|
||||||
display: flex;
|
grid-template-rows: repeat(5 1fr);
|
||||||
flex-direction: row;
|
|
||||||
padding: 1rem 0rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .infos-actu .field_field_type_d_actualite {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_images {
|
||||||
|
grid-column: 1;
|
||||||
|
grid-row: 1/span 5;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_images img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_images blockquote.image-field-caption {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_images blockquote.image-field-caption p {
|
||||||
|
margin-top: 0;
|
||||||
|
font-size: 0.4rem;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_type_d_actualite,
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_date,
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_site,
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_title,
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_body,
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_liens {
|
||||||
|
grid-column: 2;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_type_d_actualite {
|
||||||
|
order: 2;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_type_d_actualite a {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: red;
|
color: red;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
@ -4031,33 +4055,55 @@ main {
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .infos-actu .field_field_type_d_actualite::before {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_type_d_actualite a::before {
|
||||||
content: url("../img/type-actu.svg");
|
content: url("../img/type-actu.svg");
|
||||||
padding-right: 0.4rem;
|
padding-right: 0.4rem;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .infos-actu .field_field_date {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_date {
|
||||||
|
order: 3;
|
||||||
color: red;
|
color: red;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
font-weight: 600;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .infos-actu .field_field_date::before {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_date::before {
|
||||||
content: url("../img/date-actu.svg");
|
content: url("../img/date-actu.svg");
|
||||||
padding-right: 0.4rem;
|
padding-right: 0.4rem;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_body {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_site {
|
||||||
order: 2;
|
order: 4;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_site a {
|
||||||
|
color: red;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
font-weight: 600;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_site a::before {
|
||||||
|
content: url("../img/map_pointer.svg");
|
||||||
|
padding-right: 0.4rem;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_title {
|
||||||
|
order: 5;
|
||||||
|
color: rgb(7, 50, 194);
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_body {
|
||||||
|
order: 6;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_body p {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_body p {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_field_liens {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_liens {
|
||||||
order: 3;
|
order: 7;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
|
width: fit-content;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_field_liens a {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_liens a {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
@ -4068,27 +4114,12 @@ main {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_field_liens a svg {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_liens a svg {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_field_liens a::after {
|
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite div .field_field_liens a::after {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
content: url("../img/noun-arrow-to-right.svg");
|
content: url("../img/noun-arrow-to-right.svg");
|
||||||
padding-right: 0.2rem;
|
padding-right: 0.2rem;
|
||||||
padding-left: 0.2rem;
|
padding-left: 0.2rem;
|
||||||
}
|
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_field_images {
|
|
||||||
order: 5;
|
|
||||||
}
|
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_field_images img {
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_field_images blockquote.image-field-caption {
|
|
||||||
margin-left: 0;
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .field_field_images blockquote.image-field-caption p {
|
|
||||||
margin-top: 0;
|
|
||||||
font-size: 0.4rem;
|
|
||||||
}
|
}
|
@ -46,95 +46,125 @@
|
|||||||
.node-type-actualite{
|
.node-type-actualite{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: 7rem;
|
padding-bottom: 7rem;
|
||||||
// a{
|
div{
|
||||||
// display: flex;
|
display: grid;
|
||||||
// flex-direction: column;
|
// grid-template-columns: 1fr 1.2fr;
|
||||||
// }
|
grid-template-rows: repeat(5 1fr);
|
||||||
|
.field_field_images{
|
||||||
.infos-actu{
|
grid-column: 1;
|
||||||
order: 1;
|
grid-row: 1 /span 5;
|
||||||
display: flex;
|
img{
|
||||||
flex-direction: row;
|
width: 100%;
|
||||||
padding: 1rem 0rem;
|
height: auto;
|
||||||
margin-bottom: 1rem;
|
}
|
||||||
|
blockquote.image-field-caption{
|
||||||
|
margin-left: 0;
|
||||||
|
margin-top: 0;
|
||||||
|
p{
|
||||||
|
margin-top: 0;
|
||||||
|
font-size: 0.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.field_field_type_d_actualite,
|
||||||
|
.field_field_date,
|
||||||
|
.field_field_site,
|
||||||
|
.field_title,
|
||||||
|
.field_body,
|
||||||
|
.field_field_liens{
|
||||||
|
grid-column: 2;
|
||||||
|
|
||||||
|
}
|
||||||
.field_field_type_d_actualite{
|
.field_field_type_d_actualite{
|
||||||
|
order: 2;
|
||||||
|
a{
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: red;
|
color: red;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
&::before{
|
&::before{
|
||||||
content: url('../img/type-actu.svg');
|
content: url('../img/type-actu.svg');
|
||||||
padding-right: 0.4rem;
|
padding-right: 0.4rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.field_field_date{
|
.field_field_date{
|
||||||
|
order: 3;
|
||||||
color: red;
|
color: red;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
font-weight: 600;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-left: 1rem;
|
// margin-left: 1rem;
|
||||||
&::before{
|
&::before{
|
||||||
content: url('../img/date-actu.svg');
|
content: url('../img/date-actu.svg');
|
||||||
padding-right: 0.4rem;
|
padding-right: 0.4rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.field_field_site{
|
||||||
}
|
order: 4;
|
||||||
|
a{
|
||||||
.field_body {
|
color: red;
|
||||||
order: 2;
|
font-size: 0.6rem;
|
||||||
padding-bottom: 2rem;
|
font-weight: 600;
|
||||||
p{
|
|
||||||
font-size: 0.8rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.field_field_liens{
|
|
||||||
order: 3;
|
|
||||||
padding-bottom: 2rem;
|
|
||||||
padding-top: 2rem;
|
|
||||||
a{
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
padding-left: 0.5rem;
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
color: white;
|
|
||||||
background: black;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-size: 0.6rem;
|
|
||||||
svg{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
&::after{
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
content: url("../img/noun-arrow-to-right.svg");
|
align-items: center;
|
||||||
padding-right: 0.2rem;
|
// margin-left: 1rem;
|
||||||
padding-left: 0.2rem;
|
&::before{
|
||||||
|
content: url('../img/map_pointer.svg');
|
||||||
|
padding-right: 0.4rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.field_title{
|
||||||
// a:not(.ext){
|
order: 5;
|
||||||
// display: none;
|
color: $blue_QDD;
|
||||||
// }
|
font-size: 1.2rem;
|
||||||
}
|
|
||||||
|
|
||||||
.field_field_images{
|
|
||||||
order: 5;
|
|
||||||
img{
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
blockquote.image-field-caption{
|
|
||||||
margin-left: 0;
|
.field_body {
|
||||||
margin-top: 0;
|
order: 6;
|
||||||
|
padding-bottom: 2rem;
|
||||||
p{
|
p{
|
||||||
margin-top: 0;
|
font-size: 0.8rem;
|
||||||
font-size: 0.4rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.field_field_liens{
|
||||||
|
order: 7;
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
padding-top: 2rem;
|
||||||
|
width: fit-content;
|
||||||
|
a{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
color: white;
|
||||||
|
background: black;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
svg{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
&::after{
|
||||||
|
display: inline-flex;
|
||||||
|
content: url("../img/noun-arrow-to-right.svg");
|
||||||
|
padding-right: 0.2rem;
|
||||||
|
padding-left: 0.2rem;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// a:not(.ext){
|
||||||
|
// display: none;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user