use id to style site menu
This commit is contained in:
parent
ea1f59da7d
commit
52dcbd7595
@ -128,12 +128,12 @@ http {
|
||||
|
||||
location = /404 {
|
||||
internal;
|
||||
http2_push /grapheneos.css?21;
|
||||
http2_push /grapheneos.css?22;
|
||||
}
|
||||
|
||||
location = /404.html {
|
||||
internal;
|
||||
http2_push /grapheneos.css?21;
|
||||
http2_push /grapheneos.css?22;
|
||||
}
|
||||
|
||||
location ~ "^(.*)/index$" {
|
||||
@ -174,7 +174,7 @@ http {
|
||||
include /etc/nginx/snippets/security-headers.conf;
|
||||
add_header Cache-Control "public, max-age=1800";
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
http2_push /grapheneos.css?21;
|
||||
http2_push /grapheneos.css?22;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<link rel="canonical" href="https://grapheneos.org/contact"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<link rel="canonical" href="https://grapheneos.org/donate"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -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 */
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li aria-current="page"><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<link rel="canonical" href="https://grapheneos.org/install"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li aria-current="page"><a href="/install">Install</a></li>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<link rel="canonical" href="https://grapheneos.org/pdfviewer-privacy-policy"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -29,7 +29,7 @@
|
||||
<script type="module" src="/redirect.js?7"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<link rel="canonical" href="https://grapheneos.org/source"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<nav id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/">GrapheneOS</a></li>
|
||||
<li><a href="/install">Install</a></li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user