Skip to content

Commit 61f2922

Browse files
committed
Bug fixing - watermark and terminal blocks.
1 parent b22e10e commit 61f2922

7 files changed

+33
-31
lines changed

assets/styles/_blocks.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
.terminal {
99
.mix-box(@gray-2, @gray-e, @gray-c);
1010
.mix-responsive;
11-
white-space: pre;
1211
padding: 0 3px;
1312
border: 2px solid @gray-9;
1413
border-top: 10px solid @gray-9;
1514
p, p:first-child {
15+
white-space: pre-wrap;
1616
margin-top: 0;
1717
margin-bottom: 0;
1818
text-shadow: none;

assets/styles/_mixins.less

+3
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,8 @@
130130
td {
131131
white-space: nowrap;
132132
}
133+
p {
134+
white-space: pre;
135+
}
133136
}
134137
}

assets/styles/hastyscribe.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/HastyScribe_UserGuide.htm

+22-22
Large diffs are not rendered by default.

doc/HastyScribe_UserGuide.md

-1
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,6 @@ Terminal sessions are used to display commands entered in a terminal, in sequenc
765765
{{output-text}}
766766

767767
> %terminal%
768-
>
769768
> cd src
770769
>
771770
> ./configure

hastyscribe.nim

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,24 @@ const
4747
sourcesanspro_it_font* = "assets/fonts/SourceSansPro-It.ttf.woff".slurp
4848
sourcesanspro_boldit_font* = "assets/fonts/SourceSansPro-BoldIt.ttf.woff".slurp
4949
watermark_style* = """
50-
body {
51-
position: relative;
50+
#container {
51+
position: relative;
52+
z-index: 0;
5253
}
53-
body:after {
54+
#container:after {
5455
content: "";
5556
opacity: 0.1;
57+
z-index: -1;
5658
position: absolute;
5759
top: 0;
5860
left: 0;
5961
bottom: 0;
6062
right: 0;
61-
z-index: 100;
6263
background-image: url($1);
6364
background-repeat: no-repeat;
6465
background-position: center 70px;
6566
background-attachment: fixed;
6667
}
67-
6868
"""
6969

7070
let

hastyscribe.nimble

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Package]
22
name = "hastyscribe"
3-
version = "1.2.0"
3+
version = "1.2.1"
44
author = "Fabio Cevasco"
55
description = "Self-contained markdown compiler generating self-contained HTML documents"
66
license = "MIT"

0 commit comments

Comments
 (0)