Changeset 6032


Ignore:
Timestamp:
9 May 2011, 10:39:36 (13 years ago)
Author:
Henrik Bettermann
Message:

The rest2html converter always starts with the h1 tag so we have to use different styles for headline tags in rendered restructured text.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser/static
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeup-base.css

    r6028 r6032  
    11/* This is the base stylesheet for WAeUP SIRP. It defines base styles
    2 additionally or modifying yuiapp.css styles. For themes, please create
     2additionally or modifying yuiapp.css styles and yuirfg.css. For themes, please create
    33a stylesheet overriding values set here in a file named
    4 'waeuptheme-<SOME-NAME>.css' and include it in sitelayout.pt
    5 template. */
     4'waeuptheme-<SOME-NAME>.css' and include a utility and a resource in theming.py
     5and resources.py respectively. */
    66
    77#hd { background-color:#5D0265; }
    88.block .hd { background-color:#5D0265; color:#fff; border-bottom:10px solid #262626; }
    9 .block .bd h2 { color:#5D0265; }
    10 .block .bd h3 { color:#5D0265; }
     9.block .bd h1 { font-size:153.9%; color:green; margin-bottom:0.5em;}
     10.block .bd h2 { font-size:153.9%; color:#5D0265; margin-bottom:0.5em;}
     11.block .bd h3 { font-size:153.9%; color:#5D0265; margin-bottom:0.5em;}
    1112.spaces .hd { background-color:transparent; }
    1213.spaces .hd ul li { background-color:#5D0265; }
     
    2021  padding: 3px;
    2122  margin-bottom: 1.3em
     23}
     24
     25/* Define different styles for headlines in rendered restrucrured text */
     26
     27#h1 h1 {
     28  font-size:130%;
     29}
     30
     31#h2 h2 {
     32  font-size:100%;
     33}
     34
     35#h3 h3 {
     36  font-size:100%;
     37}
     38
     39
     40#h4 h4 {
     41  font-size:100%;
    2242}
    2343
     
    4363  margin-top: -18px;
    4464  margin-bottom: 18px;
    45 }
    46 
    47 /* Form headers */
    48 #yui-main h1 {
    49   color: #555;
    50   font-size: 140%;
    5165}
    5266
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeuptheme-gray1.css

    r6026 r6032  
    2828#hd { background-color:#232C30;}
    2929.block .hd { background-color:#456; color:#fff; }
     30.block .bd h1 { color:#456; }
    3031.block .bd h2 { color:#456; }
    3132.block .bd h3 { color:#456; }
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeuptheme-red1.css

    r6028 r6032  
    66#hd { background-color:#840000; }
    77.block .hd { background-color:#840000; color:#fff; border-bottom:10px solid #262626; }
     8.block .bd h1 { color:#840000; }
    89.block .bd h2 { color:#840000; }
    910.block .bd h3 { color:#840000; }
Note: See TracChangeset for help on using the changeset viewer.