Skip to content

Commit

Permalink
formatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
paarandika committed Nov 26, 2015
1 parent 0fe22f1 commit 32a63e7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
16 changes: 8 additions & 8 deletions rep/css/report.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
right: 0;
padding-left: 55px;
padding-top: 10px;
z-index: 100;
z-index: 100;
}

#navigation a {
z-index: 100;
z-index: 100;
}

section {
Expand All @@ -37,12 +37,12 @@ section {
}

.ct-series-a .ct-bar {
/* Colour of your bars */
stroke: red;
/* The width of your bars */
stroke-width: 6px;
/* Yes! Dashed bars! */
stroke-dasharray: 0px;
/* Colour of your bars */
stroke: red;
/* The width of your bars */
stroke-width: 6px;
/* Yes! Dashed bars! */
stroke-dasharray: 0px;
}

.ct-label {
Expand Down
29 changes: 14 additions & 15 deletions rep/js/scroll.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
$(function () {
$('a[href*=#]:not([href=#])').click(function () {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {

$(function() {
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {

var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
});
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
});

0 comments on commit 32a63e7

Please sign in to comment.