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