From 6ee4e0b52a83e45bb5d262fbe94d1fc7fc1976a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 8 Oct 2020 11:52:27 +0200 Subject: [PATCH] css: make figcaption follow the heading decoration rules. So if I have all heading links not underlined, this one is neither. --- css/m-components.css | 3 +++ css/m-dark+documentation.compiled.css | 3 +++ css/m-dark.compiled.css | 3 +++ css/m-light+documentation.compiled.css | 3 +++ css/m-light.compiled.css | 3 +++ 5 files changed, 15 insertions(+) diff --git a/css/m-components.css b/css/m-components.css index 868c0634..4ac7bf26 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -641,6 +641,9 @@ figure.m-figure figcaption, .m-code-figure figcaption, .m-console-figure figcapt font-weight: var(--heading-font-weight); font-size: 1.17rem; /* taken from webkit defaults for h3 */ } +figure.m-figure figcaption a, .m-code-figure figcaption a, .m-console-figure figcaption a { + text-decoration: var(--link-decoration-heading); +} /* Image grid */ .m-imagegrid > div { diff --git a/css/m-dark+documentation.compiled.css b/css/m-dark+documentation.compiled.css index 56fa1990..41dc9c74 100644 --- a/css/m-dark+documentation.compiled.css +++ b/css/m-dark+documentation.compiled.css @@ -898,6 +898,9 @@ figure.m-figure figcaption, .m-code-figure figcaption, .m-console-figure figcapt font-weight: 600; font-size: 1.17rem; } +figure.m-figure figcaption a, .m-code-figure figcaption a, .m-console-figure figcaption a { + text-decoration: none; +} .m-imagegrid > div { background-color: #2f363f; } diff --git a/css/m-dark.compiled.css b/css/m-dark.compiled.css index f0c2dc73..a5bd5365 100644 --- a/css/m-dark.compiled.css +++ b/css/m-dark.compiled.css @@ -898,6 +898,9 @@ figure.m-figure figcaption, .m-code-figure figcaption, .m-console-figure figcapt font-weight: 600; font-size: 1.17rem; } +figure.m-figure figcaption a, .m-code-figure figcaption a, .m-console-figure figcaption a { + text-decoration: none; +} .m-imagegrid > div { background-color: #2f363f; } diff --git a/css/m-light+documentation.compiled.css b/css/m-light+documentation.compiled.css index 379eb02e..2dca9520 100644 --- a/css/m-light+documentation.compiled.css +++ b/css/m-light+documentation.compiled.css @@ -898,6 +898,9 @@ figure.m-figure figcaption, .m-code-figure figcaption, .m-console-figure figcapt font-weight: normal; font-size: 1.17rem; } +figure.m-figure figcaption a, .m-code-figure figcaption a, .m-console-figure figcaption a { + text-decoration: none; +} .m-imagegrid > div { background-color: #ffffff; } diff --git a/css/m-light.compiled.css b/css/m-light.compiled.css index 0079fbcb..1200d27e 100644 --- a/css/m-light.compiled.css +++ b/css/m-light.compiled.css @@ -898,6 +898,9 @@ figure.m-figure figcaption, .m-code-figure figcaption, .m-console-figure figcapt font-weight: normal; font-size: 1.17rem; } +figure.m-figure figcaption a, .m-code-figure figcaption a, .m-console-figure figcaption a { + text-decoration: none; +} .m-imagegrid > div { background-color: #ffffff; } -- 2.30.2