mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-10-31 06:08:33 +00:00 
			
		
		
		
	styles: update code styles, make .page grid container to contain code blocks
				
					
				
			This commit is contained in:
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -4,7 +4,23 @@ | |||||||
| @import 'prism-themes/themes/prism-a11y-dark'; | @import 'prism-themes/themes/prism-a11y-dark'; | ||||||
|  |  | ||||||
| pre[class*='language-'] { | pre[class*='language-'] { | ||||||
|   font-size: 1.1rem; |   font-size: 1rem; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | code { | ||||||
|  |   background-color: #333333; | ||||||
|  |   border: 1px solid black; | ||||||
|  |   color: white; | ||||||
|  |   padding: 0.15em; | ||||||
|  |   border-radius: 0.25em; | ||||||
|  |   font-size: 95%; | ||||||
|  |  | ||||||
|  |   pre & { | ||||||
|  |     border: none; | ||||||
|  |     padding: 0; | ||||||
|  |     border-radius: 0; | ||||||
|  |     font-size: inherit; | ||||||
|  |   } | ||||||
| } | } | ||||||
|  |  | ||||||
| // COLORS // | // COLORS // | ||||||
| @@ -167,6 +183,16 @@ th { | |||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .page { | ||||||
|  |   align-items: start; | ||||||
|  |   display: grid; | ||||||
|  |   grid-template-columns: 1fr; | ||||||
|  |  | ||||||
|  |   & > * { | ||||||
|  |     grid-column: 1; | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
| .box { | .box { | ||||||
|   background: black; |   background: black; | ||||||
|   color: white; |   color: white; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Oscar
					Oscar