fsfi

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit aec4073669917ce1cfc80e4a4b42e2eb1a6ce53b
parent 1d74a74ad8dfee22ecffd91d2410258eb77613cd
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 18 May 2019 15:45:21 -0400

templates: Add article.html.

* scss/style.scss: Add styling for .article (same as .news-item).
* templates/html/article.html: New template.

Diffstat:
scss/style.scss | 35+++++++++++++++++++----------------
templates/html/article.html | 37+++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 16 deletions(-)

diff --git 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; + } + } } diff --git a/templates/html/article.html b/templates/html/article.html @@ -0,0 +1,37 @@ +<!--#include virtual="/includes/html-open.html"--> + +<!--#include virtual="/includes/header-open.html"--> +<title><!-- ITEM-TITLE --> &mdash; Free Software Foundation India</title> +<!--#include virtual="/includes/header-close.html"--> + +<!--#include virtual="/includes/body-open.html"--> +<!--#include virtual="/includes/navbar.html"--> + + +<section class="article section"> + <div class="container"> + <div class="content"> + + <div class="header"> + <hgroup> + <h1><span class="tag is-medium">Article</span></h1> + <h2><!-- ITEM-TITLE --></h2> + </hgroup> + </div> + + <div class="meta"> + <div class="date"><!-- DATE --></div> + </div> + + <div class="main-content"> + <!-- MAIN-CONTENT --> + </div> + + </div> + </div> +</section> + +<!--#include virtual="/includes/footer.html"--> +<!--#include virtual="/includes/js.html"--> +<!--#include virtual="/includes/body-close.html"--> +<!--#include virtual="/includes/html-close.html"-->