From 473c004f176f978332a273518619eccb946180a1 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Tue, 27 Feb 2018 08:26:28 +0100 Subject: [PATCH] refining theme details --- themes/cetcat/static/css/main.css | 20 ++++++++++------- themes/cetcat/templates/index.html | 35 ++++++++++++++++++++---------- themes/cetcat/templates/page.html | 9 ++++++++ 3 files changed, 45 insertions(+), 19 deletions(-) diff --git a/themes/cetcat/static/css/main.css b/themes/cetcat/static/css/main.css index 07c0721b3..47719212c 100644 --- a/themes/cetcat/static/css/main.css +++ b/themes/cetcat/static/css/main.css @@ -40,7 +40,7 @@ body{ font-size: 16px; line-height:1.8; font-style: normal; - background-color: rgb(252, 255, 120); + background-color: rgba(252, 255, 120, .7); color:black; } header { @@ -54,8 +54,8 @@ header { } #content.index header{ font-family: 'CMUconcrete'; - font-size: 26px; - line-height: 1.6; + font-size: 22px; + line-height: 1.4; letter-spacing: .035em; } #content.index header em{ @@ -159,6 +159,9 @@ pre{ .summary p{ display: inline; } + .summary.longread{ + font-size: 150%; + } .long-read .hentry{ width:calc(400px + 2em); } @@ -181,7 +184,7 @@ pre{ font-size: 190%; font-weight: bold; line-height: 1.10; - margin:0; + margin:0 0 .5em 0; } .hentry .article-info .entry-title a{ text-decoration: none; @@ -189,14 +192,15 @@ pre{ /* date */ .event-details{ width: 100%; - font-family: 'CMUconcrete'; - font-size: 12px; - margin:.5em 0 1em 0; + font-family: 'liberation'; + font-size: 10px; + margin:.5em 0 0; } /* ascii art styling */ .hentry pre{ font-size: 14.4px; font-weight: normal; + clear:both; /*to prevent the ascii to break up*/ } /* featured image */ .hentry .article-info .featured-image img{ @@ -246,7 +250,7 @@ pre{ } .entry-content-container, #page-content-container{ width: calc(100% - 285px); - background-color: rgba(255,255,0,.3); + /*background-color: rgba(255,255,0,.3);*/ float: right; padding:30px; margin-bottom:25px; diff --git a/themes/cetcat/templates/index.html b/themes/cetcat/templates/index.html index 4b087798e..7488b1867 100644 --- a/themes/cetcat/templates/index.html +++ b/themes/cetcat/templates/index.html @@ -19,24 +19,26 @@
{% endif %} -
{{ article.summary }} + +