From 1632de8349b68f0de7a5eb8fcd3e7e7d22a76d5b Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 24 Oct 2011 23:02:48 -0400 Subject: [PATCH] Nice gradient under snipts --- snipt/media/css/style.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/snipt/media/css/style.less b/snipt/media/css/style.less index 20929f0..68b2ac3 100644 --- a/snipt/media/css/style.less +++ b/snipt/media/css/style.less @@ -384,6 +384,7 @@ article.snipt { height: 200px; overflow: hidden; position: relative; + z-index: 49; div.highlight { pre { @@ -467,6 +468,17 @@ article.snipt { box-shadow: none; } } + &:after { + bottom: 8px; + content: ""; + height: 20px; + position: absolute; + right: 3px; + width: 50%; + z-index: 48; + .box-shadow(0, 6px, 12px, rgba(184, 184, 184, .6)); + -webkit-transform: rotate(3deg); + } } aside { float: right;