add support for auto-sized big text via r-fit-text
This commit is contained in:
		
							parent
							
								
									66cbd66fb6
								
							
						
					
					
						commit
						1b6a3b1e6f
					
				
					 18 changed files with 144 additions and 3 deletions
				
			
		
							
								
								
									
										9
									
								
								dist/theme/beige.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/beige.css
									
										
									
									
										vendored
									
									
								
							|  | @ -108,6 +108,15 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/black.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/black.css
									
										
									
									
										vendored
									
									
								
							|  | @ -101,6 +101,15 @@ section.has-light-background, section.has-light-background h1, section.has-light | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/blood.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/blood.css
									
										
									
									
										vendored
									
									
								
							|  | @ -107,6 +107,15 @@ section.has-light-background, section.has-light-background h1, section.has-light | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/league.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/league.css
									
										
									
									
										vendored
									
									
								
							|  | @ -110,6 +110,15 @@ section.has-light-background, section.has-light-background h1, section.has-light | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/moon.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/moon.css
									
										
									
									
										vendored
									
									
								
							|  | @ -108,6 +108,15 @@ section.has-light-background, section.has-light-background h1, section.has-light | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/night.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/night.css
									
										
									
									
										vendored
									
									
								
							|  | @ -102,6 +102,15 @@ section.has-light-background, section.has-light-background h1, section.has-light | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/serif.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/serif.css
									
										
									
									
										vendored
									
									
								
							|  | @ -104,6 +104,15 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/simple.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/simple.css
									
										
									
									
										vendored
									
									
								
							|  | @ -104,6 +104,15 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/sky.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/sky.css
									
										
									
									
										vendored
									
									
								
							|  | @ -111,6 +111,15 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/solarized.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/solarized.css
									
										
									
									
										vendored
									
									
								
							|  | @ -105,6 +105,15 @@ html * { | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
							
								
								
									
										9
									
								
								dist/theme/white.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/theme/white.css
									
										
									
									
										vendored
									
									
								
							|  | @ -101,6 +101,15 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba | |||
|   margin: 20px 0; | ||||
|   line-height: 1.3; } | ||||
| 
 | ||||
| /* Remove trailing margins after titles */ | ||||
| .reveal h1:last-child, | ||||
| .reveal h2:last-child, | ||||
| .reveal h3:last-child, | ||||
| .reveal h4:last-child, | ||||
| .reveal h5:last-child, | ||||
| .reveal h6:last-child { | ||||
|   margin-bottom: 0; } | ||||
| 
 | ||||
| /* Ensure certain elements are never larger than the slide itself */ | ||||
| .reveal img, | ||||
| .reveal video, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue