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

This commit is contained in:
Hakim El Hattab 2012-11-27 09:23:23 -05:00
parent 242006a499
commit 519ee26809
8 changed files with 22 additions and 21 deletions

View File

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

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);
}