diff --git a/_apps/.gitkeep b/_apps/.gitkeep
new file mode 100644
index 00000000..e69de29b
diff --git a/_includes/head.html b/_includes/head.html
index ff8a9384..940e9ea7 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -37,5 +37,4 @@
-
diff --git a/_includes/screenshots.html b/_includes/screenshots.html
deleted file mode 100644
index 21eac391..00000000
--- a/_includes/screenshots.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
- {% for screenshot in page.screenshots %}
-
-
![Screenshot]({{ screenshot | absolute_url }})
-
- {% endfor %}
-
-
-
-{% if page.screenshots[1] %}
- {% comment %}
- Only load JS and show screenshots pager if more than one screenshot exists.
- {% endcomment %}
-
-
-
-
-{% endif %}
-
diff --git a/_layouts/app.html b/_layouts/app.html
index 753f285e..57abcba9 100644
--- a/_layouts/app.html
+++ b/_layouts/app.html
@@ -20,7 +20,15 @@
- {% include screenshots.html %}
+ {% if page.screenshots %}
+
+
+
+ {% endif %}
{{ page.summary }}
diff --git a/_sass/_apps.scss b/_sass/_apps.scss
index 7a57e73f..2c6065b6 100644
--- a/_sass/_apps.scss
+++ b/_sass/_apps.scss
@@ -1,38 +1,36 @@
.screenshots {
- background-color: rgba(150, 150, 150, 0.125);
-}
-
-.screenshots img {
- display: block;
- max-width: 100%;
- max-height: 450px;
- margin: 0 auto;
-}
-
-.pager {
- display:flex;
- justify-content: center;
- padding: 12px 0;
+ align-items: center;
+ // Weird aspect ratio of legacy screenshots (16:9 minus bottom bar?)
+ aspect-ratio: 24 / 13;
+ background: rgba(150, 150, 150, 0.125);
+ display: flex;
- span {
+ img {
display: block;
- width: 0.75em;
- height: 0.75em;
- background: #666;
- border-radius: 50%;
- margin: 0 8px;
- cursor: pointer;
- opacity: 0.5;
+ position: relative;
+ width: 100%;
+ margin: 0 auto;
- &:active,
- &:focus {
- outline: 0;
- border: none;
+ &::before {
+ display: block;
+ text-align: center;
}
- }
- .tns-nav-active {
- opacity: 1;
+ &::after {
+ // We want it to match the color of the container over the page background,
+ // but it needs to be opaque to cover the browser's default alt text (which
+ // is not consistently stylable)
+ background-image:
+ linear-gradient(to bottom, rgba(150, 150, 150, 0.125), rgba(150, 150, 150, 0.125)),
+ linear-gradient(to bottom, var(--bg), var(--bg));
+ bottom: 0;
+ content: attr(alt);
+ display: block;
+ left: 0;
+ position: absolute;
+ right: 0;
+ text-align: center;
+ top: 0;
+ }
}
}
-