diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-06-29 14:05:32 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-06-29 20:04:08 +0300 |
commit | cb87efdca7d2c48d7ef2286b69098ec4f8894174 (patch) | |
tree | ef151d69a5ff1722231787dea45e084dfadb459a /css | |
parent | 46f0a08cf17e122667aa77240569e3954f54d79d (diff) |
adjust gradient values, add slight text-shadow to make text more readable
(cherry picked from commit f3e1147)
Diffstat (limited to 'css')
-rw-r--r-- | css/styles.css | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/css/styles.css b/css/styles.css index 4f2ad392..513ac28b 100644 --- a/css/styles.css +++ b/css/styles.css @@ -122,7 +122,6 @@ div.crumb.last a{ #gallery a.album .album-label { color: #fff; - text-shadow: none; position: absolute; left: 0; bottom: 0; @@ -153,18 +152,19 @@ div.crumb.last a{ #gallery a.album .album-label, #gallery a.image .image-label { background: #333; /* Old browsers */ - background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0, 0, 0, 0)), color-stop(100%,rgba(0, 0, 0, .7))); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .7) 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .7) 100%); /* Opera11.10+ */ - background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .7) 100%); /* IE10+ */ - background: linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .7) 100%); /* W3C */ + background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0, 0, 0, 0)), color-stop(100%,rgba(0, 0, 0, .6))); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .6) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .6) 100%); /* Opera11.10+ */ + background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .6) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .6) 100%); /* W3C */ + + text-shadow: 0px 0px 1px rgba(0, 0, 0, .5); } #gallery a.image .image-label .title { display: inline-block; color: #fff; - text-shadow: none; text-align: center; font-size: 13px; line-height: normal; |