Changeset 748 for trunk

Show
Ignore:
Timestamp:
02/18/11 11:08:32 (15 months ago)
Author:
mgalloy
Message:

Improving code listing appearance.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/resources/main.css

    r745 r748  
    22body { font-family: Helvetica, sans-serif; font-size: 12pt; margin: 0; padding: 0; } 
    33div.content { padding: 1em; } 
    4 p { line-height: 1.2; } 
     4p { line-height: 1.4; } 
    55td p { padding-bottom: 0.5em; } 
    66img { border: 0; } 
     
    3838        font-family: Verdana, Helvetica, sans-serif;  
    3939        font-size: 8pt;  
    40         font-weight: bold;  
     40        font-weight: bold; 
     41        color: #5070ff;  
    4142        text-transform: uppercase;  
    4243        float: right;  
     
    4950/* code styles */ 
    5051code { font-family: Monaco, "Courier New", Courier, monospace; } 
    51 code.listing { white-space: pre; display: block; padding: 0.1em 3em 0.1em 1em; font-size: 90%; } 
     52code.listing { white-space: pre; display: block; margin: -0.75em 0 -0.75em 0; padding: 0 3em 0 1em; font-size: 90%; line-height: 1.4em; } 
    5253code.source { white-space: pre; display: block; font-size: 90%; } 
    5354code.source span.comments { color: #408080; }