chrome background

This commit is contained in:
Tanner Nelson 2016-07-30 21:56:22 -04:00
parent ce55d06078
commit c4cbce7173
No known key found for this signature in database
GPG Key ID: 9C24375C64856B76
2 changed files with 9 additions and 1 deletions

View File

@ -68,6 +68,10 @@
$(function() {
// Syntax highlighting
hljs.initHighlightingOnLoad();
if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {
$('body').addClass('safari');
}
});
</script>

View File

@ -84,9 +84,13 @@ header {
z-index: 10;
overflow: hidden;
background: rgba(255, 255, 255, 0.95);
border-bottom: 3px solid #94a9d1;
}
.safari header {
background: rgba(255, 255, 255, 0.5);
-webkit-backdrop-filter: blur(10px);
border-bottom: 3px solid #94a9d1;
}
header ul {