Edgewall Software

Changes between Version 16 and Version 17 of CookBook/SiteStyleCss


Ignore:
Timestamp:
Mar 6, 2023, 11:10:16 AM (16 months ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • CookBook/SiteStyleCss

    v16 v17  
    11= Interface Customization using site/style.css
    22
    3 This page has some useful site styling tips. The snippets below should be included in the style.css referenced from the [SiteHtml site.html] file. Typically these are used to differentiate one Trac installation from another. **See [TracInterfaceCustomization#SiteAppearance Trac Interface Customization] for information on enabling a style.css.**
     3This page has some useful site styling tips. The snippets below should be included in the style.css referenced from the [SiteHtml site.html] file. Typically these are used to differentiate one Trac installation from another.
     4
     5See [TracInterfaceCustomization#SiteAppearance Trac Interface Customization] for information on enabling a style.css.
    46
    57== Get the "Red" Out
     
    2426}}}
    2527
    26 This will change most of the Red in Trac as well as in Bitten. However some additional plugins may still use Red where it would be desired to use the new theme color.
     28This will change most of the Red in Trac as well as in Bitten. However, plugins may still use Red where it would be desirable to use the new theme color, in which case the styling changes need to be applied on a plugin-by-plugin basis too.
    2729
    2830== Change The Citation Colors
    2931
    30 The above section gets all of the Red used in Trac except the color used in the first level of the citation (`>`) markup. 
     32The changes described above do not affect all styling in Trac, and one such area is the first level of citation (`>`) markup:
    3133> Example.[[br]]
    3234> More Example.
    33 However this is actually the first of a series of four colors.
     35However this is actually the first of a series of four colors:
    3436> First level
    3537> > Second level
     
    3840> > > > > And levels above.
    3941
    40 To changes these colors away from the defaults of dark-red !#b44, dark-blue !#4b4, dark-green !#44b, and medium-red !#c55, in this example to dark-blue !#44b, dark-red !#b44, dark-green !#4b4, and dark-blue !#44b:
     42To change these colors away from the defaults of dark-red !#b44, dark-blue !#4b4, dark-green !#44b, and medium-red !#c55, in this example to dark-blue !#44b, dark-red !#b44, dark-green !#4b4, and dark-blue !#44b:
    4143{{{#!css
    4244blockquote.citation { border-color: #44b; }
     
    4850== Adding Background Color to the Main Navigation Bar
    4951
    50 The main navigation bar (Wiki, Timeline, Roadmap, Browse Source, View Tickets, New Tickets, Search) appears in black on white.  To change the background color to for example a pale blue:
     52The main navigation bar (Wiki, Timeline, Roadmap, Browse Source, View Tickets, New Tickets, Search) appears in black on white. To change the background color to for example a pale blue:
    5153{{{#!css
    5254#mainnav li {