all repos — hastystyles @ e102d49fdc4b8bed0017d34481176bb1876bb995

The stylesheets for HastyScrybe and HastySite.

Fixed font size of code within terminal blocks.
h3rald h3rald@h3rald.com
Sun, 07 Oct 2018 10:56:45 +0200
commit

e102d49fdc4b8bed0017d34481176bb1876bb995

parent

94279cdf31ac4e9e75e2830bc912974aef84fe8e

2 files changed, 19 insertions(+), 0 deletions(-)

jump to
M styles/_blocks.lessstyles/_blocks.less

@@ -21,6 +21,9 @@ text-shadow: none;

font-weight: 400; font-family: @monospace-font; font-size: 85%; + code, pre, samp { + font-size: 100%; + } color: @gray-e; &:first-child { margin-top: 0px;
M styles/hastyscribe.cssstyles/hastyscribe.css

@@ -4052,6 +4052,14 @@ font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace;

font-size: 85%; color: #eee; } +.terminal > p code, +.terminal > p:first-child code, +.terminal > p pre, +.terminal > p:first-child pre, +.terminal > p samp, +.terminal > p:first-child samp { + font-size: 100%; +} .terminal > p:first-child, .terminal > p:first-child:first-child { margin-top: 0px;

@@ -4118,6 +4126,14 @@ font-weight: 400;

font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace; font-size: 85%; color: #eee; +} +.terminal-su > p code, +.terminal-su > p:first-child code, +.terminal-su > p pre, +.terminal-su > p:first-child pre, +.terminal-su > p samp, +.terminal-su > p:first-child samp { + font-size: 100%; } .terminal-su > p:first-child, .terminal-su > p:first-child:first-child {