aboutsummaryrefslogtreecommitdiffhomepage
path: root/static
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-07-30 02:08:59 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-07-30 02:08:59 +0200
commitf3a324d9eb72c0f00d952a8d46e0487805fa969d (patch)
tree1328fa4f32e5568a200edb98ec44db753cdea42d /static
parente84adb52994a2c75269ba0180d9c30a49f083bcf (diff)
Add the .translation class
Diffstat (limited to 'static')
-rw-r--r--static/style.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css
index 5a3bca5..2ceee0c 100644
--- a/static/style.css
+++ b/static/style.css
@@ -2288,4 +2288,19 @@ dl dt:not(:first-child) {
.error {
color: var(--del-color);
+}
+
+/* Intended for use in constructions such as:
+ * <h3>
+ * Austrian National Bank<br>
+ * <span lang="de">Oesterreichische Nationalbank</span>
+ * </h3>
+ */
+
+*:has(> .translation) {
+ line-height: 1.1;
+}
+
+.translation {
+ opacity: 0.5;
} \ No newline at end of file