null+****@clear*****
null+****@clear*****
2012年 6月 22日 (金) 14:01:08 JST
SHIMODA Hiroshi 2012-06-22 14:01:08 +0900 (Fri, 22 Jun 2012) New Revision: 07a9c2cad02f9eb6b0d734b841a3d34a4e355082 https://github.com/groonga/gcs.groonga.org/commit/07a9c2cad02f9eb6b0d734b841a3d34a4e355082 Log: Add navigation menu Modified files: _layouts/default.html stylesheets/screen/base.css stylesheets/screen/home.css Modified: _layouts/default.html (+8 -0) =================================================================== --- _layouts/default.html 2012-06-22 13:45:42 +0900 (2aee667) +++ _layouts/default.html 2012-06-22 14:01:08 +0900 (9974029) @@ -10,6 +10,14 @@ <body{% if page.id %} id="page-{{ page.id }}"{% endif %}> <h1 id="global-heading"><a href="/">Groonga CloudSearch</a></h1> {{ content }} + <nav> + <ul> + <li><a href="/">About</a></li> + <li><a href="/install.html">Download & Install</a></li> + <li><a href="/tutorial.html">Tutorial</a></li> + <li><a href="/faq.html">FAQ</a></li> + </ul> + </nav> <footer> <p id="fork-me"><a href="http://github.com/groonga/gcs" title="Fork me on GitHub">Fork me on GitHub</a></p> </footer> Modified: stylesheets/screen/base.css (+29 -1) =================================================================== --- stylesheets/screen/base.css 2012-06-22 13:45:42 +0900 (966f2e0) +++ stylesheets/screen/base.css 2012-06-22 14:01:08 +0900 (4c9b07c) @@ -8,7 +8,7 @@ body { Tahoma, sans-serif; margin: 0; - padding: 5em 10% 1em; + padding: 80px 10% 1em; } h1 { @@ -30,6 +30,7 @@ h3, h3 *, h4, h4 *, h5, h5 * { color: white; + font-weight: normal; text-decoration: none; text-shadow: #06223A 0 0 0.25em, #0A344C 0 0 0.5em; @@ -38,6 +39,7 @@ h5, h5 * { h1#global-heading { background: url("header-icon.png") no-repeat left; font-style: italic; + letter-spacing: -0.04em; line-height: 1; margin: 0 0 0 -40px; padding: 15px 0 15px 40px; @@ -46,6 +48,32 @@ h1#global-heading { left: 10%; } +nav { + font-size: 90%; + left: 10%; + position: absolute; + top: 90px; + right: 10%; +} + +nav ul, +nav ul li { + display: inline; + list-style: none; + marign: 0; + padding: 0; +} + +nav ul li { + padding-right: 1em; +} + +nav :link, +nav :visited { + color: black; + text-shadow: #9AA4AC 0 0 0.25em; +} + .functional-ok { color: #00BF2B; text-shadow: #5AFF79 0 0 0.2em; Modified: stylesheets/screen/home.css (+5 -0) =================================================================== --- stylesheets/screen/home.css 2012-06-22 13:45:42 +0900 (73c7534) +++ stylesheets/screen/home.css 2012-06-22 14:01:08 +0900 (17debd7) @@ -35,6 +35,7 @@ h1#global-heading { background: url("header-icon.png") no-repeat left; display: block; font-size: 200%; + letter-spacing: -0.04em; margin-left: -40px; min-height: 40px; padding-left: 40px; @@ -98,3 +99,7 @@ h1#global-heading { -webkit-box-shadow: #D9F3FF 0 0 0.8em; box-shadow: #D9F3FF 0 0 0.8em; } + +nav { + top: 35px; +} -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download