Add nav fallback for unsupportive browsers

This commit is contained in:
Cory LaViska
2017-08-11 12:36:04 -04:00
parent c8cbe6463e
commit 64bc05b247

View File

@@ -86,6 +86,20 @@ body {
}
}
/* Fallback to block nav for unsupportive browsers */
@supports (not (display: grid)) {
#nav {
border: none;
text-align: center;
margin: 0 0 2rem 0;
}
#nav a {
margin: .5rem;
display: inline-block;
}
}
h1[id]:not(:first-child),
h2[id]:not(:first-child),
h3[id]:not(:first-child),