Skip to content

Commit cbb1d54

Browse files
author
Matthieu Oger
committed
Fix pager and header in tutorial
1 parent ca50dba commit cbb1d54

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

_layouts/tutorial.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<div class="pager pager--top-separator pager--em">
3636
<section class="pager__older">
3737
{% if page.links.previous %}
38-
<a href="{{ page.links.previous }}" title="Previous chapter">Previous</a>
38+
<a href="{{ page.links.previous }}" title="Previous chapter">Prev.</a>
3939
{% endif %}
4040
</section>
4141

@@ -79,7 +79,7 @@ <h2 class="entry__title">
7979
<div class="pager pager--bottom-separator pager--em">
8080
<section class="pager__older">
8181
{% if page.links.previous %}
82-
<a href="{{ page.links.previous }}" title="Previous chapter">Previous</a>
82+
<a href="{{ page.links.previous }}" title="Previous chapter">Prev.</a>
8383
{% endif %}
8484
</section>
8585

_sources/tutorial.scss

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212

1313
font-size: 0.8em;
1414

15+
// Decrease the font a bit on small screen
16+
@media only screen and (max-width: $phone) {
17+
font-size: 0.6em;
18+
}
19+
1520
nav {
1621
display: table;
1722
width: 100%;

static/css/pixelnest.css

+3
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,9 @@ li {
617617
padding: 12px 10px;
618618
background-color: rgba(240, 240, 240, 0.8);
619619
font-size: 0.8em; }
620+
@media only screen and (max-width: 600px) {
621+
.tutorial .page-header {
622+
font-size: 0.6em; } }
620623
.tutorial .page-header nav {
621624
display: table;
622625
width: 100%; }

0 commit comments

Comments
 (0)