pidgin/nest

Flatten footer lines.

2019-08-19, Elliott Sales de Andrade
5c032220f854
Parents 10994c9a2521
Children 4f6c7ad8b97f
Flatten footer lines.

These are much too long vertically, and should work better as one long
line with a bit of space between items.

Also, `footline-columns` is used in multiple places; it should be a
class, not an id.
--- a/hugo/layouts/partials/footline.html Mon Aug 19 02:06:10 2019 -0400
+++ b/hugo/layouts/partials/footline.html Mon Aug 19 02:32:18 2019 -0400
@@ -28,7 +28,7 @@
<div>
{{ with .Site.Menus.shortcuts }}
- <ul id="footline-columns">
+ <ul class="footline-columns">
{{ range sort . "Weight" }}
<li>
{{ .Pre }}
@@ -39,24 +39,18 @@
</ul>
{{ end }}
- <div id="footline-columns">
- <p>
- &copy; Pidgin <br/>
- </p>
-
- <div class="footline-license">
- {{ T "License" }}:
-
- <ul>
- <li>
- {{ T "Content" }} - GPL3
- </li>
- <li>
- <a href="https://github.com/matcornic/hugo-theme-learn">{{ T "Theme" }}</a> - MIT<br/>
- </li>
- </ul>
- </div>
- </div>
+ <ul class="footline-columns">
+ <li>
+ &copy; Pidgin
+ </li>
+
+ <li>
+ {{ T "Content" }} - GPL3
+ </li>
+ <li>
+ <a href="https://github.com/matcornic/hugo-theme-learn">{{ T "Theme" }}</a> - MIT
+ </li>
+ </ul>
</div>
</footer>
--- a/hugo/static/css/custom.css Mon Aug 19 02:06:10 2019 -0400
+++ b/hugo/static/css/custom.css Mon Aug 19 02:32:18 2019 -0400
@@ -71,25 +71,16 @@
width: 49%;
}
-#footline-columns {
+.footline-columns {
margin: 0;
- display: inline-block;
- width: 200px;
- text-align: left;
vertical-align: top;
padding: 0;
}
-#footline-columns > li {
+.footline-columns > li {
+ display: inline-block;
list-style-type: none;
-}
-
-.footline-license > ul {
- margin-top: 0;
-}
-
-.footline-license > ul > li {
- list-style-type: none;
+ padding-right: 1em;
}
.build-info {