From 62829aee8532a2825e8e4ae3df188bb938fe920a Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Wed, 9 May 2012 00:24:28 -0700 Subject: [PATCH] remove obnoxious box-shadow transition on hover; transition on transform [ci skip] --- app/assets/stylesheets/new_styles/_canvas.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/new_styles/_canvas.scss b/app/assets/stylesheets/new_styles/_canvas.scss index 239ac6241..5ccb538c2 100644 --- a/app/assets/stylesheets/new_styles/_canvas.scss +++ b/app/assets/stylesheets/new_styles/_canvas.scss @@ -27,14 +27,12 @@ } .content { - @include transition(box-shadow); + @include transition(-webkit-transform); @include box-shadow(0, 8px, 50px, rgba(0,0,0,0.9)); background-image : image_url("paper-texture-1.jpg"); &:hover { - @include box-shadow(0, 3px, 10px,rgba(0,0,0,0.9)); - .info { top : 0; } @@ -44,6 +42,10 @@ -webkit-transform : scale(0.99); } + img { + border : none; + } + //hax to deal with markdownify p { font-size: inherit;