From 551360ea73d89f6557305ac1aef1660759e19af7 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Mon, 30 Oct 2023 01:53:58 +0100 Subject: [PATCH] Theme: figure styling --- test-theme/static/css/theme.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/test-theme/static/css/theme.css b/test-theme/static/css/theme.css index c5941b7..4699221 100644 --- a/test-theme/static/css/theme.css +++ b/test-theme/static/css/theme.css @@ -57,7 +57,8 @@ footer { text-align: right; } -pre, tt { +/* A fallback background for images with dark lines and transparent bg */ +pre, tt, object, img { background-color: rgba(255, 255, 255, 0.2); border-radius: 2pt; } @@ -71,3 +72,15 @@ tt { padding-left: 1pt; padding-right: 1pt; } + +.figure { + text-align: center; +} + +p { + text-align: justify; +} + +p.caption { + text-align: center; +}