From bfc12a9ab45515793f83009f71f3b0eda70051c3 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Mon, 20 Sep 2010 11:01:57 -0400 Subject: [PATCH] IE9 tweaks --- themes/asf/default.css | 5 +++++ themes/asf/personalize.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/asf/default.css b/themes/asf/default.css index a23be74..40408bd 100644 --- a/themes/asf/default.css +++ b/themes/asf/default.css @@ -72,6 +72,7 @@ body > h1 { border-bottom: 2px solid #ccd; -webkit-border-bottom-left-radius: 1em; -moz-border-radius: 0 0 0 1em; + border-radius: 0 0 0 1em; } #sidebar h2 { @@ -88,6 +89,7 @@ body > h1 { -webkit-border-top-left-radius: 6px; -webkit-border-bottom-left-radius: 6px; -moz-border-radius: 6px 0 0 6px; + border-radius: 6px 0 0 6px; } #sidebar h2 a img { @@ -138,6 +140,7 @@ body > h1 { background-color: #EEE; -webkit-border-radius: 0.5em; -moz-border-radius: 0.5em; + border-radius: 0.5em; border: 2px solid #BBB; color:#000; display: block; @@ -192,6 +195,7 @@ body > h1 { border: 1px solid #ccd; -webkit-border-radius: 0.8em; -moz-border-radius: 0.8em; + border-radius: 0.8em; width: 12.5em; margin: 4px 0 0 24px; } @@ -235,6 +239,7 @@ body > h1 { -webkit-border-top-left-radius: 0.5em; -webkit-border-bottom-left-radius: 0.5em; -moz-border-radius: 0.5em 0 0 0.5em; + border-radius: 0.5em 0 0 0.5em; text-transform: none; font-size: medium; color: #667; diff --git a/themes/asf/personalize.js b/themes/asf/personalize.js index e81ffd4..ff122ea 100644 --- a/themes/asf/personalize.js +++ b/themes/asf/personalize.js @@ -20,7 +20,7 @@ function prevArticle(event) { var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; for (var i=entries.length; --i>=0;) { if (!entries[i].anchor) continue; - if (entries[i].anchor.offsetTop < scrollTop) { + if (entries[i].anchor.offsetTop+20 < scrollTop) { window.location.hash=entries[i].anchor.id; stopPropagation(event); break;