From 627330f7e80e2eac0f92663bbdaaf39962e97bbe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 20 Mar 2023 21:56:24 +0900 Subject: feat(nuldoc): implement admonition block --- static/style.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 050cd6b..18a0646 100644 --- a/static/style.css +++ b/static/style.css @@ -216,6 +216,27 @@ h1 { color: #666; } +.admonition { + display: flex; + flex-direction: row; + align-items: center; + background-color: #f5f5f5; + border: 1px solid #d1d1d1; + border-radius: 5px; + padding: 1rem; + margin: 1rem 0; +} + +.admonition-label { + font-weight: bold; + color: #333; + margin-right: 1rem; +} + +.admonition-content { + font-size: 1rem; +} + .not-found { font-size: 8rem; font-weight: bold; -- cgit v1.2.3-70-g09d2