increase default font sizes, adjust config defaults for less margings and larger max scale #1605

edit
Hakim El Hattab 2016-06-10 10:58:40 +02:00
parent 6bfa48a667
commit 8162855d23
18 changed files with 18 additions and 18 deletions

View File

@ -20,7 +20,7 @@ body {
.reveal { .reveal {
font-family: "Lato", sans-serif; font-family: "Lato", sans-serif;
font-size: 36px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #333; } color: #333; }

View File

@ -16,7 +16,7 @@ body {
.reveal { .reveal {
font-family: "Source Sans Pro", Helvetica, sans-serif; font-family: "Source Sans Pro", Helvetica, sans-serif;
font-size: 38px; font-size: 42px;
font-weight: normal; font-weight: normal;
color: #fff; } color: #fff; }

View File

@ -19,7 +19,7 @@ body {
.reveal { .reveal {
font-family: Ubuntu, "sans-serif"; font-family: Ubuntu, "sans-serif";
font-size: 36px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #eee; } color: #eee; }

View File

@ -22,7 +22,7 @@ body {
.reveal { .reveal {
font-family: "Lato", sans-serif; font-family: "Lato", sans-serif;
font-size: 36px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #eee; } color: #eee; }

View File

@ -20,7 +20,7 @@ body {
.reveal { .reveal {
font-family: "Lato", sans-serif; font-family: "Lato", sans-serif;
font-size: 36px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #93a1a1; } color: #93a1a1; }

View File

@ -14,7 +14,7 @@ body {
.reveal { .reveal {
font-family: "Open Sans", sans-serif; font-family: "Open Sans", sans-serif;
font-size: 30px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #eee; } color: #eee; }

View File

@ -16,7 +16,7 @@ body {
.reveal { .reveal {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif; font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif;
font-size: 36px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #000; } color: #000; }

View File

@ -19,7 +19,7 @@ body {
.reveal { .reveal {
font-family: "Lato", sans-serif; font-family: "Lato", sans-serif;
font-size: 36px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #000; } color: #000; }

View File

@ -23,7 +23,7 @@ body {
.reveal { .reveal {
font-family: "Open Sans", sans-serif; font-family: "Open Sans", sans-serif;
font-size: 36px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #333; } color: #333; }

View File

@ -20,7 +20,7 @@ body {
.reveal { .reveal {
font-family: "Lato", sans-serif; font-family: "Lato", sans-serif;
font-size: 36px; font-size: 40px;
font-weight: normal; font-weight: normal;
color: #657b83; } color: #657b83; }

View File

@ -21,7 +21,7 @@ $backgroundColor: #222;
$mainColor: #fff; $mainColor: #fff;
$headingColor: #fff; $headingColor: #fff;
$mainFontSize: 38px; $mainFontSize: 42px;
$mainFont: 'Source Sans Pro', Helvetica, sans-serif; $mainFont: 'Source Sans Pro', Helvetica, sans-serif;
$headingFont: 'Source Sans Pro', Helvetica, sans-serif; $headingFont: 'Source Sans Pro', Helvetica, sans-serif;
$headingTextShadow: none; $headingTextShadow: none;

View File

@ -28,7 +28,6 @@ $backgroundColor: $coal;
// Main text // Main text
$mainFont: Ubuntu, 'sans-serif'; $mainFont: Ubuntu, 'sans-serif';
$mainFontSize: 36px;
$mainColor: #eee; $mainColor: #eee;
// Headings // Headings

View File

@ -27,7 +27,6 @@ $headingTextShadow: none;
$headingLetterSpacing: -0.03em; $headingLetterSpacing: -0.03em;
$headingTextTransform: none; $headingTextTransform: none;
$selectionBackgroundColor: #e7ad52; $selectionBackgroundColor: #e7ad52;
$mainFontSize: 30px;
// Theme template ------------------------------ // Theme template ------------------------------

View File

@ -21,7 +21,7 @@ $backgroundColor: #fff;
$mainColor: #222; $mainColor: #222;
$headingColor: #222; $headingColor: #222;
$mainFontSize: 38px; $mainFontSize: 42px;
$mainFont: 'Source Sans Pro', Helvetica, sans-serif; $mainFont: 'Source Sans Pro', Helvetica, sans-serif;
$headingFont: 'Source Sans Pro', Helvetica, sans-serif; $headingFont: 'Source Sans Pro', Helvetica, sans-serif;
$headingTextShadow: none; $headingTextShadow: none;

View File

@ -6,7 +6,7 @@ $backgroundColor: #2b2b2b;
// Primary/body text // Primary/body text
$mainFont: 'Lato', sans-serif; $mainFont: 'Lato', sans-serif;
$mainFontSize: 36px; $mainFontSize: 40px;
$mainColor: #eee; $mainColor: #eee;
// Vertical spacing between blocks of text // Vertical spacing between blocks of text

View File

@ -16,7 +16,7 @@ body {
.reveal { .reveal {
font-family: "Source Sans Pro", Helvetica, sans-serif; font-family: "Source Sans Pro", Helvetica, sans-serif;
font-size: 38px; font-size: 42px;
font-weight: normal; font-weight: normal;
color: #222; } color: #222; }

View File

@ -391,6 +391,8 @@ Reveal.addEventListener( 'customevent', function() {
history: true, history: true,
center: true, center: true,
width: 1000,
transition: 'slide', // none/fade/slide/convex/concave/zoom transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies // More info https://github.com/hakimel/reveal.js#dependencies

View File

@ -43,11 +43,11 @@
height: 700, height: 700,
// Factor of the display size that should remain empty around the content // Factor of the display size that should remain empty around the content
margin: 0.1, margin: 0.04,
// Bounds for smallest/largest possible scale to apply to content // Bounds for smallest/largest possible scale to apply to content
minScale: 0.2, minScale: 0.2,
maxScale: 1.5, maxScale: 2.0,
// Display controls in the bottom right corner // Display controls in the bottom right corner
controls: true, controls: true,