* customized trac CSS for shared template
authormitty <mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Fri, 24 Sep 2010 07:48:00 +0000 (07:48 +0000)
committermitty <mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Fri, 24 Sep 2010 07:48:00 +0000 (07:48 +0000)
git-svn-id: https://lab.mitty.jp/svn/lab/trunk@55 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

trac/custom.css [new file with mode: 0644]
trac/site.html

diff --git a/trac/custom.css b/trac/custom.css
new file mode 100644 (file)
index 0000000..e150428
--- /dev/null
@@ -0,0 +1,56 @@
+.wikipage h1 {;
+    background-color: #ffffcc;
+    border-color: yellow;
+    border-style: solid;
+    border-width: 0 0 0.3em 0.3em;
+    padding: 0.2em 0.4em;
+    /* cancel browser.css */
+    margin-right: 0;
+}
+
+.wikipage h2 {
+    background-color: #ffffcc;
+    border-color: yellow;
+    border-style: solid;
+    border-width: 0 0 0.2em 0.6em;
+    padding: 0.2em 0.6em;
+}
+
+.wikipage h3 {
+    background-color: #ffffcc;
+    border-color: yellow;
+    border-style: double;
+    border-width: 0 0 0.2em 1em;
+    padding: 0.2em 0.7em;
+}
+
+.wikipage h4 {
+    background-color: #ffffcc;
+    padding: 0.2em 0.6em;
+}
+
+.wikipage h5 {
+    background-color: #ffffcc;
+    border-color: yellow;
+    border-style: solid;
+    border-width: 0 0 0 1em;
+    padding: 0.2em 0.4em;
+}
+
+.wikipage h6 {
+    background-color: #ffffcc;
+    border-color: yellow;
+    border-style: double;
+    border-width: 0 0 0 2em;
+    padding: 0.2em 0.4em;
+}
+
+/* expand edit text area */
+#edit #text {
+    min-height: 20em;
+}
+
+/* Quick search */
+#proj-search {
+    width: 20em;
+}
index 9866473..d33d7c8 100644 (file)
@@ -2,14 +2,10 @@
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
       py:strip="">
-  <!--!
-    This file allows customizing the appearance of the Trac installation.
-    Add your customizations here and rename the file to site.html. Note that
-    it will take precedence over a global site.html placed in the directory
-    specified by [inherit] templates_dir.
-    
-    More information about site appearance customization can be found here:
-    
-      http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
-  -->
+  <!--! Add site-specific style sheet -->
+  <head py:match="head" py:attrs="select('@*')">
+    ${select('*|comment()|text()')}
+    <link rel="stylesheet" type="text/css"
+          href="/static/htdocs/custom.css" />
+  </head>
 </html>