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

gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2017-09-26 11:53:12 +0300
committerJustin Berthault <justin.berthault@zaclys.net>2017-09-26 11:53:12 +0300
commit922e8658b17e4d101becfc5a68be3f91e202db71 (patch)
tree3b2939673715e4f00edc7a52f76a771304f6bd51
parent3d5f973c9f730e3d3bb6d1343321a3a8f7826296 (diff)
Center nav content on index only
-rw-r--r--layouts/index.html2
-rw-r--r--static/css/style.css5
2 files changed, 5 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index a8d2f13..cc29745 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -26,7 +26,7 @@
{{ .Summary }}
</article>
{{ end }}
-<nav>
+<nav id="index">
<a href="{{ .Site.BaseURL }}post/">Voir le reste des billets</a>
</nav>
{{ end }}
diff --git a/static/css/style.css b/static/css/style.css
index bd7b242..7cb5221 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -173,7 +173,7 @@ h3 {
h1 i {
padding-right: 1rem;
}
-nav {
+#index {
text-align: center;
}
img {
@@ -226,6 +226,9 @@ img {
float: right;
width: 640px;
}
+ #TableOfContents {
+ max-width: 50%;
+ }
.gallery-item {
width: 20%;
}