Fix footer

This commit is contained in:
Avijit 🚀
2021-06-16 14:38:36 +02:00
parent 8ae358c2bd
commit aa8b1bc1a1
4 changed files with 15 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
{{- partial "header.html" . -}} {{- partial "header.html" . -}}
<main id="content"> <main id="content">
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}
</main>
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
</main>
</body> </body>
</html> </html>

View File

@@ -1,6 +1,5 @@
<footer class="footer"> <footer class="footer">
<span>&copy; {{ now.Year }} {{ .Site.Params.Footer}}</span> <span>&copy; {{ now.Year }} {{ .Site.Params.Footer}}</span>
<br>
<span> <span>
Made with &#10084;&#65039; using <a href="https://github.com/526avijitgupta/gokarna">Gokarna</a> Made with &#10084;&#65039; using <a href="https://github.com/526avijitgupta/gokarna">Gokarna</a>
</span> </span>

View File

@@ -10,8 +10,8 @@ pre {
color: #e2e2e2 !important; color: #e2e2e2 !important;
} }
.footer a { .footer {
color: #e2e2e2 !important; border-top-color: #333;
} }
/* TODO: Check if this is needed or not */ /* TODO: Check if this is needed or not */

View File

@@ -98,12 +98,22 @@ html {
/* FOOTER */ /* FOOTER */
.footer { .footer {
border-top: 1px solid #eee;
color: inherit;
margin-top: 50px;
padding: 40px 0;
text-align: center; text-align: center;
} }
.footer a { .footer span {
display: block;
font-size: 0.85rem;
padding: 1px 0;
}
.footer span a {
color: inherit;
font-family: "Ubuntu", sans-serif; font-family: "Ubuntu", sans-serif;
color: #000000;
} }
/** COMMON **/ /** COMMON **/