diff options
author | creedowl <creedowl@gmail.com> | 2020-01-19 15:28:15 +0300 |
---|---|---|
committer | creedowl <creedowl@gmail.com> | 2020-01-19 15:29:40 +0300 |
commit | b915672c8c454879ca3f533d6ce56a95d0974741 (patch) | |
tree | 5d566f3bd001b89efbec8134d7868feba50d0d64 | |
parent | a30552a85b3f8318ed6c22962dd634ed2e6a9895 (diff) |
feat(footer): move footer's style to main.css
-rw-r--r-- | layouts/partials/footer.html | 19 | ||||
-rw-r--r-- | static/css/main.css | 18 |
2 files changed, 18 insertions, 19 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2360360..21dded0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,22 +1,3 @@ -<style> - #footer { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - font-size: small; - } - - #footer a { - color: #a6a6a6; - transition: all 0.2s linear; - } - - #footer a:hover { - color: #263238; - } -</style> - <footer id="footer"> <div class="copyright"> <span>© 2019</span> - <span>{{ now.Format "2006"}} 🍦</span> diff --git a/static/css/main.css b/static/css/main.css index 315eb79..cb862e6 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -56,3 +56,21 @@ body { font-size: 1rem; margin-left: 1.5rem; } + +/* footer styles */ +#footer { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + font-size: small; +} + +#footer a { + color: #a6a6a6; + transition: all 0.2s linear; +} + +#footer a:hover { + color: #263238; +} |