Skip to content

Commit

Permalink
IE9 tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Sep 20, 2010
1 parent d4c4fa9 commit bfc12a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions themes/asf/default.css
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion themes/asf/personalize.js
Expand Up @@ -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;
Expand Down

0 comments on commit bfc12a9

Please sign in to comment.