From 7619fec78d5dd76d9e8fc65dd5157c42e723925c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 21 Jul 2013 02:29:53 -0400 Subject: [PATCH] fixing compatibility with dark themes --- public/css/topic.less | 9 +++------ public/templates/topic.tpl | 10 +++++----- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/public/css/topic.less b/public/css/topic.less index a92a5e221a..1bd3cbf9e9 100644 --- a/public/css/topic.less +++ b/public/css/topic.less @@ -6,7 +6,6 @@ clear: both; .profile-image-block { - background: white; display: inline-block; text-align: center; font-size: 12px; @@ -22,14 +21,13 @@ } .profile-block, .post-block { - border: 1px solid #f0f0f0; + border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 5px; - padding: 10px; } .profile-block { - background: #fafafa; + background: rgba(0, 0, 0, 0.02); margin-right: -11px; margin-left: -11px; margin-bottom: -11px; @@ -62,7 +60,7 @@ padding-left: 15px; padding-right: 15px; border: none; - border-left: 1px solid #f0f0f0; + border-left: 1px solid rgba(0, 0, 0, 0.06); cursor: pointer; background: none; font-size: 12px; @@ -77,7 +75,6 @@ //theme this to make it yellow eventually } } - background: #fff; } &.deleted { diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl index 4b64a9fe2e..682e3db238 100644 --- a/public/templates/topic.tpl +++ b/public/templates/topic.tpl @@ -84,11 +84,11 @@
{posts.signature}
- - - - - + + + + + posted by {posts.username} {posts.relativeTime} ago | last edited by {posts.editorname} {posts.relativeEditTime} ago