Browse Source

remove left/right margin from images, tweak pdf print styles

Hakim El Hattab 11 years ago
parent
commit
519ee26809

+ 1 - 0
css/print/pdf.css

@@ -85,6 +85,7 @@ ul, ol, div, p {
 	left: auto;
 	top: auto;
 	margin-left: auto;
+	margin-right: auto;
 	margin-top: auto;
 	padding: auto;
 

+ 1 - 1
css/theme/beige.css

@@ -90,7 +90,7 @@ body {
  * IMAGES
  *********************************************/
 .reveal section img {
-  margin: 15px;
+  margin: 15px 0px;
   background: rgba(255, 255, 255, 0.12);
   border: 4px solid #333333;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);

+ 1 - 1
css/theme/default.css

@@ -90,7 +90,7 @@ body {
  * IMAGES
  *********************************************/
 .reveal section img {
-  margin: 15px;
+  margin: 15px 0px;
   background: rgba(255, 255, 255, 0.12);
   border: 4px solid #eeeeee;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);

+ 1 - 1
css/theme/night.css

@@ -77,7 +77,7 @@ body {
  * IMAGES
  *********************************************/
 .reveal section img {
-  margin: 15px;
+  margin: 15px 0px;
   background: rgba(255, 255, 255, 0.12);
   border: 4px solid #eeeeee;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);

+ 1 - 1
css/theme/serif.css

@@ -77,7 +77,7 @@ body {
  * IMAGES
  *********************************************/
 .reveal section img {
-  margin: 15px;
+  margin: 15px 0px;
   background: rgba(255, 255, 255, 0.12);
   border: 4px solid black;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);

+ 1 - 1
css/theme/simple.css

@@ -79,7 +79,7 @@ body {
  * IMAGES
  *********************************************/
 .reveal section img {
-  margin: 15px;
+  margin: 15px 0px;
   background: rgba(255, 255, 255, 0.12);
   border: 4px solid black;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);

+ 1 - 1
css/theme/sky.css

@@ -83,7 +83,7 @@ body {
  * IMAGES
  *********************************************/
 .reveal section img {
-  margin: 15px;
+  margin: 15px 0px;
   background: rgba(255, 255, 255, 0.12);
   border: 4px solid #333333;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);

+ 15 - 15
css/theme/template/theme.scss

@@ -17,21 +17,21 @@ body {
 	color: $mainColor;
 }
 
-::selection { 
-	color: $selectionColor; 
-	background: $selectionBackgroundColor; 
-	text-shadow: none; 
+::selection {
+	color: $selectionColor;
+	background: $selectionBackgroundColor;
+	text-shadow: none;
 }
 
 /*********************************************
  * HEADERS
  *********************************************/
 
-.reveal h1, 
-.reveal h2, 
-.reveal h3, 
-.reveal h4, 
-.reveal h5, 
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
 .reveal h6 {
 	margin: 0 0 20px 0;
 	color: $headingColor;
@@ -39,7 +39,7 @@ body {
 	font-family: $headingFont;
 	line-height: $headingLineHeight;
 	letter-spacing: $headingLetterSpacing;
-	
+
 	text-transform: $headingTextTransform;
 	text-shadow: $headingTextShadow;
 }
@@ -65,7 +65,7 @@ body {
 }
 	.reveal a:not(.image):hover {
 		color: $linkColorHover;
-		
+
 		text-shadow: none;
 		border: none;
 	}
@@ -81,12 +81,12 @@ body {
  *********************************************/
 
 .reveal section img {
-	margin: 15px;
+	margin: 15px 0px;
 	background: rgba(255,255,255,0.12);
 	border: 4px solid $mainColor;
-	
+
 	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
-	
+
 	-webkit-transition: all .2s linear;
 	   -moz-transition: all .2s linear;
 	    -ms-transition: all .2s linear;
@@ -97,7 +97,7 @@ body {
 	.reveal a:hover img {
 		background: rgba(255,255,255,0.2);
 		border-color: $linkColor;
-		
+
 		box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
 	}