Skip to content

Commit

Permalink
website: home page books are smaller now and fixed one books link so …
Browse files Browse the repository at this point in the history
…it's not just the kindle version.
  • Loading branch information
rclabo committed Mar 23, 2022
1 parent 82774e3 commit 1132c88
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion websites/site/lucenetemplate/index.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<a href="https://www.amazon.com/Instant-Lucene-NET-Michael-Heydt/dp/1782165940" target="_blank"><img src="https://images-na.ssl-images-amazon.com/images/I/51ovFeqMwBL.jpg" /></a>
</div>
<div class="col-xs-12 col-md-6">
<a href="https://www.amazon.com/Lucene-4-Cookbook-Edwood-Ng-ebook/dp/B00ZPJWC9S" target="_blank"><img src="https://images-na.ssl-images-amazon.com/images/I/51uIsUPhaeL.jpg"></a>
<a href="https://www.amazon.com/Lucene-4-Cookbook-Edwood-Ng/dp/1782162283/" target="_blank"><img src="https://images-na.ssl-images-amazon.com/images/I/51uIsUPhaeL.jpg"></a>
</div>
</div>

Expand Down
10 changes: 10 additions & 0 deletions websites/site/lucenetemplate/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,13 @@ body .toc {
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
}
}

.home-section.books img {width:300px}


@media (min-width: 900px){
.home-section.books .col-md-6 { width: 50%; }
}
@media (min-width:1200px){
.home-section.books .container{width:970px}
}

0 comments on commit 1132c88

Please sign in to comment.