Improvements to code blocks & font weights.
h3rald h3rald@h3rald.com
Sun, 29 Apr 2018 13:11:34 +0200
3 files changed,
19 insertions(+),
19 deletions(-)
M
styles/_blocks.less
→
styles/_blocks.less
@@ -27,7 +27,7 @@ }
&:before { font-family: @monospace-font; font-style: normal; - font-weight: bold; + font-weight: 800; color: @dark-green; content: "$ "; }
M
styles/_elements.less
→
styles/_elements.less
@@ -15,7 +15,7 @@
dl { dt { - font-weight: bold; + font-weight: 600; } dd {@@ -26,7 +26,7 @@
/* Headings */ h1, h2, h3, h4, h5, h6 { - font-weight: bold; + font-weight: 600; color: @heading-color; border-bottom: 1px solid @gray-d; }@@ -125,7 +125,7 @@
code, span.code { .mix-monospace; .mix-hyphens(none); - color: #000; + color: #B2361E; font-size: 85%; }@@ -137,7 +137,7 @@ kbd, span.kbd {
@font-weight: 400; .mix-inline-box(@light-gray, @dark-gray, @gray); font-family: @monospace-font; - font-weight: bold; + font-weight: 800; border-right: 1px solid @gray-b; border-bottom: 1px solid @gray-b; line-height: 1em;@@ -152,7 +152,7 @@ }
abbr, span.abbr { font-variant: small-caps; - font-weight: bold; + font-weight: 600; .mix-hyphens(none); &:hover { cursor: help;@@ -169,13 +169,13 @@ var, span.var {
font-size: 90%; @font-weight: 400; font-family: @monospace-font; - font-weight: bold; + font-weight: 800; font-style: normal; .mix-hyphens(none); } cite, span.cite { - font-weight: bold; + font-weight: 600; font-style: italic; .mix-hyphens(none); }@@ -195,7 +195,7 @@ .mix-hyphens(none);
} span.ext, span.kwd { - font-weight: bold; + font-weight: 600; } img {
M
styles/hastyscribe.css
→
styles/hastyscribe.css
@@ -3269,7 +3269,7 @@ .unstyled li {
list-style-type: none; } dl dt { - font-weight: bold; + font-weight: 600; } dl dd { padding: 0 0 0.2em 0;@@ -3281,7 +3281,7 @@ h3,
h4, h5, h6 { - font-weight: bold; + font-weight: 600; color: #111; border-bottom: 1px solid #ddd; }@@ -3391,7 +3391,7 @@ -moz-hyphens: none;
-ms-hyphens: none; -o-hyphens: none; hyphens: none; - color: #000; + color: #B2361E; font-size: 85%; } strong code,@@ -3415,7 +3415,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: bold; + font-weight: 800; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; line-height: 1em;@@ -3434,7 +3434,7 @@ }
abbr, span.abbr { font-variant: small-caps; - font-weight: bold; + font-weight: 600; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none;@@ -3472,7 +3472,7 @@ var,
span.var { font-size: 90%; font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace; - font-weight: bold; + font-weight: 800; font-style: normal; -webkit-hyphens: none; -moz-hyphens: none;@@ -3482,7 +3482,7 @@ hyphens: none;
} cite, span.cite { - font-weight: bold; + font-weight: 600; font-style: italic; -webkit-hyphens: none; -moz-hyphens: none;@@ -3519,7 +3519,7 @@ hyphens: none;
} span.ext, span.kwd { - font-weight: bold; + font-weight: 600; } img { max-width: 100%;@@ -4010,7 +4010,7 @@ .terminal p:before,
.terminal p:first-child:before { font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace; font-style: normal; - font-weight: bold; + font-weight: 800; color: #009926; content: "$ "; }@@ -4077,7 +4077,7 @@ .terminal-su p:before,
.terminal-su p:first-child:before { font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace; font-style: normal; - font-weight: bold; + font-weight: 800; color: #009926; content: "$ "; }