about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/main/entries.scss15
-rw-r--r--app/views/blogs/show.html.haml4
2 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/stylesheets/main/entries.scss b/app/assets/stylesheets/main/entries.scss index b2a07c5..1ac4931 100644 --- a/app/assets/stylesheets/main/entries.scss +++ b/app/assets/stylesheets/main/entries.scss
@@ -28,6 +28,21 @@
28 } 28 }
29} 29}
30 30
31#blog-footer {
32 background-color: #f8f8f8;
33 border-width: 1px 0 1px 0;
34 border-style: solid;
35 border-color: #DDD;
36 color: #777;
37 padding: .75em 1em;
38 font-size: 0.9em;
39 margin-bottom: 1em;
40
41 time {
42 border-bottom: 1px dotted #777;
43 }
44}
45
31#stream-post { 46#stream-post {
32 h2 { 47 h2 {
33 background-color: #98FB98; 48 background-color: #98FB98;
diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index 51d4aa0..e22a199 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml
@@ -1,2 +1,6 @@
1.breadcrumb= link_to "← Back to home page", root_path 1.breadcrumb= link_to "← Back to home page", root_path
2= render @blog 2= render @blog
3%footer#blog-footer
4 This entry was posted on
5 = succeed "." do
6 %time= @blog.created_at.strftime("%B #{@blog.created_at.day.ordinalize} %Y at %-I:%M:%S%P")