reduce width of single-page fallback slides

This commit is contained in:
Hakim El Hattab 2013-02-02 17:05:05 -05:00
parent 1b01a749b0
commit 723bd1cc0b
5 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se Copyright (C) 2011-2013 Hakim El Hattab, http://hakim.se
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -5,7 +5,7 @@
* http://lab.hakim.se/reveal-js * http://lab.hakim.se/reveal-js
* MIT licensed * MIT licensed
* *
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se * Copyright (C) 2011-2013 Hakim El Hattab, http://hakim.se
*/ */
@ -1173,6 +1173,7 @@ body {
} }
.no-transforms .slides { .no-transforms .slides {
width: 80%;
top: 0; top: 0;
left: 50%; left: 50%;
margin: 0; margin: 0;

4
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -141,7 +141,7 @@ var Reveal = (function(){
*/ */
function initialize( options ) { function initialize( options ) {
if( ( !supports2DTransforms && !supports3DTransforms ) ) { if( !supports2DTransforms && !supports3DTransforms ) {
document.body.setAttribute( 'class', 'no-transforms' ); document.body.setAttribute( 'class', 'no-transforms' );
// If the browser doesn't support core features we won't be // If the browser doesn't support core features we won't be

2
js/reveal.min.js vendored
View File

@ -1,5 +1,5 @@
/*! /*!
* reveal.js 2.3 (2013-01-31, 00:08) * reveal.js 2.3 (2013-02-02, 17:04)
* http://lab.hakim.se/reveal-js * http://lab.hakim.se/reveal-js
* MIT licensed * MIT licensed
* *