diff options
Diffstat (limited to 'org/out_xmls_css.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 |
