Changeset 2990 for trac


Ignore:
Timestamp:
04/27/05 10:46:38 (8 years ago)
Author:
hauma
Message:

Bugfix: Format processed boxes like regular preformatted text boxes.

Location:
trac/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trac/trunk/htdocs/css/trac.css

    r2590 r2990  
    320320 
    321321.wikipage p { margin-left: 1em } 
    322 pre.wiki, pre.literal-block { 
     322pre.wiki, pre.literal-block, div.code-block { 
    323323 background: #f7f7f7; 
    324324 border: 1px solid #d7d7d7; 
  • trac/trunk/htdocs/css/wiki.css

    r2985 r2990  
    3939 
    4040/* Styles for TracNav */ 
     41.wiki-toc.trac-nav h2 { 
     42 margin-left: 2px; 
     43 margin-right: 4ex; 
     44 margin-top: 0; 
     45 margin-bottom: 5px; 
     46 paddint-top: 0; 
     47} 
     48@media screen { 
     49 .wiki-toc.trac-nav h2 { 
     50  display: none; 
     51 } 
     52} 
     53@media print { 
     54 .wiki-toc.trac-nav { 
     55  display: none; 
     56 } 
     57}  
    4158.wiki-toc.trac-nav h4 { margin: 0; padding: 0; } 
    4259.wiki-toc.trac-nav ul > li:first-child { margin-right: 4ex; } 
  • trac/trunk/wiki-macros/TracNav.py

    r2989 r2990  
    209209    html += '%s<div class="wiki-toc trac-nav">\n' % indentation(col) 
    210210    col += 1 
     211 
     212    html += '%s<h2><a href="http://svn.ipd.uka.de/trac/javaparty/wiki/TracNav">TracNav</a> menu</h2>' % indentation(col) 
     213 
    211214    if (not preview) and hdf.getValue('trac.acl.WIKI_MODIFY', ''): 
    212215        html += '%s<div class="edit"><a href="%s?edit=yes">edit</a></div>\n' % (indentation(col), env.href.wiki(name)) 
     
    241244                html += '%s<h4>%s</h4>\n' % (indentation(col), title) 
    242245            else: 
    243                 html += '%s<h4><a href="%s">%s...</a></h4>\n' % (indentation(col), env.href.wiki(name), title) 
     246                html += '%s<h4><a href="%s">%s</a>...</h4>\n' % (indentation(col), env.href.wiki(name), title) 
    244247            col -= 1 
    245248            html += '%s</li>\n' % indentation(col) 
Note: See TracChangeset for help on using the changeset viewer.