diff --git a/public/res/extensions/umlDiagrams.js b/public/res/extensions/umlDiagrams.js index 177cc18f..ccf3150f 100644 --- a/public/res/extensions/umlDiagrams.js +++ b/public/res/extensions/umlDiagrams.js @@ -40,7 +40,9 @@ define([ }); preElt.parentNode.replaceChild(containerElt, preElt); chart.drawSVG(containerElt, { - 'line-width': 2 + 'line-width': 2, + 'font-family': 'sans-serif', + 'font-weight': 'normal' }); } catch(e) { diff --git a/public/res/styles/base.less b/public/res/styles/base.less index 8a9dfb4c..16ee0829 100644 --- a/public/res/styles/base.less +++ b/public/res/styles/base.less @@ -103,6 +103,7 @@ li.L9 { background: #eee } @line-height-base: 1.45; @p-margin: 1.1em; @headings-font-family: inherit; +@headings-font-weight: 300; @font-face { font-family: 'fontello'; @@ -183,6 +184,7 @@ li.L9 { background: #eee } .container { margin-bottom: 180px; + text-align: justify; } a code { @@ -199,7 +201,6 @@ h6 { font-size: @title-base-size * 0.85; } h1, h2, h3, h4, h5, h6 { margin: 1.3em 0; text-align: start; - font-weight: 300; } pre { @@ -230,6 +231,9 @@ hr { [stroke="#000000"] { stroke: @text-color; } + text[stroke="#000000"] { + stroke: none; + } [fill="#000"], [fill="#000000"], [fill="black"] { fill: @text-color; } diff --git a/public/res/styles/main.less b/public/res/styles/main.less index 60f153b4..195d4b2a 100644 --- a/public/res/styles/main.less +++ b/public/res/styles/main.less @@ -142,6 +142,7 @@ body { tab-size: 4; + text-align: start; } * { @@ -937,7 +938,7 @@ a { width: 220px; margin: 10px auto 20px; .btn { - text-align: initial; + text-align: start; padding-left: 15px; } }