diff options
-rw-r--r-- | scss/style.scss | 35 | ||||
-rw-r--r-- | templates/html/article.html | 37 |
2 files changed, 56 insertions, 16 deletions
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; + } + } } diff --git a/templates/html/article.html b/templates/html/article.html new file mode 100644 index 0000000..2a14be4 --- /dev/null +++ b/templates/html/article.html @@ -0,0 +1,37 @@ +<!--#include virtual="/includes/html-open.html"--> + +<!--#include virtual="/includes/header-open.html"--> +<title><!-- ITEM-TITLE --> — 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"--> |