X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/8e82784fa2fe21d9c3828adbf43178a39c7cdea6..4e8ded7cb86a9f5fe5a3dc00de3a62967fcaffc7:/prawokultury/static/css/promobox.scss diff --git a/prawokultury/static/css/promobox.scss b/prawokultury/static/css/promobox.scss old mode 100755 new mode 100644 index 803a250..6ea75eb --- a/prawokultury/static/css/promobox.scss +++ b/prawokultury/static/css/promobox.scss @@ -10,21 +10,28 @@ ul.promobox { margin: 0; height: 32.3em; overflow: hidden; - + position: relative; } .promobox-item { border-radius: 0 0 2em 0; + -moz-border-radius: 0 0 2em 0; + -webkit-border-radius: 0 0 2em 0; list-style:none; padding:0; margin: 0; + position:absolute; + width: 100%; } .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 { @@ -42,9 +49,11 @@ ul.promobox { width: 1.1em; padding: .45em .5em; border-radius: 0 1em 1em 0; + -moz-border-radius: 0 1em 1em 0; + -webkit-border-radius: 0 1em 1em 0; color: white; } - a.active { + .active a { background: #02529b; } } @@ -57,6 +66,8 @@ ul.promobox { width: 20em; padding: 1.5em 4.8em 1.2em 2em; border-radius: 0 6em 6em 0; + -moz-border-radius: 0 6em 6em 0; + -webkit-border-radius: 0 6em 6em 0; .clip { height: 9.7em;