From ea1f59da7d53392a42cd47b9baad024d1a7c557e Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 2 Dec 2020 17:34:57 -0500 Subject: [PATCH] use aria-current="page" instead of custom class --- nginx/nginx.conf | 6 +++--- static/404.html | 2 +- static/build.html | 4 ++-- static/contact.html | 4 ++-- static/donate.html | 4 ++-- static/faq.html | 4 ++-- static/grapheneos.css | 2 +- static/index.html | 4 ++-- static/install.html | 4 ++-- static/pdfviewer-privacy-policy.html | 2 +- static/releases.html | 4 ++-- static/source.html | 4 ++-- static/usage.html | 4 ++-- 13 files changed, 24 insertions(+), 24 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 6b2871c5..d48965b8 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -128,12 +128,12 @@ http { location = /404 { internal; - http2_push /grapheneos.css?20; + http2_push /grapheneos.css?21; } location = /404.html { internal; - http2_push /grapheneos.css?20; + http2_push /grapheneos.css?21; } 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?20; + http2_push /grapheneos.css?21; } } diff --git a/static/404.html b/static/404.html index b942b0b6..b91e3b3e 100644 --- a/static/404.html +++ b/static/404.html @@ -20,7 +20,7 @@ - + diff --git a/static/build.html b/static/build.html index d7a8f102..1624e8e7 100644 --- a/static/build.html +++ b/static/build.html @@ -21,7 +21,7 @@ - + @@ -31,7 +31,7 @@
diff --git a/static/donate.html b/static/donate.html index c4b6608c..1db4d1fa 100644 --- a/static/donate.html +++ b/static/donate.html @@ -21,7 +21,7 @@ - + @@ -35,7 +35,7 @@
  • FAQ
  • Releases
  • Source
  • -
  • Donate
  • +
  • Donate
  • Contact
  • diff --git a/static/faq.html b/static/faq.html index 5c0e907d..3d1ea72b 100644 --- a/static/faq.html +++ b/static/faq.html @@ -21,7 +21,7 @@ - + @@ -33,7 +33,7 @@
  • Install
  • Build
  • Usage
  • -
  • FAQ
  • +
  • FAQ
  • Releases
  • Source
  • Donate
  • diff --git a/static/grapheneos.css b/static/grapheneos.css index d5403018..95d76b12 100644 --- a/static/grapheneos.css +++ b/static/grapheneos.css @@ -75,7 +75,7 @@ nav ul li a:visited { color: #fff; /* 100% white */ } -nav ul li.active a { +nav ul li[aria-current] a { color: #64b5f6; /* blue300 */ } diff --git a/static/index.html b/static/index.html index d3f1d813..56b8e078 100644 --- a/static/index.html +++ b/static/index.html @@ -21,7 +21,7 @@ - + @@ -29,7 +29,7 @@