All Downloads are FREE. Search and download functionalities are using the official Maven repository.

demos.recipebook-xml.css Maven / Gradle / Ivy

There is a newer version: 9.11.1
Show newest version
/*

This cascading style sheet can be used to style raw RecipeBook XML
[http://www.happy-monkey.net/recipebook/] in a XML/CSS capable browser
like Mozilla Firefox. [http://www.mozilla.org/products/firefox/]
It is also handy to use with XML editors like XMLMind's XXE
[http://www.xmlmind.com/xmleditor] that use CSS for presenting the
document while editing.

recipebook-xml.css was written by David Horton

*/

hyperlink {
  display: inline;
  color: #0000FF;
  text-decoration: underline;
}

cookbook {
  display: block;
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 12pt;
  margin: 12pt;
  padding: 12pt;
}

cookbook>title {
  display: block;
  font-size: 24pt;
}

cookbook>subtitle {
  display: block;
  font-size: 16pt;
  font-style: italic;
}

cookbook>cookbookinfo>author {
  display: block;
  font-size: 16pt;
}

cookbook>cookbookinfo>copyright {
  display: block;
}

cookbookinfo>license {
  display:block;
}

section {
  display: block;
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 12pt;
  margin: 12pt;
  padding: 12pt;
}

section>title {
  font-size: 16pt;
  font-weight: bold;
}

recipe {
  display: block;
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 12pt;
  margin: 12pt;
  padding: 12pt;
}

recipe>title {
  display: block;
  font-weight: bold;
}

recipe>subtitle {
  display: block;
  font-style: italic;
}

recipeinfo {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

recipe>author {
  display: block;
}

recipe>author:before {
  display: inline;
  content: "Recipe by: ";
}

blurb {
  display: block;
}

genre {
  display: block;
}

genre:before {
  display: inline;
  content: "File under: ";
}

preptime {
  display: block;
}

preptime:before {
  display: inline;
  content: "Preparation Time: ";
}

source {
  display: block;
}

source:before {
  display: inline;
  content: "Source: ";
}

yield {
  display: block;
}

yield:before {
  display: inline;
  content: "Yield: ";
}

ingredientlist {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

ingredientlist:before {
  display: block;
  content: "Ingredients";
  font-weight: bold;
  margin-bottom: 12pt;
}

ingredient {
  display: block;
}

preparation {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

preparation:before {
  display: block;
  content: "Preparation Instructions ";
  font-weight: bold;
  margin-bottom: 12pt;
}

serving {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

serving:before {
  display: block;
  content: "Serving Suggestion ";
  font-weight: bold;
  margin-bottom: 12pt;
}

notes {
  display: block;
  margin-top: 12pt;
  margin-bottom: 12pt;
}

notes:before {
  display: block;
  content: "Notes ";
  font-weight: bold;
  margin-bottom: 12pt;
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy