db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject [db-jdo-site] branch master updated: Use icons with highest resolution available for website
Date Wed, 24 Feb 2021 11:50:04 GMT
This is an automated email from the ASF dual-hosted git repository.

tobous pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/db-jdo-site.git


The following commit(s) were added to refs/heads/master by this push:
     new e1119e7  Use icons with highest resolution available for website
e1119e7 is described below

commit e1119e79f8f20bbc450b40226f15b850b16870bf
Author: Tobias Bouschen <tobias.bouschen@googlemail.com>
AuthorDate: Sun Feb 21 18:49:11 2021 +0100

    Use icons with highest resolution available for website
    
    Adjusts the website to use the 150x150 version of the JDO logo instead
    of smaller ones. Sets the scaling manually to keep the previous size
    when using the larger image.
    
    Adjusts the image size of the header icon to better fit the bar and
    create an even spacing with the default layout.
---
 src/main/asciidoc/index.adoc        | 2 +-
 src/main/template/document.html.erb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc
index 36f191d..ddc98a0 100644
--- a/src/main/asciidoc/index.adoc
+++ b/src/main/asciidoc/index.adoc
@@ -5,7 +5,7 @@
 :grid: cols
 
 [[index]]
-image:images/JDOx100.png[float="left"]
+image:images/JDOx150.png[logo,100,100,float="left"]
 image:images/jdo_text.png[float="right"]
 
 '''''
diff --git a/src/main/template/document.html.erb b/src/main/template/document.html.erb
index 6a01fd2..7accbd5 100644
--- a/src/main/template/document.html.erb
+++ b/src/main/template/document.html.erb
@@ -13,7 +13,7 @@
 
     <title><%= doctitle(:sanitize => true) || (attr 'untitled-label') %></title>
 
-    <link rel="icon" type="image/png" href="<%= (attr :_basedir) %>images/JDO_32x32.png"/>
+    <link rel="icon" type="image/png" href="<%= (attr :_basedir) %>images/JDOx150.png"/>
 
     <!--
         Apache JDO Documentation Template
@@ -108,7 +108,7 @@
             </button>
             <!-- 'style' added to align image with navbar. FIX THIS -->
             <a class="navbar-brand" href="https://db.apache.org/jdo/">
-                <img style="margin-top: -12px;" alt="Brand" src="<%= (attr :_basedir)
%>images/JDO_44x44.png"/>
+                <img style="margin-top: -12px;" alt="Brand" width="45.5" height="45.5"
src="<%= (attr :_basedir) %>images/JDOx150.png"/>
             </a>
             <!-- TODO Any way to abstract the version from Maven? -->
             <a class="navbar-brand" href="<%= (attr :_basedir) %>index.html">Apache
JDO</a>


Mime
View raw message