From 57d1bdd80d218c6fd43d550b66106c659d7e2c3f Mon Sep 17 00:00:00 2001 From: Kasper Laudrup Date: Fri, 25 Oct 2024 15:57:25 +0200 Subject: [PATCH] Nicen up documentation style Add a few CSS hacks to make the class member functions stand out a bit more by adding a border and make the notification boxes stand out a bit less. --- doc/static/wintls.css | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/doc/static/wintls.css b/doc/static/wintls.css index 45044d55..d861ca10 100644 --- a/doc/static/wintls.css +++ b/doc/static/wintls.css @@ -5,3 +5,34 @@ .content { max-width: 1000px !important; } + +h2 { + margin-bottom: 20px; +} + +dl:not(.field-list) { + border-bottom: 1px solid #cccccc; + width: auto; + display: block; + padding-bottom: 20px; +} + +dl:not(.field-list) > dt { + border-radius: 4px; + border: 1px solid #d5d5d5; + width: auto; + display: block; + padding: 10px 15px; + margin-bottom: 20px; + width: auto; + display: block; +} + +dl > dd { + margin-left: 30px; +} + +div.admonition.note.alert.alert-info { + background: #3498db80; + color: #707070; +}