home + responsive
This commit is contained in:
@@ -4,16 +4,21 @@
|
||||
#block-headermenu{
|
||||
display:none;
|
||||
}
|
||||
|
||||
.page-node-type-static{
|
||||
.layout__region--top{ //bandeau titre page static
|
||||
|
||||
//bandeau titre page static
|
||||
.layout__region--top{
|
||||
height: 23vh;
|
||||
|
||||
.block-entity-fieldnodetitle{
|
||||
margin-top: 11vh;
|
||||
}
|
||||
}
|
||||
|
||||
// page partenaires
|
||||
.node-id-20{
|
||||
.field--name-field-partenaires{ // page partenaires
|
||||
.field--name-field-partenaires{
|
||||
.paragraph--type--partenaire{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -22,8 +27,10 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// home présentation programme
|
||||
.path-frontpage{
|
||||
.view-display-id-block_2:is(.view-id-home_nodes){ // home présentation programme
|
||||
.view-display-id-block_2:is(.view-id-home_nodes){
|
||||
.node-type-static{
|
||||
width: 70%;
|
||||
// margin: auto;
|
||||
@@ -43,7 +50,38 @@
|
||||
|
||||
|
||||
}
|
||||
/////////marche pas !!!!!!
|
||||
|
||||
@media (max-width: 810px){
|
||||
.page-node-type-static{
|
||||
|
||||
//bandeau titre page static
|
||||
.layout__region--top{
|
||||
padding-bottom: 0rem;
|
||||
.block-entity-fieldnodetitle{
|
||||
margin-left: 8%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
}
|
||||
.layout__region--first{
|
||||
.block-region-first{
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
.layout__region--second{
|
||||
flex: 0 1 80%;
|
||||
margin: auto;
|
||||
}
|
||||
.layout__region--third{
|
||||
.block-region-third{
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 479px){
|
||||
@@ -62,6 +100,7 @@
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.path-frontpage{
|
||||
.block-region-content{
|
||||
@@ -74,5 +113,25 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.path-ressources.basededonnees{
|
||||
.layout-content{
|
||||
.region-content{
|
||||
#block-contenudelapageprincipale{
|
||||
.layout--onecol{
|
||||
.block-region-content{
|
||||
.block-views-blockcollections-block-1{
|
||||
div:first-of-type{
|
||||
width: 90%;
|
||||
display: flex;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -44,6 +44,7 @@
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr repeat(8, 2fr) 1fr;
|
||||
|
||||
.view-id-collections{
|
||||
grid-column: 3 / span 8;
|
||||
height: 100%;
|
||||
@@ -70,8 +71,10 @@
|
||||
|
||||
|
||||
.views-field-name{
|
||||
|
||||
.field-content{
|
||||
grid-column: 3 /span 6;
|
||||
|
||||
|
||||
}
|
||||
span{
|
||||
@@ -80,7 +83,7 @@
|
||||
padding: 1rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
a{
|
||||
@@ -126,6 +129,11 @@
|
||||
// }
|
||||
|
||||
// }
|
||||
@media (max-width: 480px){
|
||||
width: 90%;
|
||||
display: flex;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -136,6 +144,10 @@
|
||||
grid-column: 3 / span 5;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
@media (max-width: 810px){
|
||||
padding: 2rem;
|
||||
|
||||
}
|
||||
}
|
||||
// texte présentation
|
||||
.block-views-blockcollection--block-1{
|
||||
@@ -147,6 +159,9 @@
|
||||
background: $white;
|
||||
margin-top:2rem;
|
||||
// }
|
||||
@media (max-width: 810px){
|
||||
padding: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
//button proposer une ressource
|
||||
@@ -186,6 +201,9 @@
|
||||
// }
|
||||
|
||||
// }
|
||||
@media (max-width: 810px){
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
}
|
||||
// grille des ressources
|
||||
@@ -346,6 +364,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 810px){
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:810px) {
|
||||
|
||||
@@ -19,36 +19,86 @@
|
||||
.block-config-pages-block{
|
||||
grid-area: presentation;
|
||||
width: 100%;
|
||||
background: url("../images/pictos/forme_home_2.svg");
|
||||
height: 78vh;
|
||||
background: url("../images/pictos/rosace_coupee.svg");
|
||||
// background: url("../images/carre_site.mp4");
|
||||
// background-size: 75%;
|
||||
background-position-y: bottom;
|
||||
background-position-x: left;
|
||||
background-position-y: top;
|
||||
background-position-x: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
|
||||
@media (max-width: 428px){
|
||||
height: 66vh;
|
||||
background-size: cover;
|
||||
background-position-y: top;
|
||||
background-position-x: left;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.config_pages--type--home-front{
|
||||
|
||||
width:45%;
|
||||
// width:20vw;
|
||||
// min-width: fit-content;
|
||||
// height: 20vw;
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
min-height: fit-content;
|
||||
margin: auto;
|
||||
background-color: white;
|
||||
padding-left: 2rem;
|
||||
padding-bottom: 4rem;
|
||||
margin-top: 7rem;
|
||||
margin-left: 22%;
|
||||
margin-bottom: 5rem;
|
||||
padding: 4rem 2rem 4rem 2rem;
|
||||
// padding-left: 5%;
|
||||
// padding-right: 5%;
|
||||
// padding-bottom: 4rem;
|
||||
// padding-top: 4rem;
|
||||
@media (max-width: 428px){
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
margin-left: 10%;
|
||||
padding: 3rem 5% 4rem 5%;
|
||||
margin-top: 5rem;
|
||||
}
|
||||
|
||||
.field--name-field-titre{
|
||||
font-size: 5rem;
|
||||
// font-size: 5rem;
|
||||
// font-weight: 900;
|
||||
// color: $blue-light;
|
||||
// line-height: 5.7rem;
|
||||
// margin-top: 4rem;
|
||||
// margin-bottom: 2rem;
|
||||
// width: fit-content;
|
||||
|
||||
color: #e1000f;
|
||||
font-weight: 900;
|
||||
color: $blue-light;
|
||||
line-height: 5.7rem;
|
||||
margin-top: 4rem;
|
||||
margin-bottom: 2rem;
|
||||
width: fit-content;
|
||||
font-size: 1.5rem;
|
||||
text-transform: uppercase;
|
||||
font-family: "Source Code Pro";
|
||||
@media (max-width: 428px){
|
||||
font-size: 1.2rem;;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.field--name-field-sous-titre{
|
||||
color: #e1000f;
|
||||
// color: #e1000f;
|
||||
// font-weight: 900;
|
||||
// font-size: 1.8rem;
|
||||
// text-transform: uppercase;
|
||||
// font-family: "Source Code Pro";
|
||||
font-size: 3rem;
|
||||
font-weight: 900;
|
||||
font-size: 1.8rem;
|
||||
text-transform: uppercase;
|
||||
font-family: "Source Code Pro";
|
||||
color: $blue-light;
|
||||
line-height: 4rem;
|
||||
margin-top: 4rem;
|
||||
margin-bottom: 2rem;
|
||||
width: fit-content;
|
||||
@media (max-width: 428px){
|
||||
font-size: 2.5rem;
|
||||
line-height: 3rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
.field--name-field-punchline{
|
||||
color: $blue-light;
|
||||
@@ -59,13 +109,15 @@
|
||||
padding-bottom: 3rem;
|
||||
}
|
||||
.field--name-field-lien{
|
||||
position: relative;
|
||||
background-color: $white;
|
||||
// border: 2px solid $blue-light;
|
||||
border: 2px solid $blue-light;
|
||||
width: fit-content;
|
||||
height: 1.5rem;
|
||||
padding: 0.4rem 1rem;
|
||||
text-align: center !important;
|
||||
float: right;
|
||||
bottom: 0;
|
||||
a{
|
||||
display: inline-flex;
|
||||
text-transform: uppercase;
|
||||
@@ -76,14 +128,19 @@
|
||||
&:after{
|
||||
display: block;
|
||||
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca{
|
||||
display: none;
|
||||
}
|
||||
.block-block-content1bb9024b-d95f-4137-894c-362abf10a483{
|
||||
display: none;
|
||||
}
|
||||
|
||||
// .block-views-blockhome-nodes-block-1{
|
||||
// grid-area: presentation;
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
display: grid;
|
||||
grid-template-columns: 1fr repeat(8, 2fr) 1fr;
|
||||
|
||||
@media (max-width: 810px){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/// carte
|
||||
.block-views-blockprojets-block-2{
|
||||
grid-column: 1 / span 10;
|
||||
@@ -30,6 +35,7 @@
|
||||
|
||||
//texte de présentation
|
||||
.block-config-pages-block{
|
||||
|
||||
grid-column: 3 / span 5;
|
||||
// width: 60%;
|
||||
margin: auto;
|
||||
@@ -43,50 +49,65 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 810px){
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// bouton projets incubés
|
||||
.block-block-contentaffaf220-dd27-4c9d-ae02-8044c2662220{
|
||||
grid-column: 8 / span 9;
|
||||
margin-top: 4rem;
|
||||
background-color: $blue-light;
|
||||
height: fit-content;
|
||||
width: 60%;
|
||||
margin-left: 2rem;
|
||||
grid-row: 2;
|
||||
.display{
|
||||
grid-column: 8 / span 9;
|
||||
margin-top: 4rem;
|
||||
background-color: $blue-light;
|
||||
height: fit-content;
|
||||
width: 60%;
|
||||
margin-left: 2rem;
|
||||
grid-row: 2;
|
||||
.display{
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.field--name-field-lien{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
margin-left: 1.5rem;
|
||||
margin-right: 1.5rem;
|
||||
text-align: center;
|
||||
a{
|
||||
font-weight: 800;
|
||||
color: $white;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
&:after{
|
||||
margin-left: auto;
|
||||
padding-top: 1rem;
|
||||
display: block;
|
||||
content:url("../images/pictos/noun_Arrow_3771902.svg")
|
||||
|
||||
}
|
||||
|
||||
|
||||
.field--name-field-lien{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
margin-left: 1.5rem;
|
||||
margin-right: 1.5rem;
|
||||
text-align: center;
|
||||
a{
|
||||
font-weight: 800;
|
||||
color: $white;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
&:after{
|
||||
margin-left: auto;
|
||||
padding-top: 1rem;
|
||||
display: block;
|
||||
content:url("../images/pictos/noun_Arrow_3771902.svg")
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 810px){
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//partie projets
|
||||
.block-views-blockprojets-block-1{
|
||||
grid-column: 3 / span 8;
|
||||
// width: 80%;
|
||||
|
||||
@media (max-width: 810px){
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.view-projets{
|
||||
|
||||
// width: 80%;
|
||||
@@ -120,9 +141,17 @@
|
||||
margin-top: 2rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@media (max-width: 810px){
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.views-row{
|
||||
width: 25%;
|
||||
flex: 0 0 25%;
|
||||
// flex: 0 0 25%;
|
||||
@media (max-width: 810px){
|
||||
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -142,6 +142,9 @@
|
||||
p{ margin: 0;}
|
||||
}
|
||||
}
|
||||
@media (max-width: 810px){
|
||||
margin-left: 10%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -26,12 +26,20 @@
|
||||
color: $blue-light;
|
||||
text-transform: uppercase;
|
||||
font-weight: 800;
|
||||
@media (max-width: 810px){
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
|
||||
}
|
||||
.block-entity-fieldnodetitle{
|
||||
margin-left: 13%;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
@media (max-width: 810px){
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodefield-edition{
|
||||
margin-left: 13%;
|
||||
@@ -40,6 +48,10 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
@media (max-width: 810px){
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
|
||||
}
|
||||
.block-entity-fieldnodefield-auteur-s-{
|
||||
@@ -51,10 +63,18 @@
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
@media (max-width: 810px){
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
}
|
||||
|
||||
.block-entity-fieldnodefield-date-de-parution{
|
||||
margin-left: 13%;
|
||||
@media (max-width: 810px){
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodefield-mots-clefs{
|
||||
margin-left: 13%;
|
||||
@@ -75,6 +95,20 @@
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
@media (max-width: 810px){
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
.field--name-field-mots-clefs{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
.field__item{
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -137,11 +171,17 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 810px){
|
||||
flex: 0 1 80%;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.layout__region--third{ // colone de droite fichiers et ressources liées
|
||||
margin-top: 3rem;
|
||||
@media (max-width: 810px){
|
||||
flex: 0 1 100%;
|
||||
}
|
||||
.block-region-third{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -326,6 +366,9 @@
|
||||
|
||||
|
||||
}
|
||||
@media (max-width: 810px){
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user