From e78149a97e6146f107dae6f2f39741015297b2eb Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 12 Nov 2014 23:33:41 -0800 Subject: [PATCH] bg transparency for user profiles --- app/assets/stylesheets/desktop/user.scss | 5 +++-- app/views/pending_flags_mailer/notify.html.erb | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss index d6138cea3..8822a9c29 100644 --- a/app/assets/stylesheets/desktop/user.scss +++ b/app/assets/stylesheets/desktop/user.scss @@ -7,7 +7,7 @@ } .profile-image { - height: 250px; + height: 420px; width: 100%; background-size: cover; transition: height .15s linear; @@ -239,7 +239,8 @@ .details { padding: 15px 15px 4px 15px; - background-color: $primary; + margin-top: -200px; + background: rgba($primary, .85); transition: margin .15s linear; h1 { diff --git a/app/views/pending_flags_mailer/notify.html.erb b/app/views/pending_flags_mailer/notify.html.erb index 4e31f2111..74195c923 100644 --- a/app/views/pending_flags_mailer/notify.html.erb +++ b/app/views/pending_flags_mailer/notify.html.erb @@ -22,6 +22,8 @@ <% end %> +