add an arrow to jump to the top
This commit is contained in:
parent
23657a4629
commit
7f2b61fb1f
2 changed files with 11 additions and 2 deletions
|
@ -48,8 +48,10 @@ data:
|
||||||
<table>
|
<table>
|
||||||
{% for year in years -%}
|
{% for year in years -%}
|
||||||
<tr>
|
<tr>
|
||||||
<td> </td>
|
<td class="top">
|
||||||
<td><h2>{{year}}</h2></td>
|
<a href="#top">↑</a></td>
|
||||||
|
<td>
|
||||||
|
<h2 id="{{year}}">{{year}}</h2></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{%- for post in collections.posts.pages %}
|
{%- for post in collections.posts.pages %}
|
||||||
|
|
|
@ -359,3 +359,10 @@ table, tr, td { border: none; }
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.top a, .top a:visited {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue