From 26381ccbfb097e89a99dc77795717556784106d9 Mon Sep 17 00:00:00 2001 From: Leander Hutton Date: Tue, 27 Jul 2021 20:49:53 -0400 Subject: [PATCH] Updates --- README.md | 0 static/css/main.css | 16 ++++-- static/css/pygment.css | 2 +- static/css/pygment.css.min | 0 templates/analytics.html | 0 templates/archives.html | 0 templates/article.html | 6 ++- templates/author.html | 0 templates/authors.html | 0 templates/base.html | 13 ++--- templates/categories.html | 5 ++ templates/category.html | 0 templates/comments.html | 0 templates/disqus_script.html | 0 templates/github.html | 0 templates/index.html | 6 ++- templates/landing.html | 80 ++---------------------------- templates/page.html | 6 +++ templates/pagination.html | 0 templates/piwik.html | 5 +- templates/portfolio.html | 95 +++++------------------------------- templates/tag.html | 0 templates/taglist.html | 0 templates/tags.html | 6 ++- templates/translations.html | 0 templates/twitter.html | 0 26 files changed, 60 insertions(+), 180 deletions(-) mode change 100755 => 100644 README.md mode change 100755 => 100644 static/css/main.css mode change 100755 => 100644 static/css/pygment.css mode change 100755 => 100644 static/css/pygment.css.min mode change 100755 => 100644 templates/analytics.html mode change 100755 => 100644 templates/archives.html mode change 100755 => 100644 templates/article.html mode change 100755 => 100644 templates/author.html mode change 100755 => 100644 templates/authors.html mode change 100755 => 100644 templates/base.html mode change 100755 => 100644 templates/categories.html mode change 100755 => 100644 templates/category.html mode change 100755 => 100644 templates/comments.html mode change 100755 => 100644 templates/disqus_script.html mode change 100755 => 100644 templates/github.html mode change 100755 => 100644 templates/index.html mode change 100755 => 100644 templates/landing.html mode change 100755 => 100644 templates/page.html mode change 100755 => 100644 templates/pagination.html mode change 100755 => 100644 templates/piwik.html mode change 100755 => 100644 templates/portfolio.html mode change 100755 => 100644 templates/tag.html mode change 100755 => 100644 templates/taglist.html mode change 100755 => 100644 templates/tags.html mode change 100755 => 100644 templates/translations.html mode change 100755 => 100644 templates/twitter.html diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/static/css/main.css b/static/css/main.css old mode 100755 new mode 100644 index 36e4f35..ab7e46d --- a/static/css/main.css +++ b/static/css/main.css @@ -1,6 +1,5 @@ @import url("pygment.css"); - -body { margin:0px; padding:20px 0px; text-align:center; font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif; color:#000000; } +body { margin:0px; padding:20px 0px; text-align:center; font-family:"Times New Roman", Times, 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; } @@ -11,10 +10,10 @@ 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; font-size: 14px; line-height: 1.4; } +#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; } -#sidebar li { list-style-type:none; font-size: 1.2em; font-weight: bold; } +#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; } @@ -41,7 +40,14 @@ ul.sub-menu, ul.children { margin:0px 10px 0px 0px; } .portfolio h4 { font-size: 2.0em; font-family: sans; } .portfolio img { display:block; border:1px solid #000000 !important; margin-left: auto; margin-right: auto; max-height: 100%; max-width: 100%; } -.entry { font-size: 1.15em; line-height: 1.3em; padding-right: 1.0em; max-width:1024px; } +.prow { display: flex; flex-wrap: wrap; padding: 0 4px; } +.pcolumn { flex: 25%; max-width: 25%; padding: 0 4px; } +.pcolumn img { margin-top: 8px; vertical-align: middle; } +@media screen and (max-width: 800px) { .pcolumn { flex: 50%; max-width: 50%; } } +@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 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/static/css/pygment.css b/static/css/pygment.css old mode 100755 new mode 100644 index 23f26d4..892ff9d --- a/static/css/pygment.css +++ b/static/css/pygment.css @@ -2,8 +2,8 @@ .highlight pre { color: #FFFFFF; background-color: #333333; - padding: 10px; white-space: pre-wrap; + padding: 0.20em; font-size: 14px; } diff --git a/static/css/pygment.css.min b/static/css/pygment.css.min old mode 100755 new mode 100644 diff --git a/templates/analytics.html b/templates/analytics.html old mode 100755 new mode 100644 diff --git a/templates/archives.html b/templates/archives.html old mode 100755 new mode 100644 diff --git a/templates/article.html b/templates/article.html old mode 100755 new mode 100644 index 32d7580..684500d --- a/templates/article.html +++ b/templates/article.html @@ -1,6 +1,9 @@ {% extends "base.html" %} {% block title %}{{ super() }} : {{ article.title }}{% endblock %} {% block content %} +
+
+

{#{{ SITENAME }}#} {% if SITESUBTITLE %} {{ SITESUBTITLE }}{% endif %} {#:#} {{ article.title }}

@@ -23,7 +26,8 @@ document.getElementsByTagName('body')[0]).appendChild(dsq); })(); - {% endif %} +
+
{% endblock %} diff --git a/templates/author.html b/templates/author.html old mode 100755 new mode 100644 diff --git a/templates/authors.html b/templates/authors.html old mode 100755 new mode 100644 diff --git a/templates/base.html b/templates/base.html old mode 100755 new mode 100644 index 658cd40..742fe7f --- a/templates/base.html +++ b/templates/base.html @@ -22,14 +22,8 @@ -
-
-
- {% block content %} - {% endblock %} -
-
- +{% block content %} +{% endblock %}