From: Vladimír Vondruš Date: Fri, 15 Dec 2017 00:57:51 +0000 (+0100) Subject: css: unindent only

that are direct children of ,

  • ,
    . X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=46b2cd94d96ec6a686796170302a88881cd1f2ce;p=blog.git css: unindent only

    that are direct children of ,

  • ,
    . Otherwise the inconsistency when using notes and other components inside tables etc. is too ugly. Yes, the
    element is added new. --- diff --git a/css/m-components.css b/css/m-components.css index e71da860..40d847b8 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -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; } diff --git a/css/m-dark+doxygen.compiled.css b/css/m-dark+doxygen.compiled.css index 2a5776a6..81a514ee 100644 --- a/css/m-dark+doxygen.compiled.css +++ b/css/m-dark+doxygen.compiled.css @@ -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; } diff --git a/css/m-dark.compiled.css b/css/m-dark.compiled.css index c5c9032b..75fcc62f 100644 --- a/css/m-dark.compiled.css +++ b/css/m-dark.compiled.css @@ -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; } diff --git a/css/m-light+doxygen.compiled.css b/css/m-light+doxygen.compiled.css index 51cbe1ba..ec0c1da2 100644 --- a/css/m-light+doxygen.compiled.css +++ b/css/m-light+doxygen.compiled.css @@ -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; } diff --git a/css/m-light.compiled.css b/css/m-light.compiled.css index 993bc7cf..2c7380a5 100644 --- a/css/m-light.compiled.css +++ b/css/m-light.compiled.css @@ -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; }