Commits

Olemis Lang  committed d3cae4e

TracMac: Headings, TOC and footer. CSS for first letter only for first <h1>

  • Participants
  • Parent commits f5df74a

Comments (0)

Files changed (3)

File tracmacos/htdocs/bg1.png

Added
New image

File tracmacos/htdocs/mac.css

 :link:hover, :visited:hover, .nav li:hover, 
 .nav li:hover>:link, .nav li:hover>:visited {
   background-color: #3366ff;
-  color: white;
+  color: #FFFFFF;
 }
 
 :visited {
   background-color: transparent;
 }
 
+#altlinks li :link, #altlinks li :visited {
+  color: #0000CC;
+}
+
+#altlinks li:hover :link, #altlinks li:hover :visited {
+  color: #FFFFFF;
+}
+
 .nav li {
   border-right: none;
 }
 #mainnav .active :link:hover, #mainnav .active :visited:hover {
   background-color: transparent;
   border: none;
-  color: white;
+  color: #FFFFFF;
 }
 
 #metanav {
 
 /* Fonts & Typography */
 
-h1+p:first-letter, h1+p+div.wiki-toc+p+p:first-letter {
+h1:first-child+p:first-letter, h1:first-child+p+div.wiki-toc+p+p:first-letter {
   color: #000000;
   background-image: url(fl.png);
   background-position: left;
   font-size: 2.5em;
   font-family: 'Palatino Linotype',Palatino,'Times New Roman',serif;
   font-weight: bold;
-  margin-right: 0.15em;
-  padding: 20px;
+  margin: 0px 0.05em 0.2em 0px; 
+  padding: 23px;
 }
 
 h1+p+h2, h1+p+div.wiki-toc+p+p+h2 {
   text-indent: 0.5em;
 }
 
+/* Headings & TOC & footer */
 
+.wikipage h1,
+.wikipage h2,
+.wikipage h3,
+.wikipage h4,
+.wikipage h5 {
+  clear: left;
+}
+
+.wikipage h1 {
+  background-image: url(bg1.png);
+  background-repeat: repeat;
+  border-bottom: 1px solid #99CCFF;
+  border-top: 1px solid #99CCFF;
+  padding-bottom: 0px;
+}
+
+.wikipage h2 {
+  border-bottom: 3px groove #3366CC;
+}
+
+.wikipage h3 {
+  border-bottom: 1px solid #3366CC;
+}
+
+.wiki-toc .active :link {
+  border: none;
+}
+
+.wiki-toc .active :visited {
+  background-color: transparent;
+  color: #000000;
+  font-style: italic;
+}
+.wiki-toc .active {
+  background: url("bg1.png") repeat-x;
+}
+
+#footer {
+  color: #0000CC;
+  font-size: 10px;
+}
+
+#footer :link, #footer :visited {
+  color: #0000CC;
+}
+
+#footer :link:hover, #footer :visited:hover {
+  color: #FFFFFF;
+}
+
+#footer p.left {
+  border-left: 1px solid #0000CC;
+  border-right: 1px solid #0000CC;
+}
+

File tracmacos/templates/mac_theme.html

         Powered by <a href="${href.about()}"><strong>Trac ${trac.version}</strong></a>.
         By <a href="http://www.edgewall.org/">Edgewall Software</a>.
         <br />
-        PyTpp theme - maintained by <a href="http://simelo-es.blogspot.com/">Olemis Lang</a>.
+        MacOS theme - maintained by <a href="http://simelo-es.blogspot.com/">Olemis Lang</a>.
       </p>
       <p class="right">${chrome.footer}</p>
     </div>