From 57529aa5c6e0cbcbffe9984881250eb23afb0244 Mon Sep 17 00:00:00 2001 From: Philippe Barbosa Date: Mon, 4 Apr 2016 23:29:27 +0200 Subject: [PATCH] Copyright css fix for artist detail --- app/festival/static/css/index.css | 55 ++++++++++++------- .../static/scss/modules/artist-card.scss | 42 ++++++++------ .../templates/festival/artist_detail.html | 6 +- .../templates/festival/inc/artist_card.html | 2 +- 4 files changed, 64 insertions(+), 41 deletions(-) diff --git a/app/festival/static/css/index.css b/app/festival/static/css/index.css index ad41f671..1fd61567 100755 --- a/app/festival/static/css/index.css +++ b/app/festival/static/css/index.css @@ -2942,32 +2942,18 @@ th { box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.4); } -/* line 39, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ -.artist__item .artist__img { - position: relative; - padding: 0; +/* line 38, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ +.artist__item__img { margin: 0; + padding: 0; } /* line 43, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ -.artist__item .artist__img__copyright { - position: absolute; - bottom: 0; - left: 0; - display: block; - width: 100%; - padding: .2rem; - text-align: right; - font: 400 0.6rem "Interstate", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: white; -} - -/* line 56, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ .artist__item img { display: block; } -/* line 60, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ +/* line 47, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ .artist__item__name { display: block; width: 100%; @@ -2977,7 +2963,7 @@ th { margin: 0; } -/* line 72, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ +/* line 59, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ .artist__item__name span { display: inline-block; *display: inline; @@ -2989,6 +2975,33 @@ th { font: 700 0.7rem "Interstate", "Helvetica Neue", Helvetica, Arial, sans-serif; } +/* line 75, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ +.artist__figure { + position: relative; + padding: 0; + margin: 0; +} + +/* line 79, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ +.artist__figure img { + display: block; + position: relative; +} + +/* line 84, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ +.artist__figure__copyright { + position: absolute; + bottom: 0; + left: 0; + display: block; + width: 100%; + padding: .2rem; + text-align: right; + font: 400 0.6rem "Interstate", "Helvetica Neue", Helvetica, Arial, sans-serif; + color: white; + text-shadow: 1px 1px 1px #000; +} + /* line 5, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-detail.scss */ .artist__event { display: block; @@ -3613,12 +3626,12 @@ th { -webkit-transform: scale(1.01); transform: scale(1.01); } - /* line 60, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ + /* line 47, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ .artist__item__name{ padding: 0.8rem; line-height: 1; } - /* line 72, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ + /* line 59, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/artist-card.scss */ .artist__item__name span{ font: 700 0.8rem "Interstate", "Helvetica Neue", Helvetica, Arial, sans-serif; } diff --git a/app/festival/static/scss/modules/artist-card.scss b/app/festival/static/scss/modules/artist-card.scss index 7dd2a126..24eef380 100644 --- a/app/festival/static/scss/modules/artist-card.scss +++ b/app/festival/static/scss/modules/artist-card.scss @@ -35,22 +35,9 @@ } } } - - .artist__img { - position: relative; - padding: 0; + &__img { margin: 0; - &__copyright { - position: absolute; - bottom: 0; - left: 0; - display: block; - width: 100%; - padding: .2rem; - text-align: right; - font: $regular .6rem $base_font_family; - color: white; - } + padding: 0; } img { @@ -83,4 +70,27 @@ } } } -} \ No newline at end of file +} + + .artist__figure { + position: relative; + padding: 0; + margin: 0; + img { + display: block; + position: relative; + } + // @extend .clearfix; + &__copyright { + position: absolute; + bottom: 0; + left: 0; + display: block; + width: 100%; + padding: .2rem; + text-align: right; + font: $regular .6rem $base_font_family; + color: white; + text-shadow: 1px 1px 1px $black; + } + } \ No newline at end of file diff --git a/app/festival/templates/festival/artist_detail.html b/app/festival/templates/festival/artist_detail.html index 898ba976..458a2868 100644 --- a/app/festival/templates/festival/artist_detail.html +++ b/app/festival/templates/festival/artist_detail.html @@ -10,9 +10,9 @@

{% if artist.photo %} -

- -