1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-22 08:07:30 +00:00

Make background-timeline-profile actually themable

This commit is contained in:
Cadence Ember 2020-05-11 00:27:59 +12:00
parent e52fa5aa31
commit 3baba8fb4d
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412
2 changed files with 3 additions and 1 deletions

View File

@ -12,4 +12,5 @@ mixin timeline_page(page, pageIndex)
each image in page
- 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
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

View File

@ -84,6 +84,7 @@ body
position: relative
line-height: 1
color: map-get($theme, "foreground-primary")
background-color: map-get($theme, "background-timeline-profile")
@media screen and (max-width: $layout-a-max)
border-bottom: map-get($theme, "edge-context-divider")