Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

IE9 tweaks

  • Loading branch information...
commit bfc12a9ab45515793f83009f71f3b0eda70051c3 1 parent d4c4fa9
@rubys authored
Showing with 6 additions and 1 deletion.
  1. +5 −0 themes/asf/default.css
  2. +1 −1  themes/asf/personalize.js
View
5 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;
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.