chiark / gitweb /
css: unindent only <p> that are direct children of <td>, <li>, <dd>.
authorVladimír Vondruš <mosra@centrum.cz>
Fri, 15 Dec 2017 00:57:51 +0000 (01:57 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Fri, 15 Dec 2017 01:20:26 +0000 (02:20 +0100)
Otherwise the inconsistency when using notes and other components
inside tables etc. is too ugly. Yes, the <dd> element is added new.

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

index e71da860b8c0a351cd4f743da2a974c65a3301a3..40d847b8434f116bffb1134bf3a12591ba1b1bfd 100644 (file)
@@ -58,7 +58,7 @@ main p {
   text-align: var(--paragraph-align);
 }
 /* Remove indentation and justification where it doesn't make sense */
-main p.m-noindent, li p, table.m-table td p {
+main p.m-noindent, li > p, dd > p, table.m-table td > p {
   text-indent: 0;
   text-align: left;
 }
index 2a5776a6a2f7bad77c2ceab84f70b85458b6f25d..81a514ee88a4086412b61bb4b132253887dedd8e 100644 (file)
@@ -419,7 +419,7 @@ main p {
   text-indent: 1.5rem;
   text-align: justify;
 }
-main p.m-noindent, li p, table.m-table td p {
+main p.m-noindent, li > p, dd > p, table.m-table td > p {
   text-indent: 0;
   text-align: left;
 }
index c5c9032b9585d1d40309f45956ce38e4aef76c98..75fcc62ffbd300cfd996146995efaa082171f9b8 100644 (file)
@@ -419,7 +419,7 @@ main p {
   text-indent: 1.5rem;
   text-align: justify;
 }
-main p.m-noindent, li p, table.m-table td p {
+main p.m-noindent, li > p, dd > p, table.m-table td > p {
   text-indent: 0;
   text-align: left;
 }
index 51cbe1ba7cada2a5b32f0493c3389bf729fc88d3..ec0c1da2eaac12830be71c13a944df1e0afae435 100644 (file)
@@ -419,7 +419,7 @@ main p {
   text-indent: 1.5rem;
   text-align: justify;
 }
-main p.m-noindent, li p, table.m-table td p {
+main p.m-noindent, li > p, dd > p, table.m-table td > p {
   text-indent: 0;
   text-align: left;
 }
index 993bc7cf659b64ff92017604da3e739fb772debc..2c7380a53fd24e006dac09d521933ff2c78bb746 100644 (file)
@@ -419,7 +419,7 @@ main p {
   text-indent: 1.5rem;
   text-align: justify;
 }
-main p.m-noindent, li p, table.m-table td p {
+main p.m-noindent, li > p, dd > p, table.m-table td > p {
   text-indent: 0;
   text-align: left;
 }