diff options
| author | Bobby <[email protected]> | 2022-12-28 04:58:59 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-12-28 04:58:59 -0500 |
| commit | 5c69caca0f9c12c98a1bd710af46299a9ef219d6 (patch) | |
| tree | 24909c9550b175a0c3946eb346ad12d8a569983e | |
| parent | 51a42e119ac6076c017dcb0a76c30989395df0c3 (diff) | |
| download | thatcomputerscientist-5c69caca0f9c12c98a1bd710af46299a9ef219d6.tar.xz thatcomputerscientist-5c69caca0f9c12c98a1bd710af46299a9ef219d6.zip | |
Fixing Footer
| -rw-r--r-- | static/css/main.css | 11 | ||||
| -rw-r--r-- | templates/blog/partials/base.html | 43 | ||||
| -rw-r--r-- | 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 @@ <div id="navbar"> <ul> - <li><a class="button" href="{% url 'dev_status:repo' 'thatcomputerscientist' %}">Source Code</a></li> {% if user.is_authenticated %} + <li><a class="button" href="{% url 'blog:account' %}">My Account</a></li> <li><a class="button button-special" href="{% url 'users:logout' %}">Logout</a></li> {% endif %} </ul> @@ -71,45 +71,6 @@ them will redirect you to any other website. </p> </div> - - {% comment %} <div style="width: 1000px; margin: 0px auto 40px auto"> - <hr style="margin: 2rem 0" /> - <footer style="text-align: center"> - <center> - <table> - <tr> - {% load ad %} {% for i in '12345789'|make_list %} - <td style="padding: 0 2px"> - <img src="{{'buttons'|ad }}" alt="Ad" style="width: 88px; height: 31px;" /> - </td> - {% endfor %} - </tr> - </table> - <table> - <tr> - {% for i in '12345'|make_list %} - <td style="padding: 0 2px"> - <img src="{{'buttons'|ad }}" alt="Ad" style="width: 88px; height: 31px;" /> - </td> - {% endfor %} - </tr> - </table> - <div style="width: 600px; margin-left: auto; margin-right: auto; !important"> - <hr> - <p>© {% now "Y" %} That Computer Scientist. Source code available on - <a href="https://github.com/luciferreeves/thatcomputerscientist" - >GitHub</a - >.</p> - <p> - <b>PS:</b> 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. - </p> - </div> - </center> - </footer> - </div> {% endcomment %} - - </div> + </div> </body> </html> 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 %} <li> <span> - <img src="{% static 'images/site/icons/setup.gif' %}" alt="My Account" border="0"> + <img src="{% static 'images/site/icons/setup.gif' %}" alt="Source Code" border="0"> </span> <span> - <a href="{% url 'blog:account' %}"> - My Account + <a href="{% url 'dev_status:repo' 'thatcomputerscientist' %}"> + Source Code </a> </span> </li> |
