Skip to content

Commit 63a9ea7

Browse files
committed
Fix anchor positions
1 parent f2d4eaf commit 63a9ea7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

_pages/presentations.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ permalink: /presentations/
2121
<div class="row">
2222
{% endif %}
2323

24-
<span id="{{presi.id}}">&nbsp;</span>
2524
<div class="col-sm-12">
26-
<div class="well text-justify clearfix">
27-
<pubtit>
25+
<div id="{{presi.id}}" class="well text-justify clearfix" style="scroll-margin-top: 80px;">
26+
<pubtit>
2827
<a style="text-decoration:none;" href="#{{presi.id}}"> {{ presi.title }},
2928
{{ presi.location | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines }},
3029
<em>{{ presi.speaker }}</em>,
@@ -34,10 +33,10 @@ permalink: /presentations/
3433
</pubtit>
3534
<img src="{{ site.url }}{{ site.baseurl }}/images/pubpic/{{ presi.id }}.gif"
3635
class="img-responsive"
37-
style="border-radius:2px; max-width:512px; float: left;" />
36+
style="border-radius:2px; max-width:512px; min-height:200px; float: left;" />
3837
<img src="{{ site.url }}{{ site.baseurl }}/images/pubpic/{{ presi.id }}.png"
3938
class="gif-animated-static img-responsive "
40-
style="border-radius:2px; max-width:512px; float: left;" />
39+
style="border-radius:2px; max-width:512px; min-height:200px; float: left;" />
4140
{{ presi.description | markdownify }}
4241
</div>
4342
</div>
@@ -65,8 +64,9 @@ permalink: /presentations/
6564
<div style="padding-left: 40px;">
6665

6766
{% for pres in sorted_pres %}
68-
<b>{{ pres.title }}</b> <br />
69-
<em>{{ pres.speaker }} </em> at the {{pres.location}} ({{ pres.date | date: '%-d %B %Y' }}) {{ pres.artifacts }}
67+
<div id="{{ pres.id }}" style="scroll-margin-top: 80px; margin-bottom: 10px;">
68+
<b>{{ pres.title }}</b> <br />
69+
<em>{{ pres.speaker }} </em> at the {{pres.location}} ({{ pres.date | date: '%-d %B %Y' }}) {{ pres.artifacts }}
70+
</div>
7071
{% endfor %}
71-
7272
</div>

0 commit comments

Comments
 (0)