diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-12-02 18:02:03 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-12-02 18:02:03 -0500 |
| commit | 52dcbd7595edb50523007b3f5b003cbbc5759f15 (patch) | |
| tree | 336c978469d246fbd9a6b42d49ca6c785c142437 /static/grapheneos.css | |
| parent | ea1f59da7d53392a42cd47b9baad024d1a7c557e (diff) | |
use id to style site menu
Diffstat (limited to 'static/grapheneos.css')
| -rw-r--r-- | static/grapheneos.css | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/static/grapheneos.css b/static/grapheneos.css index 95d76b12..3075f948 100644 --- a/static/grapheneos.css +++ b/static/grapheneos.css @@ -43,7 +43,7 @@ code, pre { font-family: "Roboto Mono", monospace; } -nav ul { +#site-menu ul { display: flex; flex-wrap: nowrap; overflow-x: auto; @@ -51,31 +51,31 @@ nav ul { padding: 0; } -nav { +#site-menu { background-color: #212121; /* grey900 */ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); } -nav ul li { +#site-menu ul li { list-style-type: none; } -nav ul li:hover { +#site-menu ul li:hover { background-color: #424242; /* grey800 */ } -nav ul li a { +#site-menu ul li a { color: #fff; /* 100% white */ display: block; text-decoration: none; padding: 1em; } -nav ul li a:visited { +#site-menu ul li a:visited { color: #fff; /* 100% white */ } -nav ul li[aria-current] a { +#site-menu ul li[aria-current] a { color: #64b5f6; /* blue300 */ } |
