mirror of https://github.com/vapor/docs.git
chrome background
This commit is contained in:
parent
ce55d06078
commit
c4cbce7173
|
|
@ -68,6 +68,10 @@
|
|||
$(function() {
|
||||
// Syntax highlighting
|
||||
hljs.initHighlightingOnLoad();
|
||||
|
||||
if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {
|
||||
$('body').addClass('safari');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue