home *** CD-ROM | disk | FTP | other *** search
/ com!online 2004 January / com_0104_1.iso / browser / ow32dede721j.exe / OPF.CSS < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-09-16  |  1.5 KB  |  98 lines

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