mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fonts saved locally #111, Fix select cover from search
This commit is contained in:
		
							parent
							
								
									88e2bac3f5
								
							
						
					
					
						commit
						aa872948d5
					
				| @ -1,5 +1,6 @@ | ||||
| @import url('./transitions.css'); | ||||
| @import url('./draggable.css'); | ||||
| @import './fonts.css'; | ||||
| @import './transitions.css'; | ||||
| @import './draggable.css'; | ||||
| 
 | ||||
| .page { | ||||
|   width: 100%; | ||||
|  | ||||
							
								
								
									
										47
									
								
								client/assets/fonts.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								client/assets/fonts.css
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,47 @@ | ||||
| /* fallback */ | ||||
| @font-face { | ||||
|   font-family: 'Material Icons'; | ||||
|   font-style: normal; | ||||
|   font-weight: 400; | ||||
|   src: url(/fonts/material-icons.woff2) format('woff2'); | ||||
| } | ||||
| 
 | ||||
| .material-icons { | ||||
|   font-family: 'Material Icons'; | ||||
|   font-weight: normal; | ||||
|   font-style: normal; | ||||
|   line-height: 1; | ||||
|   font-size: 1.5rem; | ||||
|   letter-spacing: normal; | ||||
|   text-transform: none; | ||||
|   display: inline-block; | ||||
|   white-space: nowrap; | ||||
|   word-wrap: normal; | ||||
|   direction: ltr; | ||||
|   -webkit-font-feature-settings: 'liga'; | ||||
|   -webkit-font-smoothing: antialiased; | ||||
| } | ||||
| .material-icons.text-icon { | ||||
|   font-size: 1.15rem; | ||||
| } | ||||
| .material-icons.text-base { | ||||
|   font-size: 1rem; | ||||
| } | ||||
| 
 | ||||
| @font-face { | ||||
|   font-family: 'Gentium Book Basic'; | ||||
|   font-style: normal; | ||||
|   font-weight: 400; | ||||
|   font-display: swap; | ||||
|   src: url(/fonts/GentiumBookBasic.woff2) format('woff2'); | ||||
|   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; | ||||
| } | ||||
| /* latin */ | ||||
| @font-face { | ||||
|   font-family: 'Gentium Book Basic'; | ||||
|   font-style: normal; | ||||
|   font-weight: 400; | ||||
|   font-display: swap; | ||||
|   src: url(/fonts/GentiumBookBasic.woff2) format('woff2'); | ||||
|   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||||
| } | ||||
| @ -56,7 +56,7 @@ | ||||
|         <div v-if="hasSearched" class="flex items-center flex-wrap justify-center max-h-80 overflow-y-scroll mt-2 max-w-full"> | ||||
|           <p v-if="!coversFound.length">No Covers Found</p> | ||||
|           <template v-for="cover in coversFound"> | ||||
|             <div :key="cover" class="m-0.5 border-2 border-transparent hover:border-yellow-300 cursor-pointer" :class="cover === imageUrl ? 'border-yellow-300' : ''" @click="setCover(cover)"> | ||||
|             <div :key="cover" class="m-0.5 border-2 border-transparent hover:border-yellow-300 cursor-pointer" :class="cover === imageUrl ? 'border-yellow-300' : ''" @click="updateCover(cover)"> | ||||
|               <cards-preview-cover :src="cover" :width="80" show-open-new-tab /> | ||||
|             </div> | ||||
|           </template> | ||||
|  | ||||
| @ -35,8 +35,8 @@ module.exports = { | ||||
|     ], | ||||
|     link: [ | ||||
|       { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, | ||||
|       { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Ubuntu+Mono&family=Gentium+Book+Basic&&family=Source+Sans+Pro:wght@300;400;600' }, | ||||
|       { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' } | ||||
|       { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Ubuntu+Mono&family=Source+Sans+Pro:wght@300;400;600' }, | ||||
|       // { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' }
 | ||||
|     ] | ||||
|   }, | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								client/static/fonts/GentiumBookBasic.woff2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								client/static/fonts/GentiumBookBasic.woff2
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								client/static/fonts/material-icons.woff2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								client/static/fonts/material-icons.woff2
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user