diff --git a/examples/index.htm b/examples/index.htm
new file mode 100644
index 0000000..239bc12
--- /dev/null
+++ b/examples/index.htm
@@ -0,0 +1,25 @@
+
+
+
+ Shower
+
+
+
+
+ ★ Demo ★
+
+
\ No newline at end of file
diff --git a/index.htm b/index.htm
index f19a515..2181b2e 100755
--- a/index.htm
+++ b/index.htm
@@ -114,21 +114,14 @@
-
-
+
diff --git a/scripts/script.js b/scripts/script.js
index 6999c16..29b2fff 100755
--- a/scripts/script.js
+++ b/scripts/script.js
@@ -3,14 +3,21 @@ var url = document.location,
slides = [], backhash = {},
linkScreen = document.querySelector('link[title=screen]'),
linkProjection = document.querySelector('link[title=projection]'),
+ iframes = window.frames,
fullscreen = false;
-for(var i = 0, len = domSlides.length; i < len; i++) {
+for(var i = 0, iLength = domSlides.length; i < iLength; i++) {
var id = domSlides[i].id;
slides[i] = '#' + id;
backhash['#' + id] = i;
}
+for( var j = 0, jLength = iframes.length; j < jLength; j++ ) {
+ iframes[j].onfocus = function() {
+ window.top.focus();
+ }
+}
+
function enterFull() {
fullscreen = true;
updateView();
diff --git a/styles/projection.css b/styles/projection.css
index 311ac8d..cf942b5 100755
--- a/styles/projection.css
+++ b/styles/projection.css
@@ -125,6 +125,15 @@ A {
.slide ARTICLE EM {
font-style:italic;
}
+.slide ARTICLE KBD,
+.slide ARTICLE CODE {
+ padding:0.1em 0.3em;
+ -webkit-border-radius:0.3em;
+ -moz-border-radius:0.3em;
+ border-radius:0.3em;
+ background:#EEE;
+ font-family:Consolas, 'Droid Sans Mono', monospace;
+ }
/* Quote */
.slide ARTICLE BLOCKQUOTE {
@@ -185,8 +194,9 @@ A {
}
.slide ARTICLE PRE CODE {
display:block;
+ padding:0;
+ background:none;
white-space:pre;
- font-family:Consolas, 'Droid Sans Mono', monospace;
}
.slide ARTICLE PRE CODE:before {
position:absolute;
@@ -200,9 +210,9 @@ A {
.slide ARTICLE PRE EM,
.slide ARTICLE PRE STRONG {
padding:0.1em 0.3em;
- -webkit-border-radius:.3em;
- -moz-border-radius:.3em;
- border-radius:.3em;
+ -webkit-border-radius:0.3em;
+ -moz-border-radius:0.3em;
+ border-radius:0.3em;
}
.slide ARTICLE PRE EM {
background:#FAFAA2;
@@ -284,21 +294,5 @@ A {
display:none;
}
.slide.shout:after {
- content:'';
- }
-
-/* Frame
----------------------------------------- */
-.slide.frame {
- background:#FFF;
- }
- .slide.frame IFRAME {
- position:absolute;
- top:0;
- left:0;
- width:100%;
- height:100%;
- }
-.slide.frame:after {
content:'';
}
\ No newline at end of file
diff --git a/styles/screen.css b/styles/screen.css
index f0d77f0..a54f266 100755
--- a/styles/screen.css
+++ b/styles/screen.css
@@ -236,12 +236,4 @@ A {
padding:30px 0;
text-align:center;
font-size:60px;
- }
-
-/* Frame
----------------------------------------- */
-.slide.frame {
- }
- .slide.frame IFRAME {
- display:none;
- }
\ No newline at end of file
+ }
\ No newline at end of file