- style of h3 subtitle

This commit is contained in:
Mathieu Jaumotte 2023-04-24 12:22:41 +02:00
parent fe3d437096
commit 241e605ea6
3 changed files with 10 additions and 5 deletions

View File

@ -2,6 +2,11 @@
margin-top: 1rem;
margin-bottom: 1rem;
padding: 1rem;
&::before {
font: normal normal normal 20px/1 ForkAwesome;
margin-right: 0.5em;
content: "\f061";
}
}
.family-title {
margin-bottom: 1rem !important;
@ -58,4 +63,4 @@
button[aria-expanded="true"] > span.folded,
button[aria-expanded="false"] > span.unfolded { display: none; }
button[aria-expanded="false"] > span.folded,
button[aria-expanded="true"] > span.unfolded { display: inline; }
button[aria-expanded="true"] > span.unfolded { display: inline; }

View File

@ -32,7 +32,7 @@
{% endif %}
{% endfor %}
<h3 class="subtitle">{{ 'Actual budget'|trans }}</h3>
<h2 class="subtitle">{{ 'Actual budget'|trans }}</h2>
{% if actualCharges|length > 0 or actualResources|length > 0 %}
{% include '@ChillBudget/Budget/_current_budget.html.twig' with {
'actualResources': actualResources,
@ -45,7 +45,7 @@
{% endif %}
{% if pastCharges|length > 0 or pastResources|length > 0 %}
<h3 class="subtitle">{{ 'Past budget'|trans }}</h3>
<h2 class="subtitle">{{ 'Past budget'|trans }}</h2>
{% include '@ChillBudget/Budget/_past_budget.html.twig' with {
'pastCharges': pastCharges,
'pastResources': pastResources,
@ -54,7 +54,7 @@
{% endif %}
{% if futureCharges|length > 0 or futureResources|length > 0 %}
<h3 class="subtitle">{{ 'Future budget'|trans }}</h3>
<h2 class="subtitle">{{ 'Future budget'|trans }}</h2>
{% include '@ChillBudget/Budget/_future_budget.html.twig' with {
'futureResources': futureResources,
'futureCharges': futureCharges,

View File

@ -24,7 +24,7 @@
} %}
<div class="mt-5">
<h3 class="subtitle">{{ 'Budget calculator'|trans }}</h3>
<h2 class="subtitle">{{ 'Budget calculator'|trans }}</h2>
{{ table_results(charges, resources) }}
</div>