aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-04-08 00:02:36 +0200
committerKatharina Fey <kookie@spacekookie.de>2019-04-08 00:05:22 +0200
commit8c74821dea88745d5d6eb63aa865b51d3d0a9057 (patch)
tree86d820a849b48e2342831f3f4c44b57670735864
parent38e2353f1bfbe5f68b7751642706de9703fb48ef (diff)
Fixing RSS feeds and code block highlights
-rw-r--r--crumbs/static/css/crumbs.css16
-rwxr-xr-xpelicanconf.py1
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_']