From: Radek Czajka Date: Wed, 29 Aug 2012 09:13:23 +0000 (+0200) Subject: promobox corner fix X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/979ae8e61a96ad4cae65aa064dad11683d9afe20?ds=inline promobox corner fix --- diff --git a/prawokultury/static/css/promobox.css b/prawokultury/static/css/promobox.css index 22c0623..15afcd0 100644 --- a/prawokultury/static/css/promobox.css +++ b/prawokultury/static/css/promobox.css @@ -23,11 +23,14 @@ ul.promobox { .promobox-link { background-image: url("/static/img/rog.png"); + background-position: 100% 100%; + background-repeat: no-repeat; + border-radius: 0 0 2em 0; + -moz-border-radius: 0 0 2em 0; + -webkit-border-radius: 0 0 2em 0; display: block; position: relative; - height: 32.3em; - background-position: 100% 100%; - background-repeat: no-repeat; } + height: 32.3em; } #promobox-switcher { position: absolute; diff --git a/prawokultury/static/css/promobox.scss b/prawokultury/static/css/promobox.scss index 619be46..6ea75eb 100644 --- a/prawokultury/static/css/promobox.scss +++ b/prawokultury/static/css/promobox.scss @@ -24,11 +24,14 @@ ul.promobox { } .promobox-link { background-image: url('/static/img/rog.png'); + background-position: 100% 100%; + background-repeat: no-repeat; + border-radius: 0 0 2em 0; + -moz-border-radius: 0 0 2em 0; + -webkit-border-radius: 0 0 2em 0; display:block; position: relative; height: 32.3em; - background-position: 100% 100%; - background-repeat: no-repeat; } #promobox-switcher {