From: Radek Czajka Date: Wed, 29 Aug 2012 09:10:08 +0000 (+0200) Subject: css fixes for older browsers X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/cd2c9815d8b09227d7f180260b560666af3d8186?ds=sidebyside;hp=bc0c80bd76add5fb3707baeb6a70b309af2dd5f3 css fixes for older browsers --- diff --git a/prawokultury/static/css/base.css b/prawokultury/static/css/base.css index 8e64719..d52e8eb 100644 --- a/prawokultury/static/css/base.css +++ b/prawokultury/static/css/base.css @@ -15,6 +15,9 @@ a { a:hover { text-decoration: underline; } +img { + border: 0; } + h1 { margin: 0 0 .5em 0; color: #01519a; diff --git a/prawokultury/static/css/base.scss b/prawokultury/static/css/base.scss old mode 100755 new mode 100644 index 5890910..9fd624e --- a/prawokultury/static/css/base.scss +++ b/prawokultury/static/css/base.scss @@ -18,6 +18,10 @@ a:hover { text-decoration: underline; } +img { + border: 0; +} + h1 { margin: 0 0 .5em 0; diff --git a/prawokultury/static/css/entry.scss b/prawokultury/static/css/entry.scss old mode 100755 new mode 100644 diff --git a/prawokultury/static/css/footer.scss b/prawokultury/static/css/footer.scss old mode 100755 new mode 100644 diff --git a/prawokultury/static/css/forms.scss b/prawokultury/static/css/forms.scss old mode 100755 new mode 100644 diff --git a/prawokultury/static/css/header.scss b/prawokultury/static/css/header.scss old mode 100755 new mode 100644 diff --git a/prawokultury/static/css/layout.scss b/prawokultury/static/css/layout.scss old mode 100755 new mode 100644 diff --git a/prawokultury/static/css/menu.scss b/prawokultury/static/css/menu.scss old mode 100755 new mode 100644 diff --git a/prawokultury/static/css/prevnext.scss b/prawokultury/static/css/prevnext.scss old mode 100755 new mode 100644 diff --git a/prawokultury/static/css/promobox.css b/prawokultury/static/css/promobox.css index 58c4cfe..22c0623 100644 --- a/prawokultury/static/css/promobox.css +++ b/prawokultury/static/css/promobox.css @@ -13,6 +13,8 @@ ul.promobox { .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; @@ -41,6 +43,8 @@ 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; } #promobox-switcher .active a { background: #02529b; } @@ -52,7 +56,9 @@ ul.promobox { color: white; width: 20em; padding: 1.5em 4.8em 1.2em 2em; - border-radius: 0 6em 6em 0; } + border-radius: 0 6em 6em 0; + -moz-border-radius: 0 6em 6em 0; + -webkit-border-radius: 0 6em 6em 0; } .promobox-info .clip { height: 9.7em; overflow: hidden; } diff --git a/prawokultury/static/css/promobox.scss b/prawokultury/static/css/promobox.scss old mode 100755 new mode 100644 index cf209c5..619be46 --- a/prawokultury/static/css/promobox.scss +++ b/prawokultury/static/css/promobox.scss @@ -14,6 +14,8 @@ ul.promobox { } .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; @@ -44,6 +46,8 @@ 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; } .active a { @@ -59,6 +63,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; diff --git a/prawokultury/static/css/search.css b/prawokultury/static/css/search.css index eda6878..6bc635c 100644 --- a/prawokultury/static/css/search.css +++ b/prawokultury/static/css/search.css @@ -6,6 +6,8 @@ padding-left: 1em; border: none; border-radius: 1.5em 0 0 1.5em; + -moz-border-radius: 1.5em 0 0 1.5em; + -webkit-border-radius: 1.5em 0 0 1.5em; background: white; color: black; height: 2em; } @@ -19,6 +21,8 @@ background-repeat: no-repeat; color: white; border-radius: 0 1em 1em 0; + -moz-border-radius: 0 1em 1em 0; + -webkit-border-radius: 0 1em 1em 0; padding-right: 1em; } #search-form button img { vertical-align: middle; } diff --git a/prawokultury/static/css/search.scss b/prawokultury/static/css/search.scss old mode 100755 new mode 100644 index 590dedb..9b9bbe1 --- a/prawokultury/static/css/search.scss +++ b/prawokultury/static/css/search.scss @@ -7,6 +7,8 @@ padding-left: 1em; border: none; border-radius: 1.5em 0 0 1.5em; + -moz-border-radius: 1.5em 0 0 1.5em; + -webkit-border-radius: 1.5em 0 0 1.5em; background: white; color: black; height: 2em; @@ -22,6 +24,8 @@ background-repeat: no-repeat; color: white; border-radius: 0 1em 1em 0; + -moz-border-radius: 0 1em 1em 0; + -webkit-border-radius: 0 1em 1em 0; padding-right: 1em; img { diff --git a/prawokultury/static/css/sidebar.css b/prawokultury/static/css/sidebar.css index 221b3f4..6ee67da 100644 --- a/prawokultury/static/css/sidebar.css +++ b/prawokultury/static/css/sidebar.css @@ -30,6 +30,8 @@ width: 5em; height: 4.8em; border-radius: .5em; + -moz-border-radius: .5em; + -webkit-border-radius: .5em; text-align: center; } .sidebar-box .event-list .date .day { font-size: 2.4em; diff --git a/prawokultury/static/css/sidebar.scss b/prawokultury/static/css/sidebar.scss old mode 100755 new mode 100644 index 1846454..2607deb --- a/prawokultury/static/css/sidebar.scss +++ b/prawokultury/static/css/sidebar.scss @@ -42,6 +42,8 @@ width: 5em; height: 4.8em; border-radius: .5em; + -moz-border-radius: .5em; + -webkit-border-radius: .5em; text-align: center; .day { diff --git a/prawokultury/static/img/rog.png b/prawokultury/static/img/rog.png index 5c9a55b..202cee6 100644 Binary files a/prawokultury/static/img/rog.png and b/prawokultury/static/img/rog.png differ