corrections
This commit is contained in:
@@ -50,7 +50,7 @@ content:
|
|||||||
view_mode: default
|
view_mode: default
|
||||||
link: ''
|
link: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 6
|
weight: 5
|
||||||
region: content
|
region: content
|
||||||
field_principes_reflexions:
|
field_principes_reflexions:
|
||||||
type: text_default
|
type: text_default
|
||||||
@@ -66,7 +66,7 @@ content:
|
|||||||
view_mode: default
|
view_mode: default
|
||||||
link: ''
|
link: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 5
|
weight: 6
|
||||||
region: content
|
region: content
|
||||||
links:
|
links:
|
||||||
settings: { }
|
settings: { }
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ id: node.partie.field_principes_reflexions
|
|||||||
field_name: field_principes_reflexions
|
field_name: field_principes_reflexions
|
||||||
entity_type: node
|
entity_type: node
|
||||||
bundle: partie
|
bundle: partie
|
||||||
label: Principes/réflexions
|
label: Repères
|
||||||
description: ''
|
description: ''
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: false
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -408,6 +408,8 @@ main[role="main"]{
|
|||||||
color: $rose;
|
color: $rose;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
div.field-chapitre-num,
|
div.field-chapitre-num,
|
||||||
div.field-partie-num{
|
div.field-partie-num{
|
||||||
background-color: $bleu_site;
|
background-color: $bleu_site;
|
||||||
@@ -424,7 +426,27 @@ main[role="main"]{
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
// Article Static Home page teaser
|
||||||
|
&[role="home-presentation"]{
|
||||||
|
>h2{
|
||||||
|
color: $bleu_site;
|
||||||
|
text-decoration: none;
|
||||||
|
font-family: 'Fredoka';
|
||||||
|
text-transform:uppercase;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
p{
|
||||||
|
vertical-align: top;
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 31%;
|
||||||
|
margin-top: 2em;
|
||||||
|
box-sizing: border-box;
|
||||||
|
&:not(:first-of-type){
|
||||||
|
margin-left: 2.5%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
article.node-type-chapitre{
|
article.node-type-chapitre{
|
||||||
|
|
||||||
@@ -435,6 +457,11 @@ main[role="main"]{
|
|||||||
// display: flex;
|
// display: flex;
|
||||||
// gap: 2em;
|
// gap: 2em;
|
||||||
padding:1em;
|
padding:1em;
|
||||||
|
article.node-type-partie{
|
||||||
|
>h2{
|
||||||
|
@include titre_h3;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Page Partie
|
// Page Partie
|
||||||
@@ -466,6 +493,7 @@ main[role="main"]{
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.field-ressources{
|
&.field-ressources{
|
||||||
|
// margin-left: 20em;
|
||||||
div.paragraph--type--ressource{
|
div.paragraph--type--ressource{
|
||||||
.field_titre{
|
.field_titre{
|
||||||
background-color: $bleu_site;
|
background-color: $bleu_site;
|
||||||
@@ -480,7 +508,9 @@ main[role="main"]{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.field-plus-loin{
|
&.field-plus-loin{
|
||||||
|
// margin-right: 20em;
|
||||||
div.paragraph--type--complement{
|
div.paragraph--type--complement{
|
||||||
.field_titre{
|
.field_titre{
|
||||||
@include titre_h4;
|
@include titre_h4;
|
||||||
@@ -503,6 +533,10 @@ main[role="main"]{
|
|||||||
&>*>*{
|
&>*>*{
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
.field-label{
|
||||||
|
color: $rose;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@mixin back-card{
|
@mixin back-card{
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@@ -510,6 +544,10 @@ main[role="main"]{
|
|||||||
&>*>*{
|
&>*>*{
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
.field-label{
|
||||||
|
color: inherit;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.field-principes-reflexion{
|
&.field-principes-reflexion{
|
||||||
@@ -535,6 +573,8 @@ main[role="main"]{
|
|||||||
} // partie-principes-pratique
|
} // partie-principes-pratique
|
||||||
|
|
||||||
// HOME
|
// HOME
|
||||||
|
|
||||||
|
|
||||||
div.views-home-chapitres{
|
div.views-home-chapitres{
|
||||||
// display: flex;
|
// display: flex;
|
||||||
// gap: 2em;
|
// gap: 2em;
|
||||||
|
|||||||
@@ -68,7 +68,8 @@
|
|||||||
{{ content.field_partie }}
|
{{ content.field_partie }}
|
||||||
</div>
|
</div>
|
||||||
{{ title_prefix }}
|
{{ title_prefix }}
|
||||||
{% if label and not page %}
|
{# {% if label and not page %} #}
|
||||||
|
{% if label %}
|
||||||
<h2{{ title_attributes }}>
|
<h2{{ title_attributes }}>
|
||||||
<a href="{{ url }}" rel="bookmark">{{ label }}</a>
|
<a href="{{ url }}" rel="bookmark">{{ label }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|||||||
@@ -67,7 +67,8 @@
|
|||||||
{{ title_prefix }}
|
{{ title_prefix }}
|
||||||
{% if label and not page %}
|
{% if label and not page %}
|
||||||
<h2{{ title_attributes }}>
|
<h2{{ title_attributes }}>
|
||||||
<a href="{{ url }}" rel="bookmark">{{ label }}</a>
|
{# <a href="{{ url }}" rel="bookmark">{{ label }}</a> #}
|
||||||
|
{{ label }}
|
||||||
</h2>
|
</h2>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ title_suffix }}
|
{{ title_suffix }}
|
||||||
|
|||||||
Reference in New Issue
Block a user