You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by rc...@apache.org on 2022/03/23 20:43:47 UTC

[lucenenet] 05/08: website: home page books are smaller now and fixed one books link so it's not just the kindle version.

This is an automated email from the ASF dual-hosted git repository.

rclabo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 1132c8839f081953df622fda91ca8cdb92e4add3
Author: Ron Clabo <ro...@GiftOasis.com>
AuthorDate: Mon Mar 21 17:30:23 2022 -0400

    website: home page books are smaller now and fixed one books link so it's not just the kindle version.
---
 websites/site/lucenetemplate/index.html.tmpl |  2 +-
 websites/site/lucenetemplate/styles/main.css | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/websites/site/lucenetemplate/index.html.tmpl b/websites/site/lucenetemplate/index.html.tmpl
index 926a975..8fefa48 100644
--- a/websites/site/lucenetemplate/index.html.tmpl
+++ b/websites/site/lucenetemplate/index.html.tmpl
@@ -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>
             
diff --git a/websites/site/lucenetemplate/styles/main.css b/websites/site/lucenetemplate/styles/main.css
index 70b043f..64005bd 100644
--- a/websites/site/lucenetemplate/styles/main.css
+++ b/websites/site/lucenetemplate/styles/main.css
@@ -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}
+}
\ No newline at end of file