From 940b68edfa9fda1a0942d55a90a8949c74358cea Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Sun, 11 Feb 2024 16:19:41 +0100 Subject: [PATCH] Improve style for code in documentation --- .phpdoc/template/css/custom.css.twig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.phpdoc/template/css/custom.css.twig b/.phpdoc/template/css/custom.css.twig index 38deeae..41e4fc2 100644 --- a/.phpdoc/template/css/custom.css.twig +++ b/.phpdoc/template/css/custom.css.twig @@ -1,3 +1,12 @@ .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-documentation:before { content: 'D'; } + +code.prettyprint { + background-color: var(--code-background-color); + border: 1px solid #f0f0f0; + border-radius: var(--border-radius-base-size); + box-sizing: border-box; + font-size: var(--text-sm); + padding: var(--spacing-xxxs); +}