null+****@clear*****
null+****@clear*****
2011年 5月 24日 (火) 00:49:40 JST
Kouhei Sutou 2011-05-23 15:49:40 +0000 (Mon, 23 May 2011)
New Revision: ba392361f62b28518529b1e423b700afb38a6732
Log:
[doc] apply colors.
Added files:
doc/themes/groonga/static/logo.png
Modified files:
doc/themes/groonga/layout.html
doc/themes/groonga/static/groonga.css_t
doc/themes/groonga/theme.conf
Modified: doc/themes/groonga/layout.html (+14 -0)
===================================================================
--- doc/themes/groonga/layout.html 2011-05-23 08:56:46 +0000 (13d8006)
+++ doc/themes/groonga/layout.html 2011-05-23 15:49:40 +0000 (76446cc)
@@ -10,6 +10,20 @@
{% extends "default/layout.html" %}
{% set favicon = "favicon.ico" %}
+{% block header %}
+<div class="header">
+ <h1 class="title">
+ <a href="./">
+ <span class="title">groonga</span>
+ <span class="title-separator">-</span>
+ <span class="title-short-description">An open-source fulltext search engine and column store.</span>
+ <span class="title-catch-phrase">It lets you write high-performance applications that requires fulltext search.</span>
+ </a>
+ </h1>
+</div>
+ {{ super() }}
+{% endblock %}
+
{% block rootrellink %}
<li class="other-languages">
<ul class="other-languages">
Modified: doc/themes/groonga/static/groonga.css_t (+66 -2)
===================================================================
--- doc/themes/groonga/static/groonga.css_t 2011-05-23 08:56:46 +0000 (0ba1c68)
+++ doc/themes/groonga/static/groonga.css_t 2011-05-23 15:49:40 +0000 (e15ad2e)
@@ -1,3 +1,4 @@
+/* -*- css -*- */
/*
* groonga.css_t
* ~~~~~~~~~~~~~
@@ -11,15 +12,78 @@
@import url("default.css");
-div.related li.other-languages {
+div.header h1.title
+{
+ background: white url(logo.png) no-repeat;
+ background-position: 60px 10px;
+ font-family: sans-serif;
+ font-size: 12px;
+ font-weight: bold;
+ text-shadow: 0.1em 0.1em 0.1em rgb(200, 200, 200);
+ margin: 0;
+ padding-top: 10px;
+ height: 90px;
+}
+
+div.header h1.title a,
+div.header h1.title a:link,
+div.header h1.title a:visited
+{
+ color: black;
+ text-decoration: none;
+}
+
+div.header h1.title span
+{
+ display: block;
+ padding-left: 320px;
+ margin-bottom: 2px;
+ margin-right: 150px;
+}
+
+div.header h1.title span.title,
+div.header h1.title span.title-separator
+{
+ display: none;
+}
+
+div.header h1.title span.title-short-description
+{
+ padding-top: 10px;
+}
+
+div.header h1.title span.title-catch-phrase
+{
+ padding-bottom: 20px;
+}
+
+div.related
+{
+ border-bottom: 1px solid #992e1d;
+}
+
+div.related li.other-languages
+{
position: relative;
display: list-item;
}
-div.related li.other-languages ul.other-languages {
+div.related li.other-languages ul.other-languages
+{
margin: 0;
padding: 0;
position: absolute;
top: 10px;
right: 230px;
}
+
+div.document
+{
+ position: relative;
+}
+
+div.sphinxsidebar
+{
+ position: absolute;
+ top: 0;
+}
Added: doc/themes/groonga/static/logo.png (+0 -0) 100755
===================================================================
(Binary files differ)
Modified: doc/themes/groonga/theme.conf (+10 -10)
===================================================================
--- doc/themes/groonga/theme.conf 2011-05-23 08:56:46 +0000 (04d5839)
+++ doc/themes/groonga/theme.conf 2011-05-23 15:49:40 +0000 (7fae7eb)
@@ -9,22 +9,22 @@ stickysidebar = false
collapsiblesidebar = false
externalrefs = false
-footerbgcolor = #11303d
+footerbgcolor = #992e1d
footertextcolor = #ffffff
-sidebarbgcolor = #1c4e63
-sidebarbtncolor = #3c6e83
+sidebarbgcolor = #992e1d
+sidebarbtncolor = #ffefd1
sidebartextcolor = #ffffff
-sidebarlinkcolor = #98dbcc
-relbarbgcolor = #133f52
+sidebarlinkcolor = #f8e0ae
+relbarbgcolor = #f6872e
relbartextcolor = #ffffff
relbarlinkcolor = #ffffff
bgcolor = #ffffff
textcolor = #000000
-headbgcolor = #f2f2f2
-headtextcolor = #20435c
-headlinkcolor = #c60f0f
-linkcolor = #355f7c
-visitedlinkcolor = #355f7c
+headbgcolor = #ffefd1
+headtextcolor = #992e1d
+headlinkcolor = #f8e0ae
+linkcolor = #e15611
+visitedlinkcolor = #f6872e
codebgcolor = #eeffcc
codetextcolor = #333333