mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Add nav fallback for unsupportive browsers
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user