Option to show alt text if available (closes #49)

This commit is contained in:
Cadence Ember
2020-05-20 03:38:32 +12:00
parent 3282d81ec4
commit ca1c965021
3 changed files with 38 additions and 14 deletions

View File

@@ -272,6 +272,20 @@ body
.description-section
order: 1
.description
margin: 12px
white-space: pre-line
overflow-wrap: anywhere
font-size: 20px
line-height: 1.4
unicode-bidi: plaintext
@media screen and (min-width: $layout-b-min)
padding-bottom: 20px
@media screen and (max-width: $layout-a-max)
font-size: 18px
.description-section
display: grid
align-items: stretch
@@ -358,19 +372,6 @@ body
display: grid
align-items: center
.description
margin: 12px
white-space: pre-line
overflow-wrap: anywhere
font-size: 20px
line-height: 1.4
unicode-bidi: plaintext
@media screen and (min-width: $layout-b-min)
padding-bottom: 20px
@media screen and (max-width: $layout-a-max)
font-size: 18px
.images-gallery
display: flex
flex-direction: column
@@ -400,6 +401,13 @@ body
width: auto
height: auto
.alt-in-gallery
color: map-get($theme, "foreground-gallery-alt")
padding: 0px 50px
margin: 0px 0px 50px
text-align: center
font-size: 20px
.error-page
box-sizing: border-box
min-height: 100vh