Merge pull request #20 from 526avijitgupta/footer-fixes
Footer & Header fixes
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
<main id="content">
|
<main id="content">
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
{{- partial "footer.html" . -}}
|
|
||||||
</main>
|
</main>
|
||||||
|
{{- partial "footer.html" . -}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -2,6 +2,12 @@ html {
|
|||||||
background: white;
|
background: white;
|
||||||
color: black;
|
color: black;
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: "Roboto", sans-serif;
|
||||||
|
min-height: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin-bottom: 170px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* HEADER */
|
/* HEADER */
|
||||||
@@ -41,6 +47,12 @@ html {
|
|||||||
.header .header-nav.small {
|
.header .header-nav.small {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
.header-nav a {
|
||||||
|
transition: color 0.15s ease-in-out;
|
||||||
|
}
|
||||||
|
.header-nav a:hover {
|
||||||
|
color: teal;
|
||||||
|
}
|
||||||
.header-nav .avatar {
|
.header-nav .avatar {
|
||||||
border: 0.5px solid white;
|
border: 0.5px solid white;
|
||||||
border-radius: 18px;
|
border-radius: 18px;
|
||||||
@@ -83,7 +95,7 @@ html {
|
|||||||
.nav-links .nav-icons-divider {
|
.nav-links .nav-icons-divider {
|
||||||
border-color: inherit;
|
border-color: inherit;
|
||||||
border-left: 1px solid;
|
border-left: 1px solid;
|
||||||
margin-right: 4.5px;
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
.nav-links #dark-theme-toggle:hover {
|
.nav-links #dark-theme-toggle:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -97,11 +109,15 @@ html {
|
|||||||
|
|
||||||
/* FOOTER */
|
/* FOOTER */
|
||||||
.footer {
|
.footer {
|
||||||
|
bottom: 0;
|
||||||
border-top: 1px solid #eee;
|
border-top: 1px solid #eee;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
margin-top: 50px;
|
left: 0;
|
||||||
|
overflow: hidden;
|
||||||
padding: 40px 0;
|
padding: 40px 0;
|
||||||
|
position: absolute;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer span {
|
.footer span {
|
||||||
@@ -123,6 +139,7 @@ html {
|
|||||||
/* ICONS */
|
/* ICONS */
|
||||||
.feather {
|
.feather {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
margin: -3px auto;
|
||||||
stroke-width: 1.75;
|
stroke-width: 1.75;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
}
|
}
|
||||||
@@ -171,7 +188,7 @@ code {
|
|||||||
/* SINGLE */
|
/* SINGLE */
|
||||||
#content {
|
#content {
|
||||||
width: 810px;
|
width: 810px;
|
||||||
margin: 180px auto 0;
|
margin: 120px auto 0;
|
||||||
}
|
}
|
||||||
.post .post-date {
|
.post .post-date {
|
||||||
color: gray;
|
color: gray;
|
||||||
|
|||||||
Reference in New Issue
Block a user