diff --git a/_scripts/generate.py b/_scripts/generate.py index 0425b41..731ed29 100644 --- a/_scripts/generate.py +++ b/_scripts/generate.py @@ -138,7 +138,7 @@ def render_code_block(element, acc): def render_text(element, acc): for chunk in element.content.contents: - acc.append("{} ".format(chunk)) + acc.append('{} '.format(chunk)) def render_tag(element, acc): @@ -159,6 +159,8 @@ def render_tree(tree, acc): def render(headline, doc): + # if headline.id != "41b1ee7e-ddbf-41ff-bc79-18258506ebe6": + # return "" print("\n===========") dom = headline.as_dom() print_tree(dom) diff --git a/static/style.css b/static/style.css index 36b8b14..9d6d1a0 100644 --- a/static/style.css +++ b/static/style.css @@ -4,8 +4,8 @@ body { } .node .node { - margin: 1ex; - padding: 0 0.5ex 0.1ex 1ex; + margin: 1ex 0.5ex 1ex 0.5ex; + padding: 0 0 0.1ex 1ex; box-shadow: 0px 1px 4px 0 rgba(0,0,0,0.3); border-radius: 4px; } @@ -36,7 +36,7 @@ li .tag { } li .tag::after { - content: ": "; + content: ":: "; } .text {