view slides.pdf.html.erb @ 0:d2082b552de6

Import from https://github.com/slideshow-templates/slideshow-s6-blank (0d3a84f)
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Mon, 21 Dec 2015 21:38:16 +0900
parents
children
line wrap: on
line source

<!DOCTYPE html>
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title><%= @headers['title'] %></title>
   
   <%= content_for :head %>

<style>
html, body { margin: 0; padding: 0; }

body { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }

a:link, a:visited { color: black; }

h1 { font-size: 30pt;  }
h2 { font-size: 28pt;  }
h3 { font-size: 25pt;  }
p, li, dt, dd, td, th { font-size: 18pt; }

pre { font-size: 14pt;  }
pre.small { font-size: 11pt; }

pre.code {
        background-color: azure;
        padding: 5px;
      }
     
ul { list-style-type: square; }    
   
.center { text-align: center; }   
     
.slide { page-break-after: always;
         min-height: 100mm;
         padding: 40px;
         
         border: 1px dotted black;

/*      
  background: -moz-linear-gradient( top, maroon, red);
*/
       }

<%= content_for :css %>

/*
for princexml (CSS3 paged media support)
@page { size: A4 landscape }
*/
</style>

</head>
<body>

<div class="presentation">

<%= @content %>

  </div> <!-- presentation -->
</body>
</html>