From 4a83bb1a6d5bee0892c294467618bd66b88535a7 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 5 Jun 2021 22:41:32 -0600 Subject: prettify css add support for wrap images and img/art grids --- static/css/light.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'static/css/light.css') diff --git a/static/css/light.css b/static/css/light.css index 27df3c4..0b1456c 100644 --- a/static/css/light.css +++ b/static/css/light.css @@ -26,6 +26,8 @@ --switch-ol: var(--color0); --switch-moon: var(--color3); --switch-sun: var(--color13); + + --code-border: var(--fg); } /* general */ @@ -62,6 +64,11 @@ body { color: var(--fg); } +pre, code { + border-radius: 5px; + border: 1px solid var(--code-border); +} + main { background: linear-gradient(var(--bg) 0.5em, 1em, var(--body-bg) 1.5em calc(100% - 1.5em), calc(100% - 1em), var(--bg) calc(100% - 0.5em)); } @@ -129,4 +136,3 @@ div.gallery:hover { .switch input:focus + .slider { box-shadow: 0 0 0.1em var(--switch-ol); } - -- cgit v1.2.3-54-g00ecf