From 54fe9647c21042a6dcf4e7e8075fa2aab419c9f0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 12 Nov 2018 15:48:00 +0000 Subject: [PATCH] wiki: Format content just like we do on the blog Signed-off-by: Michael Tremer --- src/scss/style.scss | 10 +++++----- src/templates/blog/modules/post.html | 6 +++--- src/templates/wiki/page.html | 12 ++++++++++-- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/scss/style.scss b/src/scss/style.scss index 1b326cff..4e45e836 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -187,8 +187,8 @@ section { } } -.blog-post { - .blog-header { +.user-content { + .user-content-header { h4 { margin-bottom: 0; @@ -198,7 +198,7 @@ section { } } - .blog-content { + .user-content-body { h1, h2, h3, h4, h5, h6 { font-size: 1.375rem; font-weight: $headings-font-weight; @@ -220,7 +220,7 @@ section { } &.lightning-wire-labs { - .blog-header { + .user-content-header { h5 { a { color: $lwl; @@ -232,7 +232,7 @@ section { } } - .blog-content { + .user-content-body { a { color: $lwl; } diff --git a/src/templates/blog/modules/post.html b/src/templates/blog/modules/post.html index 6eb9c599..a8c29867 100644 --- a/src/templates/blog/modules/post.html +++ b/src/templates/blog/modules/post.html @@ -1,7 +1,7 @@ {% import ipfire.accounts as accounts %} -
-