# HG changeset patch # User Yasutaka Higa # Date 1416039350 -32400 # Node ID cf6e0c3742b44bbc1dd4b8919ded3c4e4b08828d # Parent 8a37b1c6c7b79553fb685f873d333e617081e54a Adjust slides for cr diff -r 8a37b1c6c7b7 -r cf6e0c3742b4 cr.txt --- a/cr.txt Sat Nov 15 14:49:58 2014 +0900 +++ b/cr.txt Sat Nov 15 17:15:50 2014 +0900 @@ -28,8 +28,8 @@ # graphics -# default cover image -pictures/cover.jpg +# cr-logo +pictures/logo.svg themes/ribbon/images/grid.png themes/ribbon/images/linen.png diff -r 8a37b1c6c7b7 -r cf6e0c3742b4 pictures/cover.jpg Binary file pictures/cover.jpg has changed diff -r 8a37b1c6c7b7 -r cf6e0c3742b4 pictures/logo.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pictures/logo.svg Sat Nov 15 17:15:50 2014 +0900 @@ -0,0 +1,683 @@ + + + +image/svg+xml \ No newline at end of file diff -r 8a37b1c6c7b7 -r cf6e0c3742b4 slides.html.erb --- a/slides.html.erb Sat Nov 15 14:49:58 2014 +0900 +++ b/slides.html.erb Sat Nov 15 17:15:50 2014 +0900 @@ -8,27 +8,18 @@ -

<%= @headers['title'] %>

<%= @headers['author']%>

-
+

<%= @headers['title'] %>

+

<%= @headers['author'] %>

- <% cover = @headers['cover'] == "- cover not found -" ? "cover.jpg" : @headers['cover'] %> - -
@@ -49,7 +40,6 @@ To hide progress bar from entire presentation just remove “progress” element. --> -
diff -r 8a37b1c6c7b7 -r cf6e0c3742b4 themes/ribbon/styles/style.css --- a/themes/ribbon/styles/style.css Sat Nov 15 14:49:58 2014 +0900 +++ b/themes/ribbon/styles/style.css Sat Nov 15 17:15:50 2014 +0900 @@ -27,11 +27,12 @@ } .slide SECTION:before { position:absolute; - top:0; - right:120px; - width:40px; - height:120px; - background:url(../images/ribbon.svg) no-repeat; + bottom:-90px; + right:45px; + width:200px; + height:200px; + background:url(../../../pictures/logo.svg) no-repeat; + background-size: 200px; content:''; } @@ -172,20 +173,22 @@ font-weight:normal; } -/* Background */ -.slide.bg SECTION { +/* Cover */ +.slide.cover SECTION { background:transparent; + background-color: white; } - .slide.bg SECTION:before { - display:none; - } -.slide.bg IMG { - position:absolute; - top:0; - left:0; - z-index:-1; - width:100%; - } +.slide.cover H2 { + color:#666; + text-align:center; + font-size:84px; +} +.slide.cover H3 { + color:#888; + text-align:right; + font-size:56px; + margin-right:90px; +} /* Shout */ .slide.shout SECTION:before { @@ -382,4 +385,4 @@ } .full .progress-off { z-index:1; - } \ No newline at end of file + }