[Groonga-commit] groonga/gcs.groonga.org [gh-pages] Enlarge header area on the home page

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 20日 (水) 19:00:40 JST


SHIMODA Hiroshi	2012-06-20 19:00:40 +0900 (Wed, 20 Jun 2012)

  New Revision: 3aa2326889e9cb21cffa66839ef6f325ba0d1bd5
  https://github.com/groonga/gcs.groonga.org/commit/3aa2326889e9cb21cffa66839ef6f325ba0d1bd5

  Log:
    Enlarge header area on the home page

  Modified files:
    _layouts/default.html
    index.md
    stylesheets/screen.css

  Modified: _layouts/default.html (+1 -1)
===================================================================
--- _layouts/default.html    2012-06-20 18:55:08 +0900 (8f9de4f)
+++ _layouts/default.html    2012-06-20 19:00:40 +0900 (bb8d22d)
@@ -4,7 +4,7 @@
     <title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
     <link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
   </head>
-  <body>
+  <body{% if page.id %} id="page-{{ page.id }}"{% endif %}>
     <h1><a href="/">Groonga CloudSearch</a></h1>
     {{ content }}
   </body>

  Modified: index.md (+1 -0)
===================================================================
--- index.md    2012-06-20 18:55:08 +0900 (11d213c)
+++ index.md    2012-06-20 19:00:40 +0900 (031c78a)
@@ -1,5 +1,6 @@
 ---
 layout: default
+id: home
 ---
 
 ## Functional comparison

  Modified: stylesheets/screen.css (+6 -0)
===================================================================
--- stylesheets/screen.css    2012-06-20 18:55:08 +0900 (5c44b78)
+++ stylesheets/screen.css    2012-06-20 19:00:40 +0900 (90b7911)
@@ -22,3 +22,9 @@ h1, h1 * {
   color: white;
   text-decoration: none;
 }
+
+body#page-home h1 {
+  height: 200px;
+  padding-bottom: 50px;
+  padding-top: 50px;
+}
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下載 



Groonga-commit メーリングリストの案内
Back to archive index