drupal-quartiersdedemain/web/themes/custom/quartiers_de_demain/scss/pages/_presentation.scss

253 lines
9.2 KiB
SCSS
Raw Normal View History

2024-03-01 09:21:12 +01:00
2024-03-06 13:28:59 +01:00
#presentation, #home{
2024-03-01 10:27:22 +01:00
width: 100%;
display: grid;
grid-template-columns: repeat(12, 1fr);
2024-03-07 15:45:38 +01:00
padding-top: 3rem;
2024-03-05 22:56:25 +01:00
#block-quartiers-de-demain-views-block-statics-fields-block-1{
order: 2;
border-top: 2px solid $blue_QDD;
padding-top: 0.3rem;
.views-field-field-pieces-jointes{
display: flex;
flex-direction: row;
&::before{
content: url(../images/noun-arrow-download.svg);
padding-right: 00.3rem;
}
.field-content{
display: flex;
flex-direction: column;
2024-03-07 10:38:09 +01:00
font-size: 0.5rem;
2024-03-05 22:56:25 +01:00
font-weight: 800;
span{
2024-03-07 10:38:09 +01:00
font-weight: 600;
2024-03-05 22:56:25 +01:00
}
}
}
}
2024-03-05 16:22:00 +01:00
2024-03-01 10:27:22 +01:00
.layout-content{
2024-03-01 13:48:04 +01:00
grid-row: 1;
2024-03-01 10:27:22 +01:00
order: 2;
@media (max-width:500px) {
2024-03-18 15:25:21 +01:00
padding-top: 50px;
2024-03-01 10:27:22 +01:00
}
.content_container{
display: flex;
2024-03-05 22:56:25 +01:00
margin-bottom: 0;
2024-03-01 10:27:22 +01:00
#block-quartiers-de-demain-titredepage{
display: none;
}
2024-03-01 09:21:12 +01:00
2024-03-01 10:27:22 +01:00
article.node-type-static{
width: 100%;
2024-03-01 13:48:04 +01:00
.field_body{
padding-left: 20%;
2024-03-02 16:49:14 +01:00
padding-right: 20%;
2024-03-04 11:23:46 +01:00
@media (max-width:810px) {
padding-left: 13%;
padding-right: 13%;
}
2024-03-02 16:49:14 +01:00
@media (max-width:640px) {
padding-left: 10%;
padding-right: 10%;
}
// width: 80%;
2024-03-01 10:27:22 +01:00
h2{
font-size: $font-medium;
font-weight: 600;
margin-bottom: 0;
}
2024-03-02 16:49:14 +01:00
img{
width: 100%;
height: auto;
}
2024-03-01 09:21:12 +01:00
}
2024-03-01 13:48:04 +01:00
.paragraph{
2024-03-05 15:46:58 +01:00
padding-top: 2rem;
padding-bottom: 2rem;
2024-03-01 13:48:04 +01:00
padding-left: 20%;
padding-right: 20%;
2024-03-04 11:23:46 +01:00
@media (max-width:810px) {
padding-left: 13%;
padding-right: 13%;
}
2024-03-02 16:49:14 +01:00
@media (max-width:640px) {
padding-left: 10%;
padding-right: 10%;
}
2024-03-01 13:48:04 +01:00
}
.field_field_textes{
.field_field_title{
text-transform: uppercase;
font-size: $font-big;
2024-03-01 22:59:05 +01:00
font-weight: 400;
2024-03-01 13:48:04 +01:00
}
#paragraph-id--1, #paragraph-id--2, #paragraph-id--6, #paragraph-id--7, #paragraph-id--8{
.field_field_title{
color: $blue_QDD;
}
}
#paragraph-id--3, #paragraph-id--4{
.field_field_title{
color: $red_QDD;
}
}
#paragraph-id--1, #paragraph-id--2, #paragraph-id--3, #paragraph-id--4, #paragraph-id--6, #paragraph-id--8{
background-color: $bleu_fond_header;
}
2024-03-05 15:46:58 +01:00
#paragraph-id--1, #paragraph-id--2, #paragraph-id--3, #paragraph-id--4{
padding-top: 1rem;
}
#paragraph-id--1, #paragraph-id--2, #paragraph-id--3{
padding-bottom: 1rem;
}
2024-03-01 13:48:04 +01:00
#paragraph-id--7, #paragraph-id--8{
text-align: center;
}
#paragraph-id--7{
display: flex;
flex-direction: column;
.field_field_title{
width: 60%;
margin: auto;
2024-03-05 15:46:58 +01:00
padding-bottom: 1rem;
2024-03-01 13:48:04 +01:00
}
.field_field_texte div:nth-child(2){
display: flex;
flex-direction: row;
2024-05-08 16:17:50 +02:00
align-items: flex-start !important;
2024-03-04 11:23:46 +01:00
@media(max-width: 500px){
flex-direction: column;
}
2024-03-01 13:48:04 +01:00
p{
2024-03-05 15:46:58 +01:00
display: flex;
flex-direction: column;
2024-03-01 13:48:04 +01:00
padding-right: 30px;
text-align: left;
color: $blue_QDD;
2024-03-05 15:46:58 +01:00
width: calc(100vw / 3);
2024-03-04 11:23:46 +01:00
@media(max-width: 500px){
padding-right: 0px;
text-align: center;
2024-05-07 12:15:25 +02:00
width: 100%;
2024-03-04 11:23:46 +01:00
}
2024-03-05 15:46:58 +01:00
img{
width: 70%;
height: auto;
padding-bottom: 1rem;
2024-05-07 12:15:25 +02:00
margin: auto;
2024-05-08 16:55:33 +02:00
@media (max-width: 500px){
width: 40%;
}
2024-03-05 15:46:58 +01:00
}
2024-03-01 13:48:04 +01:00
}
2024-03-01 22:59:05 +01:00
}
2024-03-04 11:23:46 +01:00
2024-03-01 13:48:04 +01:00
}
#paragraph-id--8{
2024-03-05 15:46:58 +01:00
padding-bottom: 4rem;
.field_field_title{
padding-bottom: 1rem;
}
2024-03-01 13:48:04 +01:00
.field_field_texte div:nth-child(2){
2024-03-01 22:59:05 +01:00
display: flex;
flex-direction: row;
2024-05-08 16:17:50 +02:00
&.flex-start{
align-items: flex-start !important;
}
2024-03-04 11:23:46 +01:00
@media(max-width: 500px){
flex-direction: column;
}
2024-03-01 22:59:05 +01:00
p{
2024-03-05 15:46:58 +01:00
width: calc(100vw / 3);
2024-03-01 22:59:05 +01:00
padding-right: 30px;
text-align: left;
2024-03-04 11:23:46 +01:00
@media(max-width: 500px){
padding-right: 0px;
text-align: center;
2024-05-07 12:15:25 +02:00
width: 100%;
2024-03-04 11:23:46 +01:00
}
2024-03-01 22:59:05 +01:00
}
2024-03-01 13:48:04 +01:00
}
}
p{
margin-bottom: 0;
// padding-bottom: 1.5rem;
}
.field_field_picto{
height: auto;
float: inline-start;
padding-right: 0.5rem;
img{
2024-03-01 22:50:40 +01:00
width: 40px;
2024-03-01 13:48:04 +01:00
height: auto;
2024-03-05 16:22:00 +01:00
margin: auto;
2024-03-02 16:49:14 +01:00
@media(max-width: 891px){
width: 30px;
}
2024-03-01 13:48:04 +01:00
}
}
2024-03-01 23:12:45 +01:00
#paragraph-id--9{
img{
width: -moz-available;
2024-03-04 11:23:46 +01:00
width: 100%;
2024-03-01 23:12:45 +01:00
height: auto;
2024-03-21 14:54:17 +01:00
// z-index: 100;
2024-03-04 11:23:46 +01:00
&:hover{
filter: brightness(75%);
transition: 0.2s;
2024-03-07 12:48:20 +01:00
cursor: url(../images/noun-loop-3037049.svg), auto;
2024-03-07 14:44:46 +01:00
cursor: zoom-in;
cursor: -moz-zoom-in;
cursor: -webkit-zoom-in;
@media(max-width: 500px){
filter: brightness(100%);
}
2024-03-04 11:23:46 +01:00
}
2024-03-01 23:12:45 +01:00
}
2024-03-02 16:49:14 +01:00
2024-03-04 11:23:46 +01:00
.zoom_in{
-ms-transform: scale(1.7); /* IE 9 */
-webkit-transform: scale(1.7); /* Safari 3-8 */
transform: scale(1.7);
max-width: 100vw;
overflow-x: scroll;
2024-03-21 14:54:17 +01:00
position: relative;
z-index: 98;
2024-03-04 11:23:46 +01:00
&:hover{
filter: brightness(100%);
transition: 0.2s;
overflow-x: scroll;
2024-03-21 14:54:17 +01:00
cursor: zoom-out;
cursor: -moz-zoom-out;
cursor: -webkit-zoom-out;
2024-03-04 11:23:46 +01:00
}
}
2024-03-01 13:48:04 +01:00
}
}
}
2024-03-01 10:27:22 +01:00
}
2024-03-05 22:56:25 +01:00
}
2024-03-01 13:48:04 +01:00
}
2024-03-05 22:56:25 +01:00
.presentation footer{
span.totop {
display: inline-flex;
width: 100vw;
background: $bleu_fond_header;
}
}
2024-03-01 10:27:22 +01:00
2024-05-08 16:17:50 +02:00