Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/davidhampgonsalves/hugo-black-and-light-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html4
-rw-r--r--layouts/partials/styles.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index b47b8f4..d20c4f8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -15,10 +15,10 @@
<div id=links>
{{ if .PrevInSection }}
- <a class="basic-alignment left" href="{{.PrevInSection.Permalink}}">&laquo; {{.PrevInSection.Title}}</a>
+ <a class="left-justify" href="{{.PrevInSection.Permalink}}">&laquo; {{.PrevInSection.Title}}</a>
{{ end }}
{{ if .NextInSection }}
- <a class="basic-alignment left" href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}} &raquo;</a>
+ <a class="right-justify" href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}} &raquo;</a>
{{ end }}
</div>
</section>
diff --git a/layouts/partials/styles.html b/layouts/partials/styles.html
index bcea6b8..8647880 100644
--- a/layouts/partials/styles.html
+++ b/layouts/partials/styles.html
@@ -35,10 +35,12 @@
.left-justify {
float: left;
+ width: 45%;
}
.right-justify {
float:right;
+ width: 45%;
}
pre, code {