Merge branch 'serif-theme' of https://github.com/maxogden/reveal.js
This commit is contained in:
		
							
								
								
									
										159
									
								
								css/theme/serif.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										159
									
								
								css/theme/serif.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,159 @@ | ||||
| /** | ||||
|  * A simple theme for reveal.js presentations, similar  | ||||
|  * to the default theme. The accent color is darkblue;  | ||||
|  * do a find-replace to change it. | ||||
|  *  | ||||
|  * 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; so is the theme - beige.css - that this is based off of. | ||||
|  */ | ||||
|  | ||||
| /********************************************* | ||||
|  * FONT-FACE DEFINITIONS | ||||
|  *********************************************/ | ||||
|  | ||||
|  | ||||
| /********************************************* | ||||
|  * GLOBAL STYLES | ||||
|  *********************************************/ | ||||
|  | ||||
| body { | ||||
| 	font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; | ||||
| 	font-size: 36px; | ||||
| 	font-weight: 200; | ||||
| 	letter-spacing: -0.02em; | ||||
| 	color: black !important; | ||||
|  | ||||
| 	background: #F0F1EB; | ||||
| } | ||||
|  | ||||
| ::-moz-selection { | ||||
|   background: #26351C; | ||||
|   color: rgba(255,255,255, 0.8); | ||||
| } | ||||
| ::-webkit-selection { | ||||
|   background: #26351C; | ||||
|   color: rgba(255,255,255, 0.8); | ||||
| } | ||||
| ::selection { | ||||
|   background: #26351C; | ||||
|   color: rgba(255,255,255, 0.8); | ||||
| } | ||||
|  | ||||
| /********************************************* | ||||
|  * HEADERS | ||||
|  *********************************************/ | ||||
|  | ||||
| .reveal h1,  | ||||
| .reveal h2,  | ||||
| .reveal h3,  | ||||
| .reveal h4,  | ||||
| .reveal h5,  | ||||
| .reveal h6 { | ||||
| 	margin: 0 0 40px 0; | ||||
| 	color: #383D3D; | ||||
| 	font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; | ||||
| 	line-height: 0.9em;	 | ||||
| } | ||||
|  | ||||
| /********************************************* | ||||
|  * LINKS | ||||
|  *********************************************/ | ||||
|  | ||||
| .reveal a:not(.image) { | ||||
| 	color: #51483D; | ||||
| 	text-decoration: none; | ||||
|   font-weight: bold; | ||||
|   line-height: 1.4em; | ||||
| 	-webkit-transition: color .15s ease; | ||||
| 	   -moz-transition: color .15s ease; | ||||
| 	    -ms-transition: color .15s ease; | ||||
| 	     -o-transition: color .15s ease; | ||||
| 	        transition: color .15s ease; | ||||
| } | ||||
| 	.reveal a:not(.image):hover { | ||||
| 		text-shadow: none; | ||||
| 		border: none; | ||||
| 		border-radius: 2px; | ||||
| 	} | ||||
|  | ||||
| .reveal .roll span:after { | ||||
| 	color: #fff; | ||||
| 	background: #51483D; | ||||
| } | ||||
|  | ||||
| /********************************************* | ||||
|  * MISC | ||||
|  *********************************************/ | ||||
|  | ||||
| .reveal p { | ||||
|   line-height: 1.4em; | ||||
|   font-size: 1.15em; | ||||
|   color: #111; | ||||
| } | ||||
|  | ||||
| .reveal .subtitle { | ||||
|   font-style: italic; | ||||
| } | ||||
|  | ||||
| /********************************************* | ||||
|  * IMAGES | ||||
|  *********************************************/ | ||||
|  | ||||
| .reveal section img { | ||||
| 	margin: 30px 0 0 0; | ||||
| 	background: rgba(255,255,255,0.12); | ||||
| 	border: 4px solid #eee; | ||||
| 	 | ||||
| 	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); | ||||
| 	   -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); | ||||
| 	        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; | ||||
| 	     -o-transition: all .2s linear; | ||||
| 	        transition: all .2s linear; | ||||
| } | ||||
|  | ||||
| 	.reveal a:hover img { | ||||
| 		background: rgba(255,255,255,0.2); | ||||
| 		border-color: darkblue; | ||||
| 		 | ||||
| 		-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); | ||||
| 		   -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); | ||||
| 		        box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); | ||||
| 	} | ||||
|  | ||||
|  | ||||
| /********************************************* | ||||
|  * NAVIGATION CONTROLS | ||||
|  *********************************************/ | ||||
|  | ||||
| .reveal .controls a { | ||||
| 	color: black; | ||||
| } | ||||
| 	.reveal .controls a.enabled { | ||||
| 		color: #26351C; | ||||
| 		opacity: 1; | ||||
| 		text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3); | ||||
| 	} | ||||
|  | ||||
|  | ||||
| /********************************************* | ||||
|  * PROGRESS BAR | ||||
|  *********************************************/ | ||||
|  | ||||
| .reveal .progress { | ||||
| 	background: rgba(0,0,0,0.2); | ||||
| } | ||||
| 	.reveal .progress span { | ||||
| 		background: #26351C; | ||||
|  | ||||
| 		-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | ||||
| 		   -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | ||||
| 		    -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | ||||
| 		     -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | ||||
| 		        transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); | ||||
| 	} | ||||
|  | ||||
|  | ||||
| @@ -163,6 +163,7 @@ | ||||
| 						<a href="http://lab.hakim.se/reveal-js/?theme=sky">Sky</a> - | ||||
| 						<a href="http://lab.hakim.se/reveal-js/?theme=beige">Beige</a> - | ||||
| 						<a href="http://lab.hakim.se/reveal-js/?theme=simple">Simple</a> - | ||||
| 						<a href="http://lab.hakim.se/reveal-js/?theme=serif">Serif</a> - | ||||
| 						<a href="http://lab.hakim.se/reveal-js/">Default</a> | ||||
| 					</p> | ||||
| 					<p> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user