css liens ressources pages static

This commit is contained in:
2023-06-27 18:06:23 +02:00
parent b56939462b
commit 75f023aa31
7 changed files with 424 additions and 215 deletions
+113 -83
View File
@@ -13,6 +13,7 @@
.block-region-top{
// position: relative;
padding-top: 2rem;
display: grid;
grid-template-columns: 1fr repeat(8, 1fr) 1fr;
// @media (max-width: 479px) {
@@ -20,27 +21,113 @@
// flex-direction: column;
// }
.block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f{
grid-column: 1 / span 10;
background-color: $blue-light;
// .block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f{
// grid-column: 1 / span 10;
// background-color: $blue-light;
.field--name-body{
vertical-align: middle;
color: $white;
font-family: 'Source Code Pro';
font-size: 2rem;
font-weight: 800;
text-transform: uppercase;
margin-left: 10%;
a{
color:$white;
// .field--name-body{
// vertical-align: middle;
// color: $white;
// font-family: 'Source Code Pro';
// font-size: 2rem;
// font-weight: 800;
// text-transform: uppercase;
// margin-left: 10%;
// a{
// color:$white;
// }
// }
// }
.block-entity-fieldnodetitle{
grid-column: 7 / span 9;
grid-row: 2;
margin: 0;
padding-right: 25%;
.field--name-title{
font-family: "Source Code Pro";
font-size: 1.5rem;
font-weight: 500;
color: $blue-light;
@media (max-width: 810px){
font-size: 1.7rem;
}
}
}
.block-entity-fieldnodefield-equipe{
grid-column: 7 / span 9;
grid-row: 3;
padding-right: 25%;
margin-top: 2rem;
// grid-column: 8 / span 8;
@media (max-width: 810px){
padding-top: 0.5rem;
}
.field--name-field-equipe{
color: $blue-dark;
font-size: 1.5rem;
font-weight: 900;
text-transform: uppercase ;
@media (max-width: 810px){
font-size: 1rem;
}
}
}
.block-entity-fieldnodefield-incube{
grid-column: 7 / span 7;
grid-row: 4;
margin-top: 2rem ;
// padding-top: 2rem;
// grid-column: 8 ;
width: fit-content;
.field--name-field-incube{
background-color: red;
color: white;
font-weight: 800;
padding-right: 0.3rem;
padding-left: 0.2rem;
}
@media (max-width: 810px) {
grid-column: 2 / span 4;
}
}
.block-entity-fieldnodefield-photo{
grid-column: 2 /span 7;
grid-row: 2 / span 6;
@media (max-width: 810px) {
grid-column: 1 / span 10;
}
img{
// padding-top: 2rem;
// width: 600px;
width: 65%;
// height: auto;
// max-height: 360px;
object-fit: cover;
@media (max-width: 810px) {
padding-top: 1rem;
object-fit: cover;
width: 100%;
}
}
// position: relative;
// bottom: -50%;
}
.block-entity-fieldnodefield-adresse{
margin-top: 3rem;
grid-column: 2 / span 10;
// grid-column: 7 / span 9;
grid-row: 10;
// padding-right: 25%;
// grid-column: 8 / span 10;
.field--name-field-adresse{
text-transform: uppercase;
font-weight: 800;
@@ -57,73 +144,16 @@
}
}
.block-entity-fieldnodetitle{
grid-column: 2 /span 7;
margin: 0;
.field--name-title{
font-family: "Source Code Pro";
font-size: 2.8rem;
font-weight: 500;
@media (max-width: 810px){
font-size: 1.7rem;
}
}
.block-entity-fieldnodefield-etape-du-projet{
// grid-column: 2/span 8;
grid-row: 10;
}
.block-entity-fieldnodefield-equipe{
grid-column: 2 / span 7;
@media (max-width: 810px){
padding-top: 0.5rem;
}
.field--name-field-equipe{
color: $blue-dark;
font-size: 1.5rem;
font-weight: 900;
text-transform: uppercase ;
@media (max-width: 810px){
font-size: 1rem;
}
}
.block-entity-fieldnodefield-type-de-moa{
grid-row: 10;
}
.block-entity-fieldnodefield-incube{
padding-top: 2rem;
grid-column: 2 / span 4;
width: fit-content;
.field--name-field-incube{
background-color: red;
color: white;
font-weight: 800;
padding-right: 0.3rem;
padding-left: 0.2rem;
.block-entity-fieldnodefield-type-de-projet{
grid-row: 10;
}
@media (max-width: 810px) {
grid-column: 2 / span 4;
}
}
.block-entity-fieldnodefield-photo{
grid-column-start: 5;
grid-column-end: 9;
@media (max-width: 810px) {
grid-column: 1 / span 10;
}
img{
padding-top: 2rem;
width: 600px;
// height: auto;
max-height: 360px;
object-fit: cover;
@media (max-width: 810px) {
padding-top: 1rem;
object-fit: cover;
width: 100%;
}
}
// position: relative;
// bottom: -50%;
}
}
}
@@ -298,14 +328,14 @@
margin: auto;
::before{
content: url("../images/pictos/noun_Download_file_307900.svg");
min-width:40px;
min-width:15px;
height: auto;
padding-right: 1rem;
}
a{
hyphens: auto;
display: inline-flex;
align-items: center;
// align-items: center;
color: $blue-light;
font-weight: 800;
// max-width: 80px ;
@@ -331,12 +361,12 @@
}
a{
display: inline-flex;
align-items: center;
// align-items: center;
color: $blue-light;
font-weight: 800;
&::before{
content: url("../images/pictos/noun_External Link_674151.svg");
min-width: 40px;
min-width: 15px;
height: auto;
padding-right: 1rem;
}