Skip to content

Commit f190215

Browse files
committed
Add before/after expansion labels to example
1 parent 2c37ada commit f190215

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

site/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ <h1 class="title">
6262
</p>
6363
<div class="columns split-view">
6464
<div class="column left">
65+
<h5>Before expansion</h5>
6566
<pre class="highlight"><code class="language-clojure">
6667

6768

@@ -71,6 +72,7 @@ <h1 class="title">
7172
</code></pre>
7273
</div>
7374
<div class="column right">
75+
<h5>After expansion</h5>
7476
<pre class="highlight"><code class="language-clojure">{:duct.logger/simple
7577
{:appenders
7678
[{:type :stdout

site/style.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ p a:hover {
5656

5757
section.section {
5858
padding-top: 2rem;
59-
padding-bottom: 0.5rem;
59+
padding-bottom: 2rem;
6060
}
6161

6262
p {
@@ -95,6 +95,18 @@ pre.highlight code {
9595
padding: 0;
9696
}
9797

98+
.split-view h5 {
99+
font-weight: bold;
100+
font-size: 0.9rem;
101+
text-align: center;
102+
color: #ddd;
103+
margin-top: 1rem;
104+
}
105+
106+
.split-view pre.highlight {
107+
margin-top: 0;
108+
}
109+
98110
.split-view .left {
99111
max-width: 18rem;
100112
}

0 commit comments

Comments
 (0)