From aec4073669917ce1cfc80e4a4b42e2eb1a6ce53b Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 18 May 2019 15:45:21 -0400 Subject: templates: Add article.html. * scss/style.scss: Add styling for .article (same as .news-item). * templates/html/article.html: New template. --- scss/style.scss | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'scss/style.scss') diff --git a/scss/style.scss b/scss/style.scss index dbaa1cc..3483c85 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -98,20 +98,23 @@ // News -.news-item .content { - .meta { - margin-bottom: 0.9em; - text-transform: uppercase; - font-size: 0.9em; - border-left: 1px solid $fsfi-lbrown; - padding-left: 10px; - } - - .header h1 { - margin-bottom: 0em; - } - .header h2 { - margin-top: 0.4em; - margin-bottom: 0.3em; - } +.news-item, +.article { + .content { + .meta { + margin-bottom: 0.9em; + text-transform: uppercase; + font-size: 0.9em; + border-left: 1px solid $fsfi-lbrown; + padding-left: 10px; + } + + .header h1 { + margin-bottom: 0em; + } + .header h2 { + margin-top: 0.4em; + margin-bottom: 0.3em; + } + } } -- cgit v1.2.3