home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web31 / Section_35397 / Martins_Jaymn / tutorial.11 / tutorial / dp.css next >
Cascading Style Sheet File  |  2011-05-07  |  1KB  |  37 lines

  1. /*
  2.    New Perspectives on XHTML and XML
  3.    Tutorial 11
  4.    Tutorial Case
  5.    Filename: dp.css
  6.  
  7.    This file contains styles used in the recipes.xml file.
  8.  
  9. */
  10.  
  11. recipe             {display: block; width: 400px; color: black;
  12.                     font-size: 14px; font-family: Arial, Helvetica, sans-serif;
  13.                     border: 3px solid black; background-color: rgb(221,221,221);
  14.                     margin: 10px; padding: 15px}
  15.  
  16. title              {display: block; font-size: 20px; letter-spacing: 3px; width: 100%;
  17.                     text-align: center; background-color: white; 
  18.                     border: 1px solid black}
  19.  
  20. description        {display: block; color: blue; margin-left: 30px; margin-top: 20px}
  21.  
  22. author             {display: block; text-align: right; font-style: italic}
  23.  
  24. servings           {display: block}
  25. servings:before    {content: "Servings: "}
  26.  
  27. ingredients        {display: block; margin: 10px 0px}
  28. ingredients:before {display:block; content: "Ingredients"; font-weight: bold}
  29. ingredient         {display: list-item; list-style-type: square;
  30.                     margin-left: 30px}
  31.  
  32. directions         {display: block; margin: 10px 0px}
  33. directions:before  {display:block; content: "Cooking Directions"; font-weight: bold}
  34. step               {display: list-item; list-style-type: decimal;
  35.                     margin-left: 30px}
  36.  
  37.