Welcome to little lamb

Code » qmdoc » commit 002c508

CSS: Tweaks code blocks

author Olivier Brunel
2023-01-13 10:42:35 UTC
committer Olivier Brunel
2023-01-13 10:42:35 UTC
parent 89ff80da0827519717505ec8fbf762aa65d97ff5

CSS: Tweaks code blocks

Grow line-height a bit, is cleaner and don't crop end of line (which
could have underlines on last line been hidden)

css/common.css +1 -1
css/struct.css +1 -1

diff --git a/css/common.css b/css/common.css
index 68bfeb2..0242801 100644
--- a/css/common.css
+++ b/css/common.css
@@ -6,7 +6,7 @@ main pre {
     padding: 12px;
 }
 main pre code {
-    background: url(data:type/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAgCAYAAADT5RIaAAAAFklEQVQI12NgYGDgZWJgYGCgDkFtAAAWnAAsyj4TxgAAAABJRU5ErkJggg==) 0 0 repeat #f2ecb7;
+    background: url(data:type/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAoCAYAAAA/tpB3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AoRDygzCsVT7gAAABZJREFUCNdjYGBg4GJiYGBgoB1BDwAAHrQAMUi3bMoAAAAASUVORK5CYII=) 0 0 repeat #f2ecb7;
 }
 main blockquote :first-child::before {
     content: url(data:type/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAgCAYAAABU1PscAAABRElEQVRYw+3WTytEURjH8c/4l1JTpKxsyEbYWFkpG+UVKOWFeAts7eytbJSysLLVxIKNFAslwhSlUQabUdM0xm0e967Ot+7inPN8z+13z73nXBKJRCIRoJSxbggrmMMInlHBIWoF+KEAQ9jAaJuxe2zhJUe/Iz0ZahZ/uTmMYT1nPxxg/I/xWQzn6IcD1IIha//wkEIBKhlq+nP0wwHOsYuvDjWvOfod6c1Yd9O4ZjDQZvwAbzn6oRVofpKbqLf0P+GxAD8cAO7w0NJ3WqAfDlBCuan9gaMC/XCA+cbJ+sMRqgX6oQCTWGtqX2O/QL8tfRlqyljGUlPgW2y3+SDz8Lv6mRvEQmPbm25ZqQvs/LHtRf3wCkxgtaWvij2cZJg36ocD/Pw91nGJY5zhM+O8UT/8Ck01TswrvHcxb9RPJBKJRDF8AyNbWk4WFTIzAAAAAElFTkSuQmCC);
diff --git a/css/struct.css b/css/struct.css
index 2323206..22e4b8b 100644
--- a/css/struct.css
+++ b/css/struct.css
@@ -197,7 +197,7 @@ main pre, main code, main kbd {
     white-space: pre;
 }
 main pre {
-    line-height: 16px;
+    line-height: 20px;
     overflow: auto;
 }
 main pre.lineno {