diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-05-22 15:04:51 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-05-22 15:42:48 -0400 |
| commit | 2cb20ea0436e4f0180716ff8440a686d5347ee8f (patch) | |
| tree | df6587ad2e7ff5b634c5ab25b33cb69f9dbf87a3 /org | |
| parent | decouple abstraction phase1:2 (diff) | |
css: html (additional) tags alignment
css: align body-flow <ul>/<li> & <details>/<summary> with <p>
Not used by sisudoc-spine but for hand-authored body-flow markup such as
the current homepage / body-flow, added block to each of the four html
CSS string heredocs in src/sisudoc/io_out/xmls_css.d
Existing tags are left in place and untouched.
(assisted by Claude-Code)
Diffstat (limited to 'org')
| -rw-r--r-- | org/out_xmls_css.org | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/org/out_xmls_css.org b/org/out_xmls_css.org index 6e3feaf..d3a4e7e 100644 --- a/org/out_xmls_css.org +++ b/org/out_xmls_css.org @@ -50,6 +50,7 @@ template spineCss() { <<css_light_html_seg_previous_next>> <<css_light_html_seg_flex>> <<css_light_html_seg_grid>> +<<css_homepage_extra>> ┃", _color_ocn_light, _css_indent, @@ -70,6 +71,7 @@ template spineCss() { <<css_dark_html_seg_previous_next>> <<css_dark_html_seg_flex>> <<css_dark_html_seg_grid>> +<<css_homepage_extra>> ┃", _color_ocn_dark, _css_indent, @@ -89,6 +91,7 @@ template spineCss() { <<css_shared_search_form>> <<css_light_html_scroll_flex>> <<css_light_html_scroll_grid>> +<<css_homepage_extra>> ┃", _color_ocn_light, _css_indent, @@ -108,6 +111,7 @@ template spineCss() { <<css_shared_search_form>> <<css_dark_html_scroll_flex>> <<css_dark_html_scroll_grid>> +<<css_homepage_extra>> ┃", _color_ocn_dark, _css_indent, @@ -2502,6 +2506,62 @@ p[indent="h9i9"] { ┃"); #+END_SRC +*** homepage extra + +#+NAME: css_homepage_extra +#+BEGIN_SRC css +/* ------------------------------------------------------------------ */ +/* Homepage / body-flow HTML5 markup */ +/* <ul>/<li> and <details>/<summary> aligned with <p> and headings. */ +/* Scoped to direct body children to avoid affecting div.toc lists. */ +/* ------------------------------------------------------------------ */ +body > ul, +body > ol { + margin-left : 5%%; + margin-right : 2em; + margin-top : 0.8em; + margin-bottom : 0.8em; + padding-left : 1.5em; + list-style-position : outside; +} +body > ul { list-style-type : disc; } +body > ol { list-style-type : decimal; } +body > ul li, +body > ol li { + margin-left : 0; + margin-right : 0; + margin-top : 0.3em; + margin-bottom : 0.3em; + line-height : 133%%; + background : none; + text-align : left; + text-indent : 0; +} +details { + margin-top : 1em; + margin-bottom : 0.5em; +} +summary { + margin-left : 5%%; + margin-right : 2em; + padding-left : 0.2em; + padding-top : 0.4em; + padding-bottom : 0.4em; + font-size : 1.6rem; + line-height : 133%%; + cursor : pointer; +} +details > ul, +details > ol { + margin-left : 5%%; + padding-left : 1.5em; +} +details > ul li, +details > ol li { + margin-left : 0; +} +#+END_SRC + * org includes ** year |
