Skip to content

Commit b5473ac

Browse files
committed
WEB: Move screenshot captions to the bottom of the image
Instead of displaying at the bottom of the browser
1 parent a9b9873 commit b5473ac

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

public_html/js/baguetteBox.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/vendor/_baguetteBox.min.scss

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* @author feimosi
44
* @version 1.11.1
55
* @url https://github.com/feimosi/baguetteBox.js
6+
* Customized by ScummVM: https://github.com/scummvm/scummvm-web/pull/218
67
*/
78
#baguetteBox-overlay {
89
display: none;
@@ -30,25 +31,22 @@
3031
text-align: center;
3132
}
3233
#baguetteBox-overlay .full-image figure {
33-
display: inline;
34+
display: inline-block;
3435
margin: 0;
35-
height: 100%;
36+
vertical-align: middle;
37+
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
38+
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
39+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
3640
}
3741
#baguetteBox-overlay .full-image img {
3842
display: inline-block;
3943
width: auto;
4044
height: auto;
4145
max-height: 100%;
4246
max-width: 100%;
43-
vertical-align: middle;
44-
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
45-
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
46-
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
4747
}
4848
#baguetteBox-overlay .full-image figcaption {
4949
display: block;
50-
position: absolute;
51-
bottom: 0;
5250
width: 100%;
5351
text-align: center;
5452
line-height: 1.8;

0 commit comments

Comments
 (0)