summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-05-09 07:06:30 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-05-09 07:06:30 +0200
commit9496e49dea54e07b7af02d714bcdf532032d951f (patch)
treeca17e22498b504fc8e99b01e961d85cf7495ca0f /share
parentd7b2180943a230073f1d82d5baabe0f02272f3ff (diff)
decrease image size on small screens
Diffstat (limited to 'share')
-rw-r--r--share/css/main.css17
1 files changed, 15 insertions, 2 deletions
diff --git a/share/css/main.css b/share/css/main.css
index 3ee132c..3072929 100644
--- a/share/css/main.css
+++ b/share/css/main.css
@@ -7,9 +7,10 @@ a {
}
h1 {
+ font-size: 120%;
clear: both;
padding-top: 1em;
- margin-left: 1em;
+ margin-left: 0.5em;
}
.nav {
@@ -42,11 +43,23 @@ div.image-container a {
}
div.image-container img {
- height: /* $imgheight */;
+ height: /* $limgheight */;
margin: 0;
padding: 0;
}
+@media (max-width: 992px) {
+ div.image-container img {
+ height: /* $mimgheight */;
+ }
+}
+
+@media (max-width: 600px) {
+ div.image-container img {
+ height: /* $simgheight */;
+ }
+}
+
div.image-page {
text-align: center;
}