chiark / gitweb /
css: make figcaption follow the heading decoration rules.
authorVladimír Vondruš <mosra@centrum.cz>
Thu, 8 Oct 2020 09:52:27 +0000 (11:52 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 8 Oct 2020 09:52:27 +0000 (11:52 +0200)
So if I have all heading links not underlined, this one is neither.

css/m-components.css
css/m-dark+documentation.compiled.css
css/m-dark.compiled.css
css/m-light+documentation.compiled.css
css/m-light.compiled.css

index 868c0634170c21f97c62ef947c03786b647215e4..4ac7bf26e4eef0b494f2956abe9db7dcf5ace6a6 100644 (file)
@@ -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 {
index 56fa199022ba106e769b7e09d3fa1b4ecb816097..41dc9c74db381fb61ae42fd7e53cd0be5c6e9f76 100644 (file)
@@ -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;
 }
index f0c2dc73b8a9958fae45f7e20fb74e4cf16c7c6c..a5bd5365db4376494f4c48d90de4966e32ad2d6f 100644 (file)
@@ -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;
 }
index 379eb02e5c286c94f84b36ed227612155b6314ed..2dca95208b0ddaaba5c8bd060642aecfc28cda83 100644 (file)
@@ -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;
 }
index 0079fbcb5a7682e7c98c0b9430e30fdf9d362e80..1200d27e5e2c98b89150f6b02d3515cdcd38ffc8 100644 (file)
@@ -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;
 }