From 46b2cd94d96ec6a686796170302a88881cd1f2ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 15 Dec 2017 01:57:51 +0100 Subject: [PATCH] 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. --- css/m-components.css | 2 +- css/m-dark+doxygen.compiled.css | 2 +- css/m-dark.compiled.css | 2 +- css/m-light+doxygen.compiled.css | 2 +- css/m-light.compiled.css | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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; } -- 2.30.2