remove extra whitespace in css

edit
Hakim El Hattab 2013-03-08 19:33:34 -05:00
parent b855142f65
commit 7dd2a10b34
7 changed files with 22 additions and 22 deletions

View File

@ -2,12 +2,12 @@
by Rob Glazebrook of CSSnewbie.com by Rob Glazebrook of CSSnewbie.com
Last Updated: June 4, 2008 Last Updated: June 4, 2008
Feel free (nay, compelled) to edit, append, and Feel free (nay, compelled) to edit, append, and
manipulate this file as you see fit. */ manipulate this file as you see fit. */
/* SECTION 1: Set default width, margin, float, and /* SECTION 1: Set default width, margin, float, and
background. This prevents elements from extending background. This prevents elements from extending
beyond the edge of the printed page, and prevents beyond the edge of the printed page, and prevents
unnecessary background images from printing */ unnecessary background images from printing */
body { body {
@ -28,11 +28,11 @@ html {
overflow: visible; overflow: visible;
} }
/* SECTION 2: Remove any elements not needed in print. /* SECTION 2: Remove any elements not needed in print.
This would include navigation, ads, sidebars, etc. */ This would include navigation, ads, sidebars, etc. */
.nestedarrow, .nestedarrow,
.controls, .controls,
.reveal .progress, .reveal .progress,
.reveal.overview, .reveal.overview,
.fork-reveal, .fork-reveal,
.share-reveal, .share-reveal,
@ -45,7 +45,7 @@ html {
body, p, td, li, div, a { body, p, td, li, div, a {
font-size: 16pt!important; font-size: 16pt!important;
font-family: Georgia, "Times New Roman", Times, serif !important; font-family: Georgia, "Times New Roman", Times, serif !important;
color: #000; color: #000;
} }
/* SECTION 4: Set heading font face, sizes, and color. /* SECTION 4: Set heading font face, sizes, and color.
@ -71,14 +71,14 @@ h6 { font-size: 18pt !important; font-style: italic; }
/* SECTION 5: Make hyperlinks more usable. /* SECTION 5: Make hyperlinks more usable.
Ensure links are underlined, and consider appending Ensure links are underlined, and consider appending
the URL to the end of the link for usability. */ the URL to the end of the link for usability. */
a:link, a:link,
a:visited { a:visited {
color: #000 !important; color: #000 !important;
font-weight: bold; font-weight: bold;
text-decoration: underline; text-decoration: underline;
} }
/* /*
.reveal a:link:after, .reveal a:link:after,
.reveal a:visited:after { .reveal a:visited:after {
content: " (" attr(href) ") "; content: " (" attr(href) ") ";
color: #222 !important; color: #222 !important;
@ -123,9 +123,9 @@ ul, ol, div, p {
-ms-perspective-origin: 50% 50%; -ms-perspective-origin: 50% 50%;
perspective-origin: 50% 50%; perspective-origin: 50% 50%;
} }
.reveal .slides>section, .reveal .slides>section,
.reveal .slides>section>section { .reveal .slides>section>section {
visibility: visible !important; visibility: visible !important;
position: static !important; position: static !important;
width: 90% !important; width: 90% !important;
@ -152,20 +152,20 @@ ul, ol, div, p {
transform: none !important; transform: none !important;
} }
.reveal section { .reveal section {
page-break-after: always !important; page-break-after: always !important;
display: block !important; display: block !important;
} }
.reveal section .fragment { .reveal section .fragment {
opacity: 1 !important; opacity: 1 !important;
visibility: visible !important; visibility: visible !important;
-webkit-transform: none !important; -webkit-transform: none !important;
-moz-transform: none !important; -moz-transform: none !important;
-ms-transform: none !important; -ms-transform: none !important;
transform: none !important; transform: none !important;
} }
.reveal section:last-of-type { .reveal section:last-of-type {
page-break-after: avoid !important; page-break-after: avoid !important;
} }
.reveal section img { .reveal section img {
display: block; display: block;

View File

@ -345,8 +345,8 @@ body {
.reveal .controls div { .reveal .controls div {
position: absolute; position: absolute;
opacity: 0.1; opacity: 0.1;
width: 0; width: 0;
height: 0; height: 0;
border: 12px solid transparent; border: 12px solid transparent;
-webkit-transition: opacity 0.2s ease; -webkit-transition: opacity 0.2s ease;

View File

@ -1,6 +1,6 @@
/** /**
* Beige theme for reveal.js. * Beige theme for reveal.js.
* *
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/ */

View File

@ -1,6 +1,6 @@
/** /**
* Default theme for reveal.js. * Default theme for reveal.js.
* *
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/ */

View File

@ -1,6 +1,6 @@
/** /**
* Black theme for reveal.js. * Black theme for reveal.js.
* *
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/ */

View File

@ -1,7 +1,7 @@
/** /**
* A simple theme for reveal.js presentations, similar * A simple theme for reveal.js presentations, similar
* to the default theme. The accent color is darkblue. * to the default theme. The accent color is darkblue.
* *
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/ */

View File

@ -1,6 +1,6 @@
/** /**
* Sky theme for reveal.js. * Sky theme for reveal.js.
* *
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/ */