Merge pull request #18 from 526avijitgupta/fix-footer

Fix footer
This commit is contained in:
Yash Mehrotra
2021-06-16 18:30:52 +05:30
committed by GitHub
4 changed files with 19 additions and 8 deletions

View File

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

View File

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

View File

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

View File

@@ -9,7 +9,6 @@ html {
background-color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 2px 0px;
color: black;
font-family: "Ubuntu", sans-serif;
font-size: 1.04rem;
height: 70px;
left: 0;
@@ -98,16 +97,29 @@ html {
/* FOOTER */
.footer {
border-top: 1px solid #eee;
color: inherit;
margin-top: 50px;
padding: 40px 0;
text-align: center;
}
.footer a {
font-family: "Ubuntu", sans-serif;
color: #000000;
.footer span {
display: block;
font-size: 0.9rem;
padding: 1px 0;
}
.footer span a {
color: inherit;
}
/** COMMON **/
.header .footer {
font-family: "Ubuntu", sans-serif;
}
/* ICONS */
.feather {
height: 20px;