changeset 6:d24173772691

Support author profile
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Thu, 20 Nov 2014 10:53:53 +0900
parents eb5b2d692b34
children ed9fa78349f2
files cr.txt slides.html.erb themes/ribbon/styles/style.css
diffstat 3 files changed, 15 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/cr.txt	Sat Nov 15 17:26:53 2014 +0900
+++ b/cr.txt	Thu Nov 20 10:53:53 2014 +0900
@@ -2,16 +2,16 @@
 # - Shower by Vadim Makeev (aka pepelsbey); see https://github.com/pepelsbey/shower
 # - (Note: Template package still in development, Beta Vesion)
 #
-# Change as desired/needed 
+# Change as desired/needed
 #
 # Configured to use the following headers in slides.html.erb:
-# 
+#
 # author: Your Name Here
+# profile: Your Profile Here
 # title: Your Slide Show Title Here
-# cover: Your Slide Show Cover Image Here
 #
 # Questions? Comments?
-# Send them along to the Free Web Slide Show Alternatives (S5, S6, S9 And Friends) Forum/Mailing List. 
+# Send them along to the Free Web Slide Show Alternatives (S5, S6, S9 And Friends) Forum/Mailing List.
 # http://groups.google.com/group/webslideshow
 
 __file__.html slides.html.erb
--- a/slides.html.erb	Sat Nov 15 17:26:53 2014 +0900
+++ b/slides.html.erb	Thu Nov 20 10:53:53 2014 +0900
@@ -18,7 +18,8 @@
 		<section>
 			<header>
 				<h2><%= @headers['title'] %></h2>
-				<h3><%= @headers['author'] %></h3>
+				<h3 id="author"><%= @headers['author'] %></h3>
+				<h3 id="profile"><%= @headers['profile'] %></h3>
 			</header>
 		</section>
 	</div></div>
@@ -36,10 +37,6 @@
 </div></div>
 <% end %>
 
-	<!--
-		To hide progress bar from entire presentation
-		just remove “progress” element.
-		-->
 	<script src="scripts/script.js"></script>
 	<!-- Copyright © 2010–2011 Vadim Makeev, http://pepelsbey.net/ -->
 </body>
--- a/themes/ribbon/styles/style.css	Sat Nov 15 17:26:53 2014 +0900
+++ b/themes/ribbon/styles/style.css	Thu Nov 20 10:53:53 2014 +0900
@@ -183,10 +183,18 @@
 	text-align:center;
 	font-size:84px;
 }
-.slide.cover H3 {
+.slide.cover H3#author {
 	color:#888;
 	text-align:right;
 	font-size:56px;
+	margin-top:24px;
+	margin-right:90px;
+}
+
+.slide.cover H3#profile {
+	color:#888;
+	text-align:right;
+	font-size:24px;
 	margin-right:90px;
 }