view before_s6/2014/2014_01_21/s6_trunk/themes/blank5/print.css.less @ 5:ab2d529bb1d7

add slide
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 14 Oct 2014 19:17:35 +0900
parents 2014/2014_02_18/s6_trunk/themes/blank5/print.css.less@10fb2b05e390
children
line wrap: on
line source

/*********************************
 * CSS @media print rules (not projection or screen)
 */

//////////////////////////////////////
// note: this is a less extendend css script, to learn more about less; see lesscss.org)

body { font-size: 12pt; }


.slide {
   display: block !important;
   page-break-inside: avoid;
         
   h1   { page-break-after: avoid; }
   ul   { page-break-inside: avoid; }

   h1 { border-top: 2pt solid gray;
        border-bottom: 1px dotted silver;
      }
   
  /********************
   * Extra styling for first slide (title/cover slide)
   */

   &:first-child {
     margin-bottom: 3em; 

     h1 { font-size: 200%;
          border: none;
          margin: 0.5em 0 0.25em; }
     h3 { margin: 0; padding: 0;}
     h4 { margin: 0 0 0.5em; padding: 0;}
   }
}