mirror of https://github.com/vapor/docs.git
chrome background
This commit is contained in:
parent
ce55d06078
commit
c4cbce7173
|
|
@ -68,6 +68,10 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
// Syntax highlighting
|
// Syntax highlighting
|
||||||
hljs.initHighlightingOnLoad();
|
hljs.initHighlightingOnLoad();
|
||||||
|
|
||||||
|
if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {
|
||||||
|
$('body').addClass('safari');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -84,9 +84,13 @@ header {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
background: rgba(255, 255, 255, 0.95);
|
||||||
|
border-bottom: 3px solid #94a9d1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.safari header {
|
||||||
background: rgba(255, 255, 255, 0.5);
|
background: rgba(255, 255, 255, 0.5);
|
||||||
-webkit-backdrop-filter: blur(10px);
|
-webkit-backdrop-filter: blur(10px);
|
||||||
border-bottom: 3px solid #94a9d1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
header ul {
|
header ul {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue