mirror of
				https://github.com/pawroman/zola-theme-terminimal.git
				synced 2025-10-31 08:06:15 +01:00 
			
		
		
		
	Merge branch 'add_exo2_font'
This commit is contained in:
		
						commit
						c11734914a
					
				
					 11 changed files with 35 additions and 6 deletions
				
			
		
							
								
								
									
										27
									
								
								sass/font-exo2.scss
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								sass/font-exo2.scss
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,27 @@ | |||
| @font-face { | ||||
|   font-family: 'Exo2'; | ||||
|   src: url('fonts/Exo2-Regular.woff2?sha=123456789') format('woff2'), url('fonts/Exo2-Regular.woff?sha=123456789') format('woff'); | ||||
|   font-weight: 400; | ||||
|   font-style: normal; | ||||
| } | ||||
| 
 | ||||
| @font-face { | ||||
|   font-family: 'Exo2'; | ||||
|   src: url('fonts/Exo2-Bold.woff2?sha=123456789') format('woff2'), url('fonts/Exo2-Bold.woff?sha=123456789') format('woff'); | ||||
|   font-weight: 700; | ||||
|   font-style: normal; | ||||
| } | ||||
| 
 | ||||
| @font-face { | ||||
|   font-family: 'Exo2'; | ||||
|   src: url('fonts/Exo2-Italic.woff2?sha=123456789') format('woff2'), url('fonts/Exo2-Italic.woff?sha=123456789') format('woff'); | ||||
|   font-weight: 400; | ||||
|   font-style: italic; | ||||
| } | ||||
| 
 | ||||
| @font-face { | ||||
|   font-family: 'Exo2'; | ||||
|   src: url('fonts/Exo2-BoldItalic.woff2?sha=123456789') format('woff2'), url('fonts/Exo2-BoldItalic.woff?sha=123456789') format('woff'); | ||||
|   font-weight: 700; | ||||
|   font-style: italic; | ||||
| } | ||||
|  | @ -13,8 +13,8 @@ html { | |||
| body { | ||||
|   margin: 0; | ||||
|   padding: 0; | ||||
|   font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; | ||||
|   font-size: 1rem; | ||||
|   font-family: Exo2, Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; | ||||
|   font-size: 1.25rem; | ||||
|   line-height: 1.54; | ||||
|   background-color: var(--background); | ||||
|   color: var(--color); | ||||
|  | @ -120,14 +120,13 @@ figure { | |||
| code { | ||||
|   font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; | ||||
|   font-feature-settings: normal; | ||||
|   background: var(--accent-alpha-20); | ||||
|   padding: 1px 6px; | ||||
|   margin: 0 2px; | ||||
|   font-size: .95rem; | ||||
|   font-size: 1rem; | ||||
| } | ||||
| 
 | ||||
| pre { | ||||
|   font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; | ||||
|   font-family: Exo2, Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; | ||||
|   padding: 20px; | ||||
|   font-size: .95rem; | ||||
|   overflow: auto; | ||||
|  |  | |||
							
								
								
									
										
											BIN
										
									
								
								static/fonts/Exo2-Bold.woff
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/fonts/Exo2-Bold.woff
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								static/fonts/Exo2-Bold.woff2
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/fonts/Exo2-Bold.woff2
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								static/fonts/Exo2-BoldItalic.woff
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/fonts/Exo2-BoldItalic.woff
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								static/fonts/Exo2-BoldItalic.woff2
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/fonts/Exo2-BoldItalic.woff2
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								static/fonts/Exo2-Italic.woff
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/fonts/Exo2-Italic.woff
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								static/fonts/Exo2-Italic.woff2
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/fonts/Exo2-Italic.woff2
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								static/fonts/Exo2-Regular.woff
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/fonts/Exo2-Regular.woff
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								static/fonts/Exo2-Regular.woff2
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/fonts/Exo2-Regular.woff2
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							|  | @ -19,7 +19,10 @@ | |||
|     {% endif -%} | ||||
| {% endif -%} | ||||
| 
 | ||||
| {%- if config.extra.use_full_hack_font %} | ||||
| {%- if config.extra.use_full_hack_font == "exo2" %} | ||||
|     <link rel="stylesheet" href="{{ get_url(path="font-exo2.css", trailing_slash=false) | safe }}"> | ||||
|     <link rel="stylesheet" href="{{ get_url(path="font-hack.css", trailing_slash=false) | safe }}"> | ||||
| {%- elif config.extra.use_full_hack_font %} | ||||
|     <link rel="stylesheet" href="{{ get_url(path="font-hack.css", trailing_slash=false) | safe }}"> | ||||
| {% else %} | ||||
|     <link rel="stylesheet" href="{{ get_url(path="font-hack-subset.css", trailing_slash=false) | safe }}"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brooke
						Brooke