From 8c74821dea88745d5d6eb63aa865b51d3d0a9057 Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Mon, 8 Apr 2019 00:02:36 +0200 Subject: Fixing RSS feeds and code block highlights --- crumbs/static/css/crumbs.css | 16 ++++++++++++---- pelicanconf.py | 1 + 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/crumbs/static/css/crumbs.css b/crumbs/static/css/crumbs.css index 0077c32..e789e77 100644 --- a/crumbs/static/css/crumbs.css +++ b/crumbs/static/css/crumbs.css @@ -1,6 +1,6 @@ /************************************** - BASIC DEFINITIONS + BASIC DEFINITIONS **************************************/ @@ -85,9 +85,9 @@ h1.normal { } .navigation a { - + color:#FFF; - + text-decoration: none; padding-left: 48px; text-transform: lowercase; @@ -127,6 +127,14 @@ pre, code { font-weight: 700; } +pre { + white-space: pre-wrap; /* Since CSS 2.1 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ +} + code { background: #bdbab1; color: #4b505a; @@ -144,7 +152,7 @@ code { padding: 3px 3px; } */ .cursor { - animation: flash 0.75s infinite alternate; + animation: flash 0.75s infinite alternate; } @keyframes flash { diff --git a/pelicanconf.py b/pelicanconf.py index 29b5d2a..f88228b 100755 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -71,6 +71,7 @@ AUTHOR_FEED_ATOM = None FEED_RSS = 'rss.xml' CATEGORY_FEED_RSS = '%s/rss.xml' +RSS_FEED_SUMMARY_ONLY = False JINJA_ENVIRONMENT = { 'extensions': ['webassets.ext.jinja2.AssetsExtension', 'jinja2.ext.with_'] -- cgit v1.2.3