home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / gsv42os2.zip / gsview.css < prev    next >
Cascading Style Sheet File  |  2000-12-07  |  979b  |  74 lines

  1. /* This is the default GSview stylesheet, based on the Ghostscript stylesheet */
  2.  
  3. body
  4. {
  5.   color: black;
  6.   background-color: white;
  7. }
  8.  
  9. h1,h2,h3,h4,h5,h6
  10. {
  11.   font-family: sans-serif;
  12. }
  13.  
  14. /* This needs a patched html file else you have it all over the place */
  15. /* we only want this for the "visual header" at the page top */
  16. h1
  17. {
  18.   text-align: center;
  19.   background-color: #80FF80;
  20. }
  21.  
  22. /* Number the h2/h3 -- doesn't work on v4/5 browsers */
  23. h2
  24. {
  25.    counter-increment: h2-count;
  26.    counter-reset:     h3-count;
  27. }
  28.  
  29. h2:before
  30. {
  31.    content: counter(h2-count) " ";
  32. }
  33.  
  34. h3
  35. {
  36.    counter-increment: h3-count;
  37. }
  38.  
  39. h3:before
  40. {
  41.    content: counter(h2-count) "." counter(h3-count) " ";
  42.    
  43. }
  44.   
  45. tt
  46. {
  47.   color: rgb(40%,24%,24%);
  48. }
  49.  
  50. a > tt, a > b > tt
  51. {
  52.   color: blue;
  53. }
  54.  
  55. a
  56. {
  57.   color: blue;
  58. }
  59.  
  60. a.offsite
  61. {
  62.   font-style: oblique;
  63. }
  64.  
  65. a:visited
  66. {
  67.   color: rgb(60%,0%,30%);
  68. }
  69.  
  70. a:hover, a:active, a:focus
  71. {
  72.   background: #FFFFAA;
  73. }
  74.