diff --git a/theme/default/copyright.hbs b/theme/default/copyright.hbs new file mode 100644 index 0000000..48d86e2 --- /dev/null +++ b/theme/default/copyright.hbs @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/theme/default/foot.hbs b/theme/default/foot.hbs new file mode 100644 index 0000000..7ee207c --- /dev/null +++ b/theme/default/foot.hbs @@ -0,0 +1,7 @@ +{{> modal.hbs }} + + + + \ No newline at end of file diff --git a/theme/default/home.hbs b/theme/default/home.hbs index 401f1ab..a3d74f2 100644 --- a/theme/default/home.hbs +++ b/theme/default/home.hbs @@ -25,7 +25,6 @@ - {{> modal.hbs }} - + {{> foot.hbs }} \ No newline at end of file diff --git a/theme/default/post.hbs b/theme/default/post.hbs index 650da05..f472751 100644 --- a/theme/default/post.hbs +++ b/theme/default/post.hbs @@ -16,7 +16,6 @@ - {{> modal.hbs }} - + {{> foot.hbs }} \ No newline at end of file diff --git a/theme/default/sidebar.hbs b/theme/default/sidebar.hbs index 010f48b..955915b 100644 --- a/theme/default/sidebar.hbs +++ b/theme/default/sidebar.hbs @@ -12,9 +12,5 @@ {{ /each }} - + {{> copyright.hbs }} \ No newline at end of file diff --git a/theme/default/static/style.css b/theme/default/static/style.css index 7b34ea4..a7146ed 100644 --- a/theme/default/static/style.css +++ b/theme/default/static/style.css @@ -141,6 +141,11 @@ blockquote { margin-left: 0; } +/* Footer -- Not needed on desktop */ +.footer { + display: none; +} + /* Sidebar */ .sidebar { float: left; @@ -226,7 +231,7 @@ blockquote { color: #f06292; } -.sidebar .copyright { +.copyright { font-size: 0.6em; color: rgb(200, 200, 200); } @@ -451,6 +456,13 @@ blockquote { .with-divider.with-divider-center-mobile::after { margin-left: calc(50% - 20px) !important; } + + /* We need footer on mobile */ + .footer { + display: block; + text-align: center; + width: 100%; + } } /* Modal */