Merge branch 'wip-redesign'

# Conflicts:
#	src/templates/projects/view.pug
This commit is contained in:
2018-09-06 13:30:24 +02:00
80 changed files with 1750 additions and 3528 deletions

View File

@@ -64,4 +64,13 @@
return this;
};
// jQuery's show() sets display as 'inline', this utility sets it to whatever we want.
// Useful for buttons or links that need 'inline-block' or flex for correct padding and alignment.
$.fn.displayAs = function(display_type) {
if (typeof(display_type) === 'undefined') {
display_type = 'block';
}
this.css('display', display_type);
}
}(jQuery));