mirror of
				https://git.sr.ht/~cadence/bibliogram
				synced 2025-10-31 03:25:36 +00:00 
			
		
		
		
	Make background-timeline-profile actually themable
This commit is contained in:
		
							parent
							
								
									e52fa5aa31
								
							
						
					
					
						commit
						3baba8fb4d
					
				| @ -12,4 +12,5 @@ mixin timeline_page(page, pageIndex) | |||||||
| 			each image in page | 			each image in page | ||||||
| 				- const thumbnail = image.getSuggestedThumbnailP(suggestedSize) //- use this as the src in case there are problems with srcset | 				- const thumbnail = image.getSuggestedThumbnailP(suggestedSize) //- use this as the src in case there are problems with srcset | ||||||
| 				a(href=`/p/${image.data.shortcode}` data-shortcode=image.data.shortcode).sized-link | 				a(href=`/p/${image.data.shortcode}` data-shortcode=image.data.shortcode).sized-link | ||||||
| 					img(src=thumbnail.src alt=image.getAlt() width=thumbnail.config_width height=thumbnail.config_height srcset=image.getThumbnailSrcsetP() sizes=image.getThumbnailSizes()).sized-image | 					//- using config_width twice because the proxy makes it square | ||||||
|  | 					img(src=thumbnail.src alt=image.getAlt() width=thumbnail.config_width height=thumbnail.config_width srcset=image.getThumbnailSrcsetP() sizes=image.getThumbnailSizes()).sized-image | ||||||
|  | |||||||
| @ -84,6 +84,7 @@ body | |||||||
| 	position: relative | 	position: relative | ||||||
| 	line-height: 1 | 	line-height: 1 | ||||||
| 	color: map-get($theme, "foreground-primary") | 	color: map-get($theme, "foreground-primary") | ||||||
|  | 	background-color: map-get($theme, "background-timeline-profile") | ||||||
| 
 | 
 | ||||||
| 	@media screen and (max-width: $layout-a-max) | 	@media screen and (max-width: $layout-a-max) | ||||||
| 		border-bottom: map-get($theme, "edge-context-divider") | 		border-bottom: map-get($theme, "edge-context-divider") | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user