/*
   New Perspectives on HTML and CSS
   Tutorial 8
   Case Problem 1

   dessertWeb Print Styles
   Author: Campbell Gilliland
   Date:   04/03/2025

   Filename:         dwprint.css
   Supporting Files: 

*/

@page print{
   size: 8.5in 11in;
   margin: 0.5in;
   orientation: portrait;
}
@media print{
   header,
   #left,
   #right,
   nav,
   aside,
   footer,
   hgroup h2,
   article p:last-of-type{
      display: none;
   }
   h1{
      font-size: 200%;
      margin-bottom: 0.2in;
   }
   h2{
      font-size: 150%;
      margin-top: 0.5in;
      
   }
   li{
      line-height: 1.5em;
   }
   ol{
      margin-left: 0.5in;
      list-style-type: decimal;
   }
   h2:last-of-type{
      break-before: page;
   }
}


