From f4d8ead54e6fd4338032ade0a7ff004221a5af7e Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Fri, 23 Feb 2024 23:25:20 +1000 Subject: [PATCH] remove justified text --- docs/_static/css/rtd_dark.css | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/docs/_static/css/rtd_dark.css b/docs/_static/css/rtd_dark.css index 0a8e9840..094082a8 100644 --- a/docs/_static/css/rtd_dark.css +++ b/docs/_static/css/rtd_dark.css @@ -24,8 +24,13 @@ color: aliceblue; } - .method dt, .class dt, .data dt, .attribute dt, .function dt, - .descclassname, .descname { + .method dt, + .class dt, + .data dt, + .attribute dt, + .function dt, + .descclassname, + .descname { background-color: #525252 !important; color: white !important; } @@ -51,11 +56,13 @@ background-color: #2b2b2b !important; } - .xref, .py-meth { + .xref, + .py-meth { color: #7ec3e6 !important; } - .admonition, .note { + .admonition, + .note { background-color: #2d2d2d !important; } @@ -64,19 +71,27 @@ border-bottom: 1px solid #fcfcfc; } - .wy-table thead, .rst-content table.docutils thead, .rst-content table.field-list thead { + .wy-table thead, + .rst-content table.docutils thead, + .rst-content table.field-list thead { background-color: #b9b9b9; } - .wy-table thead th, .rst-content table.docutils thead th, .rst-content table.field-list thead th { + .wy-table thead th, + .rst-content table.docutils thead th, + .rst-content table.field-list thead th { border: solid 2px #e1e4e5; } - .wy-table thead p, .rst-content table.docutils thead p, .rst-content table.field-list thead p { + .wy-table thead p, + .rst-content table.docutils thead p, + .rst-content table.field-list thead p { margin: 0; } - .wy-table-odd td, .wy-table-striped tr:nth-child(2n-1) td, .rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td { + .wy-table-odd td, + .wy-table-striped tr:nth-child(2n-1) td, + .rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td { background-color: #343131; } @@ -91,10 +106,6 @@ /* Name.Variable */ - body { - text-align: justify; - } - .rst-content .section .admonition ul { margin-bottom: 0; }