all repos — hastystyles @ bdf7dd7b468ea93aca02e57992f6cb73f848e0f2

The stylesheets for HastyScrybe and HastySite.

Minor fixes.
h3rald h3rald@h3rald.com
Sat, 18 Nov 2017 21:41:30 +0100
commit

bdf7dd7b468ea93aca02e57992f6cb73f848e0f2

parent

c033cbca48e55ea438101610504f639a1ad2c76b

2 files changed, 17 insertions(+), 3 deletions(-)

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

@@ -10,15 +10,19 @@ .mix-box(@gray-2, @gray-e, @gray-c);

.mix-responsive; padding: 0 3px; border: 2px solid @gray-9; + white-space: pre-wrap; border-top: 10px solid @gray-9; p, p:first-child { - margin-top: 0; + margin-top: -40px; margin-bottom: 0; text-shadow: none; font-weight: normal; font-family: @monospace-font; font-size: 85%; color: @gray-e; + :first-child { + margin-top: 0px; + } &:before { font-family: @monospace-font; font-style: normal;
M styles/hastyscribe.cssstyles/hastyscribe.css

@@ -3199,6 +3199,7 @@ background-color: #222;

border: 1px solid #ccc; padding: 0 3px; border: 2px solid #999; + white-space: pre-wrap; border-top: 10px solid #999; } .terminal a {

@@ -3219,13 +3220,17 @@ }

} .terminal p, .terminal p:first-child { - margin-top: 0; + margin-top: -40px; margin-bottom: 0; text-shadow: none; font-weight: normal; font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace; font-size: 85%; color: #eee; +} +.terminal p :first-child, +.terminal p:first-child :first-child { + margin-top: 0px; } .terminal p:before, .terminal p:first-child:before {

@@ -3251,6 +3256,7 @@ background-color: #222;

border: 1px solid #ccc; padding: 0 3px; border: 2px solid #999; + white-space: pre-wrap; border-top: 10px solid #999; } .terminal-su a {

@@ -3271,13 +3277,17 @@ }

} .terminal-su p, .terminal-su p:first-child { - margin-top: 0; + margin-top: -40px; margin-bottom: 0; text-shadow: none; font-weight: normal; font-family: "Source Code Pro", "Monaco", "DejaVu Sans Mono", "Courier New", monospace; font-size: 85%; color: #eee; +} +.terminal-su p :first-child, +.terminal-su p:first-child :first-child { + margin-top: 0px; } .terminal-su p:before, .terminal-su p:first-child:before {