From c950578c7bdd1451b7b0a70caee61020d37aa464 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 28 Dec 2020 05:44:15 -0500 Subject: [PATCH] add styling for inline code blocks too --- nginx/nginx.conf | 6 +++--- static/404.html | 2 +- static/articles/server-traffic-shaping.html | 2 +- static/build.html | 2 +- static/contact.html | 2 +- static/donate.html | 2 +- static/faq.html | 2 +- static/features.html | 2 +- static/grapheneos.css | 10 +++++++--- static/index.html | 2 +- static/install.html | 2 +- static/pdfviewer-privacy-policy.html | 2 +- static/releases.html | 2 +- static/source.html | 2 +- static/usage.html | 2 +- 15 files changed, 23 insertions(+), 19 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 33ec0bd5..ac523a50 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -168,12 +168,12 @@ http { location = /404 { internal; - http2_push /grapheneos.css?28; + http2_push /grapheneos.css?29; } location = /404.html { internal; - http2_push /grapheneos.css?28; + http2_push /grapheneos.css?29; } location ~ "^(.*)/index$" { @@ -214,7 +214,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?28; + http2_push /grapheneos.css?29; } } diff --git a/static/404.html b/static/404.html index 8e09ccf4..df00b2f2 100644 --- a/static/404.html +++ b/static/404.html @@ -20,7 +20,7 @@ - + diff --git a/static/articles/server-traffic-shaping.html b/static/articles/server-traffic-shaping.html index 4ca9278d..7039ca73 100644 --- a/static/articles/server-traffic-shaping.html +++ b/static/articles/server-traffic-shaping.html @@ -21,7 +21,7 @@ - + diff --git a/static/build.html b/static/build.html index 0b7ded80..6007cc9a 100644 --- a/static/build.html +++ b/static/build.html @@ -21,7 +21,7 @@ - + diff --git a/static/contact.html b/static/contact.html index 01a09614..17a2b4e8 100644 --- a/static/contact.html +++ b/static/contact.html @@ -21,7 +21,7 @@ - + diff --git a/static/donate.html b/static/donate.html index 6ff1a81e..7b50a0d8 100644 --- a/static/donate.html +++ b/static/donate.html @@ -21,7 +21,7 @@ - + diff --git a/static/faq.html b/static/faq.html index a248ece9..069a5c1f 100644 --- a/static/faq.html +++ b/static/faq.html @@ -21,7 +21,7 @@ - + diff --git a/static/features.html b/static/features.html index a2b8180e..c59b4b3f 100644 --- a/static/features.html +++ b/static/features.html @@ -21,7 +21,7 @@ - + diff --git a/static/grapheneos.css b/static/grapheneos.css index 3e64713b..d3c3af01 100644 --- a/static/grapheneos.css +++ b/static/grapheneos.css @@ -35,15 +35,19 @@ h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited, color: rgba(0, 0, 0, 0.87); /* 87% black */ } +code, pre { + background-color: #e0e0e0; /* grey300 */ + font-family: "Roboto Mono", monospace; +} + pre { overflow-x: auto; - background-color: #e0e0e0; /* grey300 */ border-radius: 5px; padding: 10px; } -code, pre { - font-family: "Roboto Mono", monospace; +code { + border-radius: 2.5px; } #site-menu ul { diff --git a/static/index.html b/static/index.html index b08eb2b5..700d8113 100644 --- a/static/index.html +++ b/static/index.html @@ -21,7 +21,7 @@ - + diff --git a/static/install.html b/static/install.html index 7d4231d7..b29129cc 100644 --- a/static/install.html +++ b/static/install.html @@ -21,7 +21,7 @@ - + diff --git a/static/pdfviewer-privacy-policy.html b/static/pdfviewer-privacy-policy.html index 2c136e00..105fad09 100644 --- a/static/pdfviewer-privacy-policy.html +++ b/static/pdfviewer-privacy-policy.html @@ -21,7 +21,7 @@ - + diff --git a/static/releases.html b/static/releases.html index 08d948d6..445480e3 100644 --- a/static/releases.html +++ b/static/releases.html @@ -21,7 +21,7 @@ - + diff --git a/static/source.html b/static/source.html index f375376a..458fc58c 100644 --- a/static/source.html +++ b/static/source.html @@ -21,7 +21,7 @@ - + diff --git a/static/usage.html b/static/usage.html index d8eccf6e..1227db64 100644 --- a/static/usage.html +++ b/static/usage.html @@ -21,7 +21,7 @@ - +