From 5c69caca0f9c12c98a1bd710af46299a9ef219d6 Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 28 Dec 2022 04:58:59 -0500 Subject: Fixing Footer --- static/css/main.css | 11 +++++++-- templates/blog/partials/base.html | 43 ++---------------------------------- templates/blog/partials/sidebar.html | 6 ++--- 3 files changed, 14 insertions(+), 46 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index 84a0cea5..f4e00aaa 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -187,6 +187,14 @@ input { display: inline; } +#footer { + clear: both; + margin: 20px auto; + padding: 5px 0px 0px 0px; + width: 1000px; + display: block; +} + #login-form div { margin: 0px 0px 15px 0px; padding: 0px; @@ -206,11 +214,10 @@ input { #recent-posts a { color: #91b3ee; - /* color: #56a6a1; */ } #recent-posts h1 a { - color: #91b3ee; + color: #56a6a1; } diff --git a/templates/blog/partials/base.html b/templates/blog/partials/base.html index 5c8ba715..79b9f4f2 100644 --- a/templates/blog/partials/base.html +++ b/templates/blog/partials/base.html @@ -32,8 +32,8 @@ - - {% comment %}
-
-
-
- - - {% load ad %} {% for i in '12345789'|make_list %} - - {% endfor %} - -
- Ad -
- - - {% for i in '12345'|make_list %} - - {% endfor %} - -
- Ad -
-
-
-

© {% now "Y" %} That Computer Scientist. Source code available on - GitHub.

-

- PS: The ads shown on this website are fake and purely for - aesthetic purposes. I do not earn any money from them, neither clicking - them will redirect you to any other website. -

-
-
-
-
{% endcomment %} - - + diff --git a/templates/blog/partials/sidebar.html b/templates/blog/partials/sidebar.html index 264c651c..a371fd6b 100644 --- a/templates/blog/partials/sidebar.html +++ b/templates/blog/partials/sidebar.html @@ -106,11 +106,11 @@ {% if user.is_authenticated %}
  • - My Account + Source Code - - My Account + + Source Code
  • -- cgit v1.2.3