From 31106490b82947be26647fb467508ea82e495e33 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 30 Sep 2015 07:33:06 -0700 Subject: [PATCH] nb influenced styles to make news page more better porpotioned/sized/looking --- css/template.css | 28 ++++++++++++++++++++++++++++ templates/pages/news.html | 18 +++++++++--------- 2 files changed, 37 insertions(+), 9 deletions(-) diff --git a/css/template.css b/css/template.css index 28f02e9..29b185a 100644 --- a/css/template.css +++ b/css/template.css @@ -1,5 +1,6 @@ body { padding-top: 50px; + font-family: 'Lucida Sans', 'Lucida Grande', Verdana, 'Helvetica Neue', Helvetica, sans-serif; } .starter-template { padding: 40px 15px; @@ -16,4 +17,31 @@ body { .news-row { margin-bottom: 1em; +} + +.post-category { + font-weight: bold; + font-size: 11px; +} + +.post-title { + font-weight: bold; + font-size: 13px; +} + +.post-date { + font-weight: bold; + font-size: 12px; +} + +.post-url { + font-size: 12px; +} + +.post-preview { + font-size: 12px; +} + +.post-delete, .post-edit { + font-size: 12px; } \ No newline at end of file diff --git a/templates/pages/news.html b/templates/pages/news.html index 910419d..481c85e 100644 --- a/templates/pages/news.html +++ b/templates/pages/news.html @@ -24,27 +24,27 @@ {{define "row-news"}}
-
+ -
+
{{truncate .post.Title 100}}
-
+
-
 
-
-
 
-
{{truncate .post.Notes 500}}
- +
 
+
{{truncate .post.Notes 500}}
+
Delete
{{end}}