diff 2014/2014_01_21/s6_trunk/themes/g5/print.css.less @ 1:bcf1ede39faa

jan 21
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 21 Jan 2014 19:40:41 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/2014/2014_01_21/s6_trunk/themes/g5/print.css.less	Tue Jan 21 19:40:41 2014 +0900
@@ -0,0 +1,35 @@
+/*********************************
+ * 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;}
+   }
+}
\ No newline at end of file