Skip to content

Commit

Permalink
improved documentation browser CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 9, 2012
1 parent b505bb3 commit 0d819ad
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Changes
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/templates/exception.development.html.ep
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions lib/Mojolicious/templates/mojobar.html.ep
Expand Up @@ -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("#");
Expand All @@ -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
2 changes: 1 addition & 1 deletion lib/Mojolicious/templates/not_found.development.html.ep
Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojolicious/templates/perldoc.html.ep
Expand Up @@ -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 {
Expand All @@ -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;
Expand Down

0 comments on commit 0d819ad

Please sign in to comment.