home *** CD-ROM | disk | FTP | other *** search
/ PCMania 10 / Pcmania_Ep2_10_CD-01.iso / ow / OW4E32J.EXE / OPF.CSS < prev    next >
Encoding:
Cascading Style Sheet File  |  2000-03-10  |  1.4 KB  |  96 lines

  1. /* CSS style sheet for OPF */
  2.  
  3. package, Title, manifest, guide, reference { 
  4.   display: block;
  5. }
  6.  
  7. package {
  8.   margin: 1em;
  9. }
  10.  
  11. Identifier, Type {
  12.   display: none;
  13. }
  14.  
  15. Title {
  16.   font-size: 2em;
  17.   font-weight: bold;
  18.   margin: 0.8em 0 0.4em 0;
  19. }
  20.  
  21. /*
  22. Creator, Contributor { 
  23.   display: none;
  24. }
  25. */
  26.  
  27. /* why can't the two go on the same line? */
  28. /*
  29. Creator:before {
  30.   content: ", ";
  31. }
  32.  
  33. Contributor:before { 
  34.   content: ", ";
  35. }
  36. */
  37.  
  38. Contributor:first-child:before,
  39.   content: "Contributor(s): ";
  40. }
  41.  
  42. Creator:first-child:before {
  43.   content: "Creator(s): ";
  44. }
  45.  
  46.  
  47. Creator[file-as]:before {
  48.   font-size: 2em;  /* doesn't work */
  49.   margin: 1em 0 0.2em 0;
  50.   font-weight: bold;
  51.   content: "Author(s): ";
  52. }
  53.  
  54. Creator[file-as]:after {
  55.   content: " (to be filed)";
  56.   font-style: italic;
  57. }
  58.  
  59. Creator[role=aut]:after {
  60.   content: " (author)";
  61.   font-style: italic;
  62. }
  63.  
  64. reference:before {
  65.   content: attr(title);
  66. }
  67.  
  68. item, reference {
  69.   margin: 0 0 0 2em;
  70. }
  71.  
  72. item:before {
  73.   content: attr(href);
  74. }
  75.  
  76. item, reference {
  77.   set-link-source: attr(href);
  78.   use-link-source: current;
  79. }
  80.  
  81. manifest:before {
  82.   display: block;
  83.   content: "This package contains the following files:";
  84.   font-size: 2em;  /* doesn't work */
  85.   margin: 1em 0 0.2em 0;
  86.   font-weight: bold;
  87. }
  88.  
  89. guide:before {
  90.   content: "Guide:";
  91.   display: block;
  92.   font-size: 1.5em; /* doesn't work */
  93.   font-weight: bold;
  94.   margin: 1em 0 0.2em 0;
  95. }
  96.