diff --git a/html/style.css b/html/style.css index 98c9553..f3fa03b 100644 --- a/html/style.css +++ b/html/style.css @@ -66,6 +66,7 @@ html { font-size: 0.8em; background-color: var(--bg-color); border: 1px solid #bbbbdd; + overflow: scroll; } nav li:first-child { border-left: none; @@ -100,3 +101,9 @@ html { font-size: 13px; } } + +img { + max-width: 100%; + height: auto; + width: auto; +} diff --git a/tools/article_wrapper.py b/tools/article_wrapper.py index 093aef9..53e5af9 100755 --- a/tools/article_wrapper.py +++ b/tools/article_wrapper.py @@ -53,6 +53,7 @@ article_head += "---\n\n" header = f"""HTML header: + """ if not brief is None: header += f"""\n""" diff --git a/tools/main_page_generator.py b/tools/main_page_generator.py index 3c753eb..e72b94b 100755 --- a/tools/main_page_generator.py +++ b/tools/main_page_generator.py @@ -16,6 +16,7 @@ seed() page_metadata = """Title: mjestečko CSS: /style.css +HTML header: """ diff --git a/tools/tag_listing_generator.py b/tools/tag_listing_generator.py index 82d1cbe..b293261 100755 --- a/tools/tag_listing_generator.py +++ b/tools/tag_listing_generator.py @@ -10,8 +10,14 @@ import os.path as path from article_utils import the_line_after_metadata, parse_metadata from page_shares import wrap_page -tag_listing_header = "CSS: /style.css\n\n" -main_listing_header = "CSS: /style.css\n\n" +tag_listing_header = """CSS: /style.css +HTML header: + +""" +main_listing_header = """CSS: /style.css +HTML header: + +""" if len(argv) <= 1: print("No article directory was supplied")