[Groonga-commit] groonga/groonga.github.com [master] doc en: centering image

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Aug 20 17:25:51 JST 2012


HAYASHI Kentaro	2012-08-20 17:25:51 +0900 (Mon, 20 Aug 2012)

  New Revision: 480281b5d8f054c18029d9aecbf9effab5ac7608
  https://github.com/groonga/groonga.github.com/commit/480281b5d8f054c18029d9aecbf9effab5ac7608

  Log:
    doc en: centering image

  Modified files:
    css/screen.css
    related-projects.html

  Modified: css/screen.css (+8 -0)
===================================================================
--- css/screen.css    2012-08-20 17:12:10 +0900 (3056790)
+++ css/screen.css    2012-08-20 17:25:51 +0900 (89a4fc9)
@@ -492,6 +492,14 @@ div.note
     background-color: #eeffcc;
 }
 
+div.figure img
+{
+    display: block;
+    margin-left: auto;
+    margin-right: auto;
+    text-align: center;
+}
+
 footer
 {
     clear: both;

  Modified: related-projects.html (+11 -3)
===================================================================
--- related-projects.html    2012-08-20 17:12:10 +0900 (1daa520)
+++ related-projects.html    2012-08-20 17:25:51 +0900 (6350317)
@@ -17,7 +17,9 @@ title: Related Projects
   <section id="databases">
     <h3>Databases</h3>
     <p>There are some software used with other database products. You can use extended SQL query.</p>
-    <img src="images/groonga-related-projects-databases.png" />
+    <div class="figure">
+      <img src="images/groonga-related-projects-databases.png" />
+    </div>
     <section id="mroonga">
       <h4>groonga + MySQL</h4>
       <p><a href="http://mroonga.github.com/">mroonga</a> is a MySQL storage engine built on groonga. It adds high performance and high accuracy fulltext search feature to MySQL.</p>
@@ -32,8 +34,10 @@ title: Related Projects
   <section id="bindings">
     <h3>Language bindings</h3>
     <p>There are some language bindings for groonga. You can use Node.js, Ruby and Perl as language bindings which provides HTTP/API access.</p>
+    <div class="figure">
     <img src="images/groonga-related-projects-bindings.png" alt="Node.js is an official trademark of Joyent. 
                                                                  This image is not formally related to or endorsed by the official Joyent Node.js open source or commercial project." />
+    </div>
     <section id="nroonga">
       <h4>groonga + Node.js (binding)</h4>
       <p><a href="http://nroonga.github.com/">nroonga</a> is a groonga binding for Node.js. Nroonga uses groonga as a library. It means that fulltext search is done in Node.js process.</p>
@@ -51,8 +55,10 @@ title: Related Projects
   <section id="libraries">
     <h3>Libraries for server use</h3>
     <p>There are some libraries which provides convenient API or HTTP functionality (reverse proxy) for groonga server use.</p>
-    <img src="images/groonga-related-projects-libraries.png" alt="Node.js is an official trademark of Joyent. 
+    <div class="figure">
+      <img src="images/groonga-related-projects-libraries.png" alt="Node.js is an official trademark of Joyent. 
                                                                   This image is not formally related to or endorsed by the official Joyent Node.js open source or commercial project." />
+    </div>
     <p class="note">The gqtp described in above picture means "groonga query transfer protocol".</p>
     <section id="anyevent-groonga">
       <h4>AnyEvent-Groonga</h4>
@@ -71,7 +77,9 @@ title: Related Projects
   <section id="utilities">
     <h3>Utilities</h3>
     <p>There are some utilities which improves CLI (command line interface) for groonga.</p>
-    <img src="images/groonga-related-projects-utilities.png" /> 
+    <div class="figure">
+      <img src="images/groonga-related-projects-utilities.png" /> 
+    </div>
     <section id="grnwrap">
       <h4>grnwrap</h4>
       <p><a href="https://github.com/michisu/grnwrap">grnwrap</a> is a utility that improves groonga's command line interface.</p>
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index