aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-01-22 10:13:28 +0100
committerCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-01-24 14:35:22 +0100
commit5b7e534dfcd882328556e500ad639742e2175e10 (patch)
treef1a86aa89497bcc4857547b4bfdf980492b92e8e /sources/pyside2/doc
parentac17571f1d6ec37612fb565597e744db111e3793 (diff)
docs: Fix pre overlap and improve reading
Removed the color and the padding on the 'pre' elements of the docs. Additionally increased the line-height globally to 1.4 to make the reading easy. Fixes: PYSIDE-1201 Change-Id: I292d4e6da616ecb84a923444b99ad28a28d6cc5d Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'sources/pyside2/doc')
-rw-r--r--sources/pyside2/doc/_themes/pysidedocs/static/pyside.css3
1 files changed, 1 insertions, 2 deletions
diff --git a/sources/pyside2/doc/_themes/pysidedocs/static/pyside.css b/sources/pyside2/doc/_themes/pysidedocs/static/pyside.css
index 19275b545..c6a0c56a1 100644
--- a/sources/pyside2/doc/_themes/pysidedocs/static/pyside.css
+++ b/sources/pyside2/doc/_themes/pysidedocs/static/pyside.css
@@ -930,6 +930,7 @@ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abb
padding:0;
border:0;
font-size:100%
+ line-height: 1.4;
}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
vertical-align:baseline
@@ -1548,8 +1549,6 @@ pre span.wrap {
span.pre {
color: #09102d;
- background-color: #e4e4e4;
- padding: 3px;
}
span.wrap:hover {