diff options
Diffstat (limited to 'templates/fluid/styles.css')
| -rw-r--r-- | templates/fluid/styles.css | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/templates/fluid/styles.css b/templates/fluid/styles.css index d730844..2ad267d 100644 --- a/templates/fluid/styles.css +++ b/templates/fluid/styles.css @@ -610,8 +610,6 @@ div.index_item { margin: 20px; border-radius: 8px; border-width: 0px; - background-position: 50% 50%; - background-repeat: no-repeat; box-shadow: 0 0 0px 1px #6b6c69, 0 0 12px 2px rgba(255, 245, 200, 0.38); transition-property: box-shadow; @@ -631,12 +629,25 @@ div.index_item a { height: 330px; text-align: left; text-decoration: none; +} + +div.index_item a span.album_thumbnail { + position: relative; + display: inline-block; +} + +div.index_item a span.album_thumbnail:after { + content: ''; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + display: inline-block; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); background: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); background: -moz-linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); background: -o-linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); - transition-property: background; - transition-duration: 0.3s; } div.index_item span.album_text { |
