Skip to content

Commit 9c21fd4

Browse files
author
Justin Martin
committed
Added ad for clean code.
1 parent 2adf65d commit 9c21fd4

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

css/main.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ textarea {
2929
}
3030

3131
img {
32-
padding-top: 8px;
3332
border: none;
33+
vertical-align: middle;
34+
}
35+
36+
.gh-img {
37+
padding-top: 2px;
3438
}
3539

3640
h1 {
@@ -63,3 +67,12 @@ h1 {
6367
position: relative;
6468
top: 3px;
6569
}
70+
71+
72+
.book-ad {
73+
display: inline-block;
74+
padding-right: 8px;
75+
}
76+
.book-ad img {
77+
height: 48px;
78+
}

img/clean_code.jpg

7.87 KB
Loading

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ <h1>{} Json Diff</h1>
2828
c-1.908-1.243-2.858-2.807-2.858-4.716l-4.853-130.47c0-2.667,0.953-4.665,2.856-5.996c2.474-2.093,4.758-3.14,6.854-3.14h62.809
2929
c2.098,0,4.38,1.043,6.854,3.14c1.902,1.331,2.851,3.14,2.851,5.424L292.088,304.357z"/>
3030
</svg> Invalid JSON</span>
31-
<a href="https://github.com/justspamjustin/online-json-diff" title="fork me on github!"><img src="img/gh.png"/></a>
31+
<a class="book-ad" href="https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882/ref=as_li_ss_il?ie=UTF8&qid=1470707326&sr=8-11&keywords=software+development&linkCode=li1&tag=justspamjusti-20&linkId=d0bf8301caceeff972273628705c7058" title="Clean Code: A Handbook of Agile Software Craftsmanship" target="_blank"><img src="img/clean_code.jpg"/></a>
32+
<a href="https://github.com/justspamjustin/online-json-diff" title="fork me on github!" target="_blank"><img class="gh-img" src="img/gh.png"/></a>
3233
</div>
3334
</header>
3435
<div class="json-diff-input">

0 commit comments

Comments
 (0)