css liens ressources pages static
This commit is contained in:
@@ -338,7 +338,7 @@
|
||||
margin: auto;
|
||||
::before{
|
||||
content: url("../images/pictos/noun_Download_file_307900.svg");
|
||||
min-width:40px;
|
||||
min-width:30px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@@ -373,7 +373,7 @@
|
||||
font-weight: 800;
|
||||
&::before{
|
||||
content: url("../images/pictos/noun_External Link_674151.svg");
|
||||
min-width: 40px;
|
||||
min-width: 30px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@@ -395,56 +395,99 @@
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.node-type-ressource{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 2px solid $blue-light;
|
||||
padding: 1rem;
|
||||
|
||||
height: fit-content;
|
||||
margin-bottom: 1rem;
|
||||
background-color: $white;
|
||||
&:first-of-type{
|
||||
border-top: 1px solid $blue-light;
|
||||
padding-top: 1rem;
|
||||
&::after{
|
||||
content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||
align-self: flex-end;
|
||||
.node-type-ressource{
|
||||
border: 2px solid $blue-light;
|
||||
padding: 1rem;
|
||||
height: fit-content;
|
||||
margin-bottom: 1rem;
|
||||
background-color: $white;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.field--name-field-type-de-ressource{
|
||||
order: 2;
|
||||
text-transform: uppercase;
|
||||
color: $blue-light;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.field--name-title{
|
||||
order: 3;
|
||||
h2{
|
||||
margin: 0;
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1rem;
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-field-sous-titre{
|
||||
order:4;
|
||||
}
|
||||
.field--name-field-auteur-s-{
|
||||
order: 5;
|
||||
font-weight: 800;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-edition{
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
display: none;
|
||||
order: 1;
|
||||
width: 25%;
|
||||
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.field--name-field-mots-clefs{
|
||||
order: 6;
|
||||
display: flex;
|
||||
margin-top: 2rem;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.field__item{
|
||||
|
||||
margin-right: 0.5rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
font-size: 0.8rem;
|
||||
|
||||
a{
|
||||
background: $blue-dark;
|
||||
color: $white;
|
||||
font-weight: 800;
|
||||
vertical-align: super;
|
||||
padding-left: 0.1rem;
|
||||
padding-right: 0.1rem;
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
ul.links.inline{
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.field--name-title{
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
|
||||
}
|
||||
}
|
||||
.field--name-field-auteur-s-{
|
||||
font-weight: 800;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-edition{
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
width: 50%;
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -210,7 +210,7 @@
|
||||
margin: auto;
|
||||
::before{
|
||||
content: url("../images/pictos/noun_Download_file_307900.svg");
|
||||
min-width:50px;
|
||||
min-width:30px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@@ -245,7 +245,7 @@
|
||||
font-weight: 800;
|
||||
&::before{
|
||||
content: url("../images/pictos/noun_External Link_674151.svg");
|
||||
min-width: 50px;
|
||||
min-width: 30px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@@ -284,10 +284,10 @@
|
||||
// }
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
&::after{
|
||||
content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||
align-self: flex-end;
|
||||
}
|
||||
// &::after{
|
||||
// content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||
// align-self: flex-end;
|
||||
// }
|
||||
div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
.path-node.page-node-type-static{
|
||||
.layout-container{
|
||||
overflow: unset;
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
.node-type-ressource{
|
||||
// border: 2px solid $blue-light;
|
||||
// padding: 1rem;
|
||||
// height: fit-content;
|
||||
// margin-bottom: 1rem;
|
||||
// background-color: $white;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
&::after{
|
||||
content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||
align-self: flex-end;
|
||||
}
|
||||
div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.field--name-field-type-de-ressource{
|
||||
order: 2;
|
||||
text-transform: uppercase;
|
||||
color: $blue-light;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.field--name-title{
|
||||
order: 3;
|
||||
h2{
|
||||
margin: 0;
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1rem;
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-field-sous-titre{
|
||||
order:4;
|
||||
}
|
||||
.field--name-field-auteur-s-{
|
||||
order: 5;
|
||||
font-weight: 800;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-edition{
|
||||
display: none;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
// display: none;
|
||||
order: 1;
|
||||
width: 25%;
|
||||
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.field--name-field-date-de-parution{
|
||||
order: 6
|
||||
}
|
||||
.field--name-field-mots-clefs{
|
||||
order: 7;
|
||||
display: flex;
|
||||
margin-top: 2rem;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.field__item{
|
||||
|
||||
margin-right: 0.5rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
font-size: 0.8rem;
|
||||
|
||||
a{
|
||||
background: $blue-dark;
|
||||
color: $white;
|
||||
font-weight: 800;
|
||||
vertical-align: super;
|
||||
padding-left: 0.1rem;
|
||||
padding-right: 0.1rem;
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
ul.links.inline{
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,8 @@
|
||||
@import "global/_typography";
|
||||
@import "global/_mediaqueries";
|
||||
|
||||
// @import "global/_nodetyperessource.scss";
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -58,3 +60,4 @@
|
||||
@import "partials/_footer";
|
||||
@import "partials/_slick-slider.scss";
|
||||
@import "partials/_slick-theme.scss";
|
||||
// @import "partials/_nodetyperessource.scss";
|
||||
|
||||
Reference in New Issue
Block a user