aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@andeuin.net>2013-11-08 16:02:31 +0100
committerHarald Eilertsen <haraldei@andeuin.net>2013-11-08 16:02:31 +0100
commit55599e2e4a9a4e33b8723cc355afd99633c5cc46 (patch)
tree464e70474b6c1876c5a4dda4414144fb623b84f5 /app/assets
parentfc0faf5ee8253c120554e0dc933687ba11a0559b (diff)
downloadhmnoweb-55599e2e4a9a4e33b8723cc355afd99633c5cc46.tar.gz
hmnoweb-55599e2e4a9a4e33b8723cc355afd99633c5cc46.tar.bz2
hmnoweb-55599e2e4a9a4e33b8723cc355afd99633c5cc46.zip
Add styling for blog posts on blog summary page.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/hmno_blogg.scss33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/assets/stylesheets/hmno_blogg.scss b/app/assets/stylesheets/hmno_blogg.scss
new file mode 100644
index 0000000..2bf0301
--- /dev/null
+++ b/app/assets/stylesheets/hmno_blogg.scss
@@ -0,0 +1,33 @@
+#blog_posts {
+ article {
+ background-color: #010101;
+ border: 1px solid darkslategray;
+ padding: 3px;
+ margin-bottom: 1em;
+
+ header {
+ h1 {
+ font-size: 115%;
+ margin: 0;
+ a {
+ text-decoration: none;
+ color: inherit;
+ }
+ }
+
+ .details {
+ font-size: 75%;
+ }
+ }
+
+ footer {
+ position: relative;
+
+ .comment_count {
+ position: absolute;
+ top: 0;
+ right: 0;
+ }
+ }
+ }
+}