From 2d050681594ff41c1cda8b37aec8f7a9af66e4d6 Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Mon, 10 Aug 2015 04:29:41 +0500 Subject: [PATCH] tune #CSS of image preview of #options's post preview --- css/style.css | 5 +++++ theme_calm/css/style.css | 5 +++++ theme_nin/css/style.css | 10 ++++++++++ theme_nin/sass/style.sass | 6 ++++++ 4 files changed, 26 insertions(+) diff --git a/css/style.css b/css/style.css index 437156f..a020344 100644 --- a/css/style.css +++ b/css/style.css @@ -663,6 +663,11 @@ textarea.splited-post { padding: 8px; } +#opt-form-post-preview #post-preview .preview-container { + margin-top: 8px; + margin-bottom: -10px; /* to neutralize .image-preview */ +} + .splited-post-counter { color: rgba(0, 0, 0, 0.3); font-weight: bold; diff --git a/theme_calm/css/style.css b/theme_calm/css/style.css index c8298b8..be7b82c 100644 --- a/theme_calm/css/style.css +++ b/theme_calm/css/style.css @@ -792,6 +792,11 @@ textarea.splited-post { padding: 8px; } +#opt-form-post-preview #post-preview .preview-container { + height: auto; + margin-top: 8px; +} + .splited-post-counter { color: rgba(0, 0, 0, 0.3); font-weight: bold; diff --git a/theme_nin/css/style.css b/theme_nin/css/style.css index 421f199..3bc5cdf 100644 --- a/theme_nin/css/style.css +++ b/theme_nin/css/style.css @@ -2291,6 +2291,16 @@ textarea.splited-post { padding: 8px; } +#opt-form-post-preview #post-preview .preview-container { + background-color: rgba(0, 0, 0, 0.43); + width: 97%; + margin-top: 8px; +} + +#opt-form-post-preview #post-preview .image-preview { + width: auto; +} + /* line 384, ../sass/style.sass */ .splited-post-counter { color: rgba(0, 0, 0, 0.3); diff --git a/theme_nin/sass/style.sass b/theme_nin/sass/style.sass index 879295e..19c6d27 100755 --- a/theme_nin/sass/style.sass +++ b/theme_nin/sass/style.sass @@ -368,6 +368,12 @@ ul.userMenu-search-profiles width: 76% margin-left: 16px padding: 8px + .preview-container + background-color: rgba(0, 0, 0, 0.43) + width: 97% + margin-top: 8px + .image-preview + width: auto #postboard-top clear: both