summaryrefslogtreecommitdiff
path: root/static/css/light.css
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-05 22:41:32 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-05 22:41:32 -0600
commit4a83bb1a6d5bee0892c294467618bd66b88535a7 (patch)
tree61e2e84276082d2f44f16bc2a2b7de0f32869731 /static/css/light.css
parent755299a5c2a8462a85dc22fff964e93c84bbfd04 (diff)
prettify css add support for wrap images and img/art grids
Diffstat (limited to 'static/css/light.css')
-rw-r--r--static/css/light.css8
1 files changed, 7 insertions, 1 deletions
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);
}
-