From e082a7d8f0536e0cc637b1ec787c0c5ac4c52740 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 14 Mar 2014 20:43:36 -0400 Subject: [PATCH] Slight shadow and depression on active state for btns --- style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/style.css b/style.css index 0e81001..b63f410 100644 --- a/style.css +++ b/style.css @@ -205,10 +205,20 @@ body.source #source a { rgb(245,123,0) 0%, rgb(206,93,0) 100% ); + + box-shadow: 0.05em 0.1em #ce5c00; } a.btn:hover { text-decoration: none; } +a.btn:active { + position: relative; + box-shadow: none; + + /* to replace shadow; appear depressed */ + left: 0.05em; + top: 0.1em; +} .btn.go { border: 1px solid #4e9a06; @@ -226,6 +236,8 @@ a.btn:hover { rgb(116,210,22) 0%, rgb(139,226,52) 100% ); + + box-shadow: 0.05em 0.1em #4e9a06; } .btn.med {