[Groonga-commit] groonga/gcs.groonga.org [gh-pages] Stylize headings

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 22日 (金) 13:45:42 JST


SHIMODA Hiroshi	2012-06-22 13:45:42 +0900 (Fri, 22 Jun 2012)

  New Revision: 403fa039f2c259abc5ba9912e13f0fc094ba2517
  https://github.com/groonga/gcs.groonga.org/commit/403fa039f2c259abc5ba9912e13f0fc094ba2517

  Log:
    Stylize headings

  Modified files:
    install.md
    stylesheets/screen/base.css
    stylesheets/screen/home.css

  Modified: install.md (+4 -4)
===================================================================
--- install.md    2012-06-22 07:49:40 +0900 (3c97233)
+++ install.md    2012-06-22 13:45:42 +0900 (c54b117)
@@ -2,22 +2,22 @@
 layout: default
 ---
 
-## Install
+# Install
 
-### Mac OS X
+## Mac OS X
 
     curl -O http://packages.groonga.org/gcs/macosx/gcs-1.0.0.tar.gz
     tar xvzf gcs-1.0.0.tar.gz
     cd gcs-1.0.0
     ./gcs
 
-### Debian
+## Debian
 
     sudo apt-get install groonga npm
     sudo npm install -g gcs
     gcs
 
-### CentOS
+## CentOS
 
     sudo yum install groonga
     # How to install npm?

  Modified: stylesheets/screen/base.css (+36 -1)
===================================================================
--- stylesheets/screen/base.css    2012-06-22 07:49:40 +0900 (3624176)
+++ stylesheets/screen/base.css    2012-06-22 13:45:42 +0900 (966f2e0)
@@ -8,7 +8,42 @@ body {
                Tahoma,
                sans-serif;
   margin: 0;
-  padding: 1em 10%;
+  padding: 5em 10% 1em;
+}
+
+h1 {
+  font-size: 120%;
+}
+
+h2 {
+  font-size: 100%;
+}
+
+h1, h2, h3, h4, h5 {
+  margin-top: 3em;
+  margin-bottom: 2em;
+}
+
+h1, h1 *,
+h2, h2 *,
+h3, h3 *,
+h4, h4 *,
+h5, h5 * {
+  color: white;
+  text-decoration: none;
+  text-shadow: #06223A 0 0 0.25em,
+               #0A344C 0 0 0.5em;
+}
+
+h1#global-heading {
+  background: url("header-icon.png") no-repeat left;
+  font-style: italic;
+  line-height: 1;
+  margin: 0 0 0 -40px;
+  padding: 15px 0 15px 40px;
+  position: absolute;
+  top: 1.5em;
+  left: 10%;
 }
 
 .functional-ok {

  Modified: stylesheets/screen/home.css (+3 -0)
===================================================================
--- stylesheets/screen/home.css    2012-06-22 07:49:40 +0900 (219ed6a)
+++ stylesheets/screen/home.css    2012-06-22 13:45:42 +0900 (73c7534)
@@ -26,7 +26,9 @@ h1#global-heading {
 #cover h1 {
   font-size: 100%;
   font-style: italic;
+  line-height: 1;
   margin-bottom: 20px;
+  margin-top: 0;
 }
 
 #cover h1 .main-title {
@@ -50,6 +52,7 @@ h1#global-heading {
 #download {
   position: absolute;
   bottom: 40px;
+  line-height: 1;
   margin: 0;
   padding: 0 0 1em;
   right: 12.5%;
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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