From e9bdb018771e29112d9d806148aedb0c68995c7a Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 14 Mar 2014 20:30:41 -0400 Subject: [PATCH 1/5] Improved download button style (padding, font size) --- style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index a5509bb..0e81001 100644 --- a/style.css +++ b/style.css @@ -187,7 +187,7 @@ body.source #source a { text-align: center; text-shadow: black 0px 0px 1px; - padding: 0.25em 0.5em; + padding: 0.5em; border: 1px solid #ce5c00; border-radius: 0.25em; @@ -289,7 +289,10 @@ span.shell-start { } .btn.download .note { - font-size: 0.4em; + position: relative; + top: 0.55em; + + font-size: 0.45em; font-style: italic; } From e082a7d8f0536e0cc637b1ec787c0c5ac4c52740 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 14 Mar 2014 20:43:36 -0400 Subject: [PATCH 2/5] 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 { From fd7b90d5bd17a826de406deabd336ceccd97cb14 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 14 Mar 2014 23:47:09 -0400 Subject: [PATCH 3/5] Added download button "icon" (unicode) --- includes/header.html | 1 + index.html | 6 ++++-- style.css | 12 ++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/includes/header.html b/includes/header.html index 922cbc1..a3943af 100644 --- a/includes/header.html +++ b/includes/header.html @@ -2,6 +2,7 @@ ease.js + diff --git a/index.html b/index.html index 5a92d35..5fadcaa 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,10 @@

- Download v -
(Released: )
+
+ Download +
(Released: )
+
    diff --git a/style.css b/style.css index b63f410..3a6d79a 100644 --- a/style.css +++ b/style.css @@ -309,6 +309,18 @@ span.shell-start { } +.btn.download .inner:before { + position: relative; + top: 0.25em; + + font-size: 1.25em; + padding-right: 0.25em; + text-decoration: underline; + + content: '⇩'; +} + + .info { clear: both; } From eeb0055be24ac9960c4304e1760432ef8096586b Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 14 Mar 2014 23:47:21 -0400 Subject: [PATCH 4/5] Removed release date parenthesis on download button --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 5fadcaa..11b82a0 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@
    Download -
    (Released: )
    +
    Released:
    From 42fd1a5a1e9ff652f82102fc81860fc7fecefa57 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 14 Mar 2014 23:52:07 -0400 Subject: [PATCH 5/5] Corrected line spacing on current download page header --- download.html | 2 +- style.css | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/download.html b/download.html index 96798d5..b331113 100644 --- a/download.html +++ b/download.html @@ -1,7 +1,7 @@

    Current Release: - () + Released:

    diff --git a/style.css b/style.css index 3a6d79a..930b3e1 100644 --- a/style.css +++ b/style.css @@ -334,6 +334,7 @@ a.man:before { /** download **/ span.release-current { font-size: 1.2em; + line-height: 1.2em; font-weight: bold; } @@ -341,7 +342,8 @@ span.release-current .version { font-weight: normal; } span.release-current .date { - font-size: 0.6em; + font-size: 0.9em; + float: right; }