summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-10-08 11:56:29 +0200
committerJonas Smedegaard <dr@jones.dk>2023-10-08 11:56:29 +0200
commitde5a1e7c7adac90ea1d25dda1e1730929ffdb098 (patch)
treedde23b30684b361e0a583cd24093f232d9bcfba1
parent944a347818300ab41f7d8716a3c91df05d85f859 (diff)
fix handle solo images with caption: reduce specificity to simplify override logic
-rw-r--r--style.scss14
1 files changed, 7 insertions, 7 deletions
diff --git a/style.scss b/style.scss
index 701caf9..47a2b98 100644
--- a/style.scss
+++ b/style.scss
@@ -306,7 +306,7 @@ img.tall {
height: auto;
}
//Small images in tour descriptions, floating in a vertical row, not inflicting on the text content.
-#content img.deco {
+img.deco {
display: block;
clear: both;
float: right;
@@ -317,15 +317,15 @@ img.tall {
background-color: none;
}
//Tiny image strips, designed for lists in a column.
-#content img.flex {
+img.flex {
max-height: 80px;
width: auto;
display: block;
float: none;
}
//Image clearing text.
-#content img.solo,
-#content table.img.solo {
+img.solo,
+table.img.solo {
float: none;
display: block;
padding: 0;
@@ -333,19 +333,19 @@ img.tall {
height: auto;
}
//One (concrete) image meant to fill the whole viewport.
-#content img.x2470x3783 {
+img.x2470x3783 {
height:3783px;
width: 2470px;
max-width: 2470px;
}
//Not sure what it's for
-#content img.x1000x750 {
+img.x1000x750 {
height: 750px;
width: 1000px;
max-width: 1000px;
}
//Not sure what it's for
-#content img.x108x132 {
+img.x108x132 {
height: 132px;
width: 108px;
max-width: 108px;