From c950578c7bdd1451b7b0a70caee61020d37aa464 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 28 Dec 2020 05:44:15 -0500 Subject: add styling for inline code blocks too --- static/grapheneos.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'static/grapheneos.css') 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 { -- cgit v1.3.1