From 34e20442c502b206e83b0329cc0d4e680e1d2218 Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 24 May 2023 18:46:22 -0400 Subject: Update posts section in Homepage - Most things look good now --- static/css/styles.css | 37 +----------- static/images/backgrounds/announcements_border.png | Bin 1704685 -> 643283 bytes templates/blog/archives.html | 4 +- templates/blog/articles.html | 10 ++-- templates/blog/categories.html | 4 +- templates/blog/home.html | 2 +- templates/blog/partials/base.html | 1 - templates/blog/partials/post_list.html | 62 +++++++++++++-------- templates/blog/partials/sidebar.html | 4 +- 9 files changed, 54 insertions(+), 70 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index 23051301..3df5c61e 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -20,6 +20,7 @@ body { min-width: 100%; min-height: 100%; z-index: -1; + object-fit: cover; } #overlay { @@ -147,11 +148,6 @@ blockquote { font-size: 11px; } -/* #posts tr { - border-bottom: solid 1px #dddddd; -} */ - - /* Pagination Table */ #pagination { margin: 20px auto; @@ -248,20 +244,6 @@ blockquote { padding: 0px; } -.ql-mathjax-block img, -.ql-mathjax-inline img { - float: none !important; -} - -.ql-mathjax-block img { - margin-bottom: 15px; - padding: 0px !important; -} - -.ql-mathjax-inline img { - padding: 0px !important; -} - .highlight { background: none !important; text-align: left !important; @@ -274,6 +256,8 @@ blockquote { .comment .highlight { width: 630px; + word-wrap: break-word; + overflow-x: auto; } .comment pre { @@ -323,21 +307,6 @@ blockquote { display: block; } -#recent-posts h1 { - margin: 0px; - padding: 0px; - font-size: 16px; - font-weight: bold; -} - -#recent-posts a { - color: #91b3ee; -} - -#recent-posts h1 a { - color: #56a6a1; -} - #article-body, #editor-container { font-size: 11px; diff --git a/static/images/backgrounds/announcements_border.png b/static/images/backgrounds/announcements_border.png index b758c1b7..6a626e5a 100644 Binary files a/static/images/backgrounds/announcements_border.png and b/static/images/backgrounds/announcements_border.png differ diff --git a/templates/blog/archives.html b/templates/blog/archives.html index 69cc0529..09ec4963 100644 --- a/templates/blog/archives.html +++ b/templates/blog/archives.html @@ -1,9 +1,9 @@ {% extends 'blog/partials/base.html' %} {% block content %} -

Archives

+

Archives

{% load static %} {% if archives %}
-