From 95dbf3536db83f73817fd572b999ca1e1f721cf5 Mon Sep 17 00:00:00 2001 From: Leander Hutton Date: Thu, 4 Aug 2022 09:41:15 -0400 Subject: [PATCH] updated css --- static/css/main.css | 13 +++--- templates/article.html | 4 +- templates/base.html | 2 +- templates/base.html.old | 85 ------------------------------------ templates/categories.html | 4 +- templates/index.html | 4 +- templates/landing.html | 4 +- templates/landing.html.old | 83 ----------------------------------- templates/page.html | 4 +- templates/portfolio.html | 13 ------ templates/portfolio.html.old | 84 ----------------------------------- templates/tags.html | 4 +- 12 files changed, 20 insertions(+), 284 deletions(-) delete mode 100644 templates/base.html.old delete mode 100644 templates/landing.html.old delete mode 100644 templates/portfolio.html delete mode 100644 templates/portfolio.html.old diff --git a/static/css/main.css b/static/css/main.css index ab7e46d..2716d81 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,5 +1,5 @@ @import url("pygment.css"); -body { margin:0px; padding:20px 0px; text-align:center; font-family:"Times New Roman", Times, serif; color:#000000; } +body { margin:0px; padding:20px 0px; text-align:center; font-family: Sans-Serif; color:#000000; } a, a:visited { text-decoration:none; color:#1d2a78; } a:hover { text-decoration:underline; } h1, h2, h3, h4, h5, h6, h7 { margin:0px; line-height: 1.1em; } @@ -10,15 +10,16 @@ blockquote cite { display:block; padding:10px 20px 0 0; text-align:right; } input, textarea { padding:5px; border:1px solid #8A8A8A; background:#EAEAEA; } input:hover, textarea:hover, blockquote:hover { background:#E5E5E5; } -#wrap { margin:0px auto; text-align:left; line-height: 1.4; } -#container { float:right; } -#sidebar { overflow:hidden; clear:left; text-align:right; width:200px; height:auto; padding:0px 15px 0px 0px; border-right:1px dotted #C8C8C8; } +#wrap { margin:0px auto; text-align:left; line-height: 1.4; width: 100%; } +#container { float: right; width: 70% } +#sidebar { overflow:hidden; clear:left; text-align:right; width:25%; height:auto; padding:0px 15px 0px 0px; border-right:1px dotted #C8C8C8; } +#sidebar .description { display:block; font-size: 1.1em; width:100%; height:auto; margin:0px 0px 10px 0px; } #sidebar li { list-style-type:none; font-size: 1.2em; line-height: 1.3em; font-weight: bold; } #sidebar > li { margin:20px 0px; } #sidebar h1 { border-bottom:1px dotted #C8C8C8; } #sidebar .description { display:block; font-size: 1.1em; width:100%; height:auto; margin:0px 0px 10px 0px; } #landing img { display:block; border:1px solid #000000 !important; margin-left: auto; margin-right: auto; max-height: 100%; max-width: 100%; } -#landing p { text-align: center; font-size: 1.4em; } +#landing p { text-align: center; font-size: 1.2em; } ul.sub-menu, ul.children { margin:0px 10px 0px 0px; } @@ -47,7 +48,7 @@ ul.sub-menu, ul.children { margin:0px 10px 0px 0px; } @media screen and (max-width: 600px) { .pcolumn { flex: 100%; max-width: 100%; } } -.entry { font-size: 1.15em; padding-right: 1.0em; max-width:1024px; } +.entry { font-size: 1.1em; padding-right: 1.0em; max-width:1024px; } .entry h2, h3, h4, h5 { margin:30px 0px 10px 0px; } .entry img { display:block; border:1px solid #000000 !important; margin-left: auto; margin-right: auto; max-height: 100%; max-width: 100%; } diff --git a/templates/article.html b/templates/article.html index 684500d..56c4244 100644 --- a/templates/article.html +++ b/templates/article.html @@ -1,8 +1,8 @@ {% extends "base.html" %} {% block title %}{{ super() }} : {{ article.title }}{% endblock %} {% block content %} -
-
+
+

{#{{ SITENAME }}#} {% if SITESUBTITLE %} {{ SITESUBTITLE }}{% endif %} {#:#} diff --git a/templates/base.html b/templates/base.html index e0da4d7..ea1696e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,7 +26,7 @@ {% block content %} {% endblock %} -