[Groonga-commit] groonga/groonga [master] [doc] style footer and sidebar.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 5月 24日 (火) 16:34:00 JST


Kouhei Sutou	2011-05-24 07:34:00 +0000 (Tue, 24 May 2011)

  New Revision: fb3ed20e5a76d31fae85456ca62be030f8fa3ca9

  Log:
    [doc] style footer and sidebar.

  Added files:
    doc/themes/groonga/static/footer-bar.png
    doc/themes/groonga/static/menu-header.png
  Modified files:
    doc/themes/groonga/static/groonga.css_t
    doc/themes/groonga/theme.conf

  Added: doc/themes/groonga/static/footer-bar.png (+0 -0) 100755
===================================================================
(Binary files differ)

  Modified: doc/themes/groonga/static/groonga.css_t (+73 -0)
===================================================================
--- doc/themes/groonga/static/groonga.css_t    2011-05-24 05:43:17 +0000 (022439b)
+++ doc/themes/groonga/static/groonga.css_t    2011-05-24 07:34:00 +0000 (fa93540)
@@ -12,6 +12,28 @@
 
 @import url("default.css");
 
+a:link,
+div.sphinxsidebar a:link
+{
+    color: #992e1d;
+}
+
+a:visited,
+div.sphinxsidebar a:visited
+{
+    color: #f6872e;
+}
+
+a:active,
+div.sphinxsidebar a:active,
+a:hover,
+div.sphinxsidebar a:hover
+{
+    color: #fff;
+    background-color: #992e1d;
+    text-decoration: none;
+}
+
 div.header h1.title
 {
     background: white url(logo.png) no-repeat;
@@ -93,4 +115,55 @@ div.sphinxsidebar
 {
     position: absolute;
     top: 0;
+    font-size: smaller;
+}
+
+div.sphinxsidebar h3
+{
+    color: #fff;
+    background: url(menu-header.png) right top no-repeat;
+    margin: 0 0 0.5em 0;
+    padding: 0.5em 0 0.2em 0.5em;
+    font-weight: bold;
+}
+
+div.sphinxsidebar h3 a:link,
+div.sphinxsidebar h3 a:visited
+{
+    color: #fff;
+}
+
+div.sphinxsidebar h4:before
+{
+    content: ">> ";
+    color: #53aa24;
+}
+
+div.sphinxsidebar ul,
+div.sphinxsidebar ul ul
+{
+    list-style-type: none;
+}
+
+div.sphinxsidebar li ul
+{
+    margin-top: 4px;
+}
+
+div.sphinxsidebar li ul li
+{
+    margin-bottom: 4px;
+}
+
+div.sphinxsidebar p.topless:before,
+div.sphinxsidebar ul li:before
+{
+    content: "> ";
+    font-weight: bold;
+    color: #2fa52f;
+}
+
+div.footer
+{
+    background: url(footer-bar.png) repeat-x scroll center top;
 }

  Added: doc/themes/groonga/static/menu-header.png (+0 -0) 100755
===================================================================
(Binary files differ)

  Modified: doc/themes/groonga/theme.conf (+6 -6)
===================================================================
--- doc/themes/groonga/theme.conf    2011-05-24 05:43:17 +0000 (407f045)
+++ doc/themes/groonga/theme.conf    2011-05-24 07:34:00 +0000 (7ec16d2)
@@ -9,14 +9,14 @@ stickysidebar = false
 collapsiblesidebar = false
 externalrefs = false
 
-sidebarwidth = 200
+sidebarwidth = 230
 
-footerbgcolor    = #992e1d
-footertextcolor  = #ffffff
-sidebarbgcolor   = #992e1d
+footerbgcolor    = #ffffff
+footertextcolor  = #000000
+sidebarbgcolor   = #ffffff
 sidebarbtncolor  = #ffefd1
-sidebartextcolor = #ffffff
-sidebarlinkcolor = #f8e0ae
+sidebartextcolor = #000000
+sidebarlinkcolor = #992e1d
 relbarbgcolor    = #f6872e
 relbartextcolor  = #ffffff
 relbarlinkcolor  = #ffffff




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