Permalink
Browse files

improved documentation browser CSS

  • Loading branch information...
1 parent b505bb3 commit 0d819ad39ce8b205a94843943524d2a722dab2be @kraih committed Oct 9, 2012
View
@@ -5,6 +5,8 @@
- Added multi_accept setting to Hypnotoad.
- Relaxed comment handling in Mojo::DOM::HTML a little. (jberger)
- Improved accept performance of all built-in web servers significantly.
+ - Improved responsiveness of documentation browser.
+ - Improved documentation browser CSS. (tempire)
- Improved documentation.
- Improved tests.
@@ -14,7 +14,7 @@
color: #445555;
font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
font-weight: normal;
- line-height: 1.5;
+ line-height: 1.5em;
margin: 0;
}
pre {
@@ -91,8 +91,8 @@
}
});
});
- $(document).ready(function(){
- $(".mojoscroll").click(function(e){
+ $(document).ready(function() {
+ $(".mojoscroll").click(function(e) {
e.preventDefault();
e.stopPropagation();
var parts = this.href.split("#");
@@ -103,7 +103,7 @@
target.attr('id', '');
location.hash = hash;
target.attr('id', old);
- $('html, body').animate({scrollTop:top}, 500);
+ $('html, body').animate({scrollTop:top}, 1);
});
});
% end
@@ -10,7 +10,7 @@
color: #445555;
font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
font-weight: normal;
- line-height: 1.5;
+ line-height: 1.5em;
margin: 0;
}
code {
@@ -13,7 +13,7 @@
color: #445555;
font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
font-weight: normal;
- line-height: 1.5;
+ line-height: 1.5em;
margin: 0;
}
h1, h2, h3 {
@@ -29,6 +29,7 @@
border-radius: 5px;
color: #eee;
font: 0.8em Consolas, Menlo, Monaco, Courier, monospace;
+ line-height: 1.7em;
text-align: left;
text-shadow: #333 0 1px 0;
padding-bottom: 1.5em;

0 comments on commit 0d819ad

Please sign in to comment.