about summary refs log tree commit diff
path: root/users/fcuny/notes/static/css
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-01-23 19:55:55 -0800
committerFranck Cuny <franck@fcuny.net>2022-01-23 19:55:55 -0800
commitdcdf10728adb8b1b9ba8bf4a31bcfba44e551c89 (patch)
treea5d9431b787a09adf658e004bc375d4e2a9ea68c /users/fcuny/notes/static/css
parentCSS: adjust some font sizes (diff)
downloadworld-dcdf10728adb8b1b9ba8bf4a31bcfba44e551c89.tar.gz
CSS: improve readability
Using Firefox' accessibility tool as a guide.
Diffstat (limited to 'users/fcuny/notes/static/css')
-rw-r--r--users/fcuny/notes/static/css/custom.css15
1 files changed, 9 insertions, 6 deletions
diff --git a/users/fcuny/notes/static/css/custom.css b/users/fcuny/notes/static/css/custom.css
index c802354..ae6d674 100644
--- a/users/fcuny/notes/static/css/custom.css
+++ b/users/fcuny/notes/static/css/custom.css
@@ -55,21 +55,24 @@ span.published, span.updated {
 
 code {
   font-family: monospace;
-  padding-left: 0.1em;
-  padding-right: 0.1em;
+  padding-left: 0.2em;
+  padding-right: 0.2em;
   border-radius: 4px;
-  background-color: #fafafa;
 }
 
-p code {color: #f8546a}
+p code {
+  color: black;
+  background-color: #eee;
+  padding: 0 0.2rem;
+}
 
 pre {
   font-family: monospace;
   margin: 0;
   word-wrap: normal;
-  padding:1.125em;
+  padding: 0.8em;
   overflow-x: auto;
-  border: 1px solid #ccc;
+  border: 1px solid #eee;
   border-radius: 3px;
   background-color: #fafafa;
 }