diff --git a/src/main.py b/src/main.py index 1e67beb..caba8d8 100644 --- a/src/main.py +++ b/src/main.py @@ -1,5 +1,5 @@ import sys -import os +import shutil from progress.bar import Bar from path import Path @@ -49,6 +49,7 @@ def create_pages(pages: list[Page]) -> None: def main(): site_path: Path = Path(argument_parsing()) pages: list[Page] = scan_pages(site_path.get_dirs()) + shutil.copy2("./src/templates/page.css", site_path.get_absolute_path()) create_pages(pages) if __name__ == "__main__": diff --git a/src/templates/page.css b/src/templates/page.css index e69de29..02f89ab 100644 --- a/src/templates/page.css +++ b/src/templates/page.css @@ -0,0 +1,64 @@ +:root { + --bg1: #002b36; + --bg2: #073642; + --content1: #586e75; + --content2: #657b83; + --content3: #839496; + --content4: #93a1a1; + --lbg1: #eee8d5; + --lbg2: #fdf6e3; +} + +body { + display: flex; + justify-content: center; + flex-direction: column; + width: 50%; + background-color: var(--bg1); + margin: auto; + margin-top: 10px; + margin-bottom: 50px; + color: lightgray; +} + +body * { + width: 100%; +} + +.image-container { + margin-top: 10px; +} + +.image-container-element { + margin-top: 0px; +} + +.readme { + border: 1px solid; + background-color: var(--bg2); +} + +.readme-content { + margin: 30px; +} + +.export, +.next { + margin-top: 0px; + display: block; + text-align: right; +} + +.download { + margin-top: 10px; + background-color: var(--bg2); + text-align: center; + padding-bottom: 30px; +} + +.navigation, +.meta-image { + display: flex; + flex-direction: row; + justify-content: space-between; +} \ No newline at end of file