Commit 1e7e25a7408fa98dfbcdb6186f1687bc459b1bbf
1 parent
77d3f656
Exists in
master
Fix the internal link to RFI.
Showing
3 changed files
with
15 additions
and
3 deletions
Show diff stats
content.yml
@@ -391,8 +391,9 @@ home: | @@ -391,8 +391,9 @@ home: | ||
391 | for a large range of flights. | 391 | for a large range of flights. |
392 | The KLM data have also been fitted with linear functions. | 392 | The KLM data have also been fitted with linear functions. |
393 | 393 | ||
394 | - - content: | | ||
395 | - ### What about radiative forcing? {#rfi} | 394 | + - title: What about radiative forcing? |
395 | + slug: rfi | ||
396 | + content: | | ||
396 | Radiative forcing accounts for the fact that aviation contributes | 397 | Radiative forcing accounts for the fact that aviation contributes |
397 | to climate change more than just with the emission of carbon dioxide | 398 | to climate change more than just with the emission of carbon dioxide |
398 | from burning fuels, by releasing gases and particles directly | 399 | from burning fuels, by releasing gases and particles directly |
flaskr/static/css/common/main.css
@@ -95,6 +95,17 @@ span.required-asterisk { | @@ -95,6 +95,17 @@ span.required-asterisk { | ||
95 | } | 95 | } |
96 | 96 | ||
97 | 97 | ||
98 | +/** TWEAKS ******************************************************************/ | ||
99 | + | ||
100 | +h3[id]::before { | ||
101 | + content: ''; | ||
102 | + display: block; | ||
103 | + height: 75px; | ||
104 | + margin-top: -75px; | ||
105 | + visibility: hidden; | ||
106 | +} | ||
107 | + | ||
108 | + | ||
98 | /** SPINNER ******************************************************************/ | 109 | /** SPINNER ******************************************************************/ |
99 | 110 | ||
100 | .lds-ripple { | 111 | .lds-ripple { |
flaskr/templates/home.html
@@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
50 | {% for block in column.blocks -%} | 50 | {% for block in column.blocks -%} |
51 | <article> | 51 | <article> |
52 | {% if block.title -%} | 52 | {% if block.title -%} |
53 | - <h3>{{ block.title }}</h3> | 53 | + <h3{% if block.slug %} id="{{ block.slug }}"{% endif %}>{{ block.title }}</h3> |
54 | {%- endif %} | 54 | {%- endif %} |
55 | {{ block.content | markdown | safe }} | 55 | {{ block.content | markdown | safe }} |
56 | </article> | 56 | </article> |