Last active
August 29, 2015 14:07
-
-
Save shamrt/109d01b5e99812722002 to your computer and use it in GitHub Desktop.
An improved version of the Solarized theme for reveal.js (v2.6.2). Add to css/theme folder of reveal.js package.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import 'solarized.css'; | |
/** | |
* Improved Solarized Light theme for reveal.js. | |
* Author: Shane Martin (origin author: Achim Staebler) | |
* Requires solorized.css theme (comes pre-installed) | |
*/ | |
/* Large font */ | |
.reveal { | |
font-size: 30px; } | |
/********************************************* | |
* HEADERS | |
*********************************************/ | |
.reveal h1 { | |
font-size: 3.5em; } | |
.reveal h2 { | |
font-size: 3em; } | |
.reveal h3 { | |
font-size: 2.4em; } | |
.reveal h4 { | |
font-size: 1.8em; } | |
.reveal h5 { | |
font-size: 1.5em; } | |
.reveal h6 { | |
font-size: 1.2em; } | |
/********************************************* | |
* DEFAULT ELEMENT STYLES | |
*********************************************/ | |
.reveal p { | |
margin-bottom: 1.2em; } | |
.reveal p code, .reveal ol code, .reveal ul code { | |
background: #eee8d5; | |
font-size: 0.9em; | |
padding: 0 4px; } | |
.reveal dl dt { | |
font-weight: bold; | |
font-size: 1.2em; | |
margin-bottom: 0.2em; } | |
.reveal dl, | |
.reveal ol, | |
.reveal ul { | |
margin-bottom: 0.7em; } | |
.reveal li { | |
margin-bottom: 0.5em; } | |
.reveal li ul { | |
margin-left: 3em; | |
line-height: 1.2; } | |
.reveal li li:first-child { | |
margin-top: 0.5em; } | |
.reveal pre { | |
background: #eee8d5; | |
box-shadow: none; | |
font-size: 0.8em; | |
margin-bottom: 1.2em; | |
padding: 8px; } | |
.reveal pre code { | |
padding: 0; } | |
.reveal blockquote { | |
background: #eee8d5; | |
box-shadow: none; | |
margin-bottom: 1.2em; | |
max-width: 42em; | |
padding: 0.8em; | |
width: auto; } | |
.reveal blockquote p { | |
margin-bottom: 0; } | |
/********************************************* | |
* STRETCHING HELPER | |
*********************************************/ | |
.stretch p { | |
height: 100%; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment