summaryrefslogtreecommitdiffstats
path: root/scss/style.scss
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-05-18 15:45:21 -0400
committerrsiddharth <s@ricketyspace.net>2019-05-18 15:45:21 -0400
commitaec4073669917ce1cfc80e4a4b42e2eb1a6ce53b (patch)
tree558eacb3ae287ed55417fcaad81606737b81f03a /scss/style.scss
parent1d74a74ad8dfee22ecffd91d2410258eb77613cd (diff)
templates: Add article.html.
* scss/style.scss: Add styling for .article (same as .news-item). * templates/html/article.html: New template.
Diffstat (limited to 'scss/style.scss')
-rw-r--r--scss/style.scss35
1 files changed, 19 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;
+ }
+ }
}