projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee31772
)
Made the slideshow responsive
author
Owen Versteeg
<stereotypicalapps@live.com>
Thu, 2 Aug 2012 13:22:44 +0000
(10:22 -0300)
committer
Owen Versteeg
<stereotypicalapps@live.com>
Thu, 2 Aug 2012 13:22:44 +0000
(10:22 -0300)
Woohoo! The slideshow now responds to resizing of the browser nicely!
css/main.css
patch
|
blob
|
history
diff --git
a/css/main.css
b/css/main.css
index 6117fbc66b37d7e8f9afedf15488cccd41e3f684..966ebb75e2c2e5e75b9d0f8e9a1434e480e8afa6 100644
(file)
--- a/
css/main.css
+++ b/
css/main.css
@@
-455,13
+455,12
@@
body {
.reveal .slides {
position: absolute;
- width: 900px;
- height: 600px;
-
+ width: 60%;
+ height: 60%;
left: 50%;
top: 50%;
- margin-left: -
450px
;
- margin-top: -
320px
;
+ margin-left: -
30%
;
+ margin-top: -
47%
;
padding: 20px 0px;
text-align: center;