/* CSS style sheet for OPF */
/* Copyright 2000 Opera Software */

package, Title, manifest, guide, reference { 
  display: block;
}

package {
  margin: 1em;
}

Identifier, Type {
  display: none;
}

Title {
  font-size: 2em;
  font-weight: bold;
  margin: 0.8em 0 0.4em 0;
}

/*
Creator, Contributor { 
  display: none;
}
*/

/* why can't the two go on the same line? */
/*
Creator:before {
  content: ", ";
}

Contributor:before { 
  content: ", ";
}
*/

Contributor:first-child:before,
  content: "Contributor(s): ";
}

Creator:first-child:before {
  content: "Creator(s): ";
}


Creator[file-as]:before {
  font-size: 2em;  /* doesn't work */
  margin: 1em 0 0.2em 0;
  font-weight: bold;
  content: "Author(s): ";
}

Creator[file-as]:after {
  content: " (to be filed)";
  font-style: italic;
}

Creator[role=aut]:after {
  content: " (author)";
  font-style: italic;
}

reference:before {
  content: attr(title);
}

item, reference {
  margin: 0 0 0 2em;
}

item:before {
  content: attr(href);
}

item, reference {
  set-link-source: attr(href);
  use-link-source: current;
}

manifest:before {
  display: block;
  content: "This package contains the following files:";
  font-size: 2em;  /* doesn't work */
  margin: 1em 0 0.2em 0;
  font-weight: bold;
}

guide:before {
  content: "Guide:";
  display: block;
  font-size: 1.5em; /* doesn't work */
  font-weight: bold;
  margin: 1em 0 0.2em 0;
}
