diff --git a/media/css/style.scss b/media/css/style.scss index 4910594..2dbe5f3 100644 --- a/media/css/style.scss +++ b/media/css/style.scss @@ -623,18 +623,15 @@ article.snipt { } } &:after { - bottom: 8px; + background: transparent url('/static/images/snipt-drop-shadow.png') top left no-repeat; + bottom: -15px; content: ""; - height: 20px; + display: block; + height: 15px; position: absolute; - right: 3px; - width: 50%; - z-index: 48; - @include box-shadow(0, 6px, 12px, rgba(184, 184, 184, .6)); - -webkit-transform: rotate(3deg); - -moz-transform: rotate(3deg); - -o-transform: rotate(3deg); - transform: rotate(3deg); + right: 0px; + width: 318px; + z-index: 51; } } aside { @@ -666,7 +663,7 @@ article.snipt { } &.edit { &:after { - background: #F5F2F3 url('/static/images/bg.gif') top left repeat; + background: #F5F2F3; content: ""; height: 20px; position: absolute; @@ -952,10 +949,6 @@ body.detail { section.code { height: auto; } - &:after { - bottom: 11px; - height: 23px; - } } aside { margin-right: 0; @@ -1130,9 +1123,6 @@ body.editing { border: none; } } - &:after { - display: none; - } } aside { margin-top: 0; diff --git a/media/images/snipt-drop-shadow.png b/media/images/snipt-drop-shadow.png new file mode 100644 index 0000000..11e6dae Binary files /dev/null and b/media/images/snipt-drop-shadow.png differ