diff --git a/assets/styles/blog.css b/assets/styles/blog.css index 084851a..49b935c 100644 --- a/assets/styles/blog.css +++ b/assets/styles/blog.css @@ -57,10 +57,6 @@ body { text-align: center; background: #ddd; margin-top: 20px; - position: fixed; - left: 0; - bottom: 0; - width: 100%; } .image { diff --git a/assets/styles/footer.css b/assets/styles/footer.css new file mode 100644 index 0000000..954ce7c --- /dev/null +++ b/assets/styles/footer.css @@ -0,0 +1,19 @@ +#page-container { + position: relative; + min-height: 100vh; +} + +#content-wrap { + padding-bottom: 2.5rem; +} + +#footer { + padding: 20px; + text-align: center; + background: #ddd; + margin-top: 20px; + position: absolute; + bottom: 0; + width: 100%; + height: 2.5rem; +} \ No newline at end of file diff --git a/index.html b/index.html index 6d07ba2..2df1ec8 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,7 @@ +