Fixed font weights for code.
h3rald h3rald@h3rald.com
Sun, 29 Apr 2018 10:41:59 +0200
10 files changed,
19 insertions(+),
14 deletions(-)
M
styles/_elements.less
→
styles/_elements.less
@@ -15,7 +15,7 @@
dl { dt { - font-weight: 600; + font-weight: bold; } dd {@@ -26,7 +26,7 @@
/* Headings */ h1, h2, h3, h4, h5, h6 { - font-weight: 600; + font-weight: bold; color: @heading-color; border-bottom: 1px solid @gray-d; }@@ -50,6 +50,7 @@ color: @dark-gray;
white-space: pre-wrap; margin: auto; font-family: @monospace-font; + @font-weight: 400; padding: 0; code { box-shadow: none;@@ -128,14 +129,16 @@ code, span.code {
color: @dark-gray; margin: 2px 0px; font-family: @monospace-font; + @font-weight: 400; font-size: 85%; .mix-hyphens(none); } kbd, span.kbd { + @font-weight: 400; .mix-inline-box(@light-gray, @dark-gray, @gray); font-family: @monospace-font; - font-weight: 600; + font-weight: bold; border-right: 1px solid @gray-b; border-bottom: 1px solid @gray-b; line-height: 1em;@@ -150,7 +153,7 @@ }
abbr, span.abbr { font-variant: small-caps; - font-weight: 600; + font-weight: bold; .mix-hyphens(none); &:hover { cursor: help;@@ -165,14 +168,15 @@ }
var, span.var { font-size: 90%; + @font-weight: 400; font-family: @monospace-font; - font-weight: 600; + font-weight: bold; font-style: normal; .mix-hyphens(none); } cite, span.cite { - font-weight: 600; + font-weight: bold; font-style: italic; .mix-hyphens(none); }@@ -188,11 +192,12 @@ span.opt, span.arg, span.kwd,
span.ext, span.file, span.dir { font-size: 90%; font-family: @monospace-font; + @font-weight: 400; .mix-hyphens(none); } span.ext, span.kwd { - font-weight: 600; + font-weight: bold; } img {
M
styles/hastyscribe.css
→
styles/hastyscribe.css
@@ -3269,7 +3269,7 @@ .unstyled li {
list-style-type: none; } dl dt { - font-weight: 600; + font-weight: bold; } dl dd { padding: 0 0 0.2em 0;@@ -3281,7 +3281,7 @@ h3,
h4, h5, h6 { - font-weight: 600; + font-weight: bold; color: #111; border-bottom: 1px solid #ddd; }@@ -3412,7 +3412,7 @@ background-clip: padding-box;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace; - font-weight: 600; + font-weight: bold; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; line-height: 1em;@@ -3431,7 +3431,7 @@ }
abbr, span.abbr { font-variant: small-caps; - font-weight: 600; + font-weight: bold; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none;@@ -3469,7 +3469,7 @@ var,
span.var { font-size: 90%; font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace; - font-weight: 600; + font-weight: bold; font-style: normal; -webkit-hyphens: none; -moz-hyphens: none;@@ -3479,7 +3479,7 @@ hyphens: none;
} cite, span.cite { - font-weight: 600; + font-weight: bold; font-style: italic; -webkit-hyphens: none; -moz-hyphens: none;@@ -3515,7 +3515,7 @@ hyphens: none;
} span.ext, span.kwd { - font-weight: 600; + font-weight: bold; } img { max-width: 100%;