瀏覽代碼

Merge pull request #93 from StereotypicalApps/patch-1

Made the slideshow responsive
Hakim El Hattab 12 年之前
父節點
當前提交
ec4330700d
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      css/main.css

+ 3 - 4
css/main.css

@@ -461,12 +461,11 @@ body {
 
 .reveal .slides {
 	position: absolute;
-	width: 900px;
-	height: 600px;
-	
+	width: 60%;
+	height: 60%;
 	left: 50%;
 	top: 50%;
-	margin-left: -450px;
+	margin-left: -30%;
 	margin-top: -320px;
 	padding: 20px 0px;