diff --git a/docs/assets/fonts/comicmono.ttf b/docs/assets/fonts/comicmono.ttf new file mode 100644 index 0000000..9bc7354 Binary files /dev/null and b/docs/assets/fonts/comicmono.ttf differ diff --git a/docs/blog/index.md b/docs/blog/index.md new file mode 100644 index 0000000..c58f16c --- /dev/null +++ b/docs/blog/index.md @@ -0,0 +1,2 @@ +# Blog + diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 07986f1..f5afb0b 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -1,3 +1,7 @@ - .md-nav__item--active{ - padding: 0 !important; - } \ No newline at end of file +.md-nav__item--active{ + padding: 0 !important; +} +@font-face { +font-family: 'Comic Mono'; +src: url(/assets/fonts/comicmono.ttf); +} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 29fa132..6d4e3be 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,19 +1,25 @@ site_name: Subnet's Place +copyright: Copyright © 2000 - 2024 Subnet_Masked All Rights Reserved docs_dir: docs theme: + custom_dir: overrides + logo: assets/images/profile_image.png + favicon: assets/images/profile_image.png + font: + text: Comic Mono features: - navigation.tracking + - navigation.sections - toc.follow - toc.integrate - navigation.instant - navigation.instant.progress - navigation.top - navigation.indexes - - content.code.copy name: material palette: scheme: slate - primary: light blue + primary: blue grey accent: indigo toggle: icon: material/brightness-4 @@ -21,7 +27,11 @@ theme: markdown_extensions: - admonition - pymdownx.details - - pymdownx.superfences + - pymdownx.superfences: + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format - attr_list - pymdownx.emoji: emoji_index: !!python/name:material.extensions.emoji.twemoji @@ -35,6 +45,9 @@ markdown_extensions: - pymdownx.superfences - pymdownx.tabbed: alternate_style: true + - pymdownx.tilde + - pymdownx.caret + - pymdownx.keys extra_css: - stylesheets/extra.css extra: @@ -50,4 +63,22 @@ nav: - 'names_pros.md' - 'contact.md' - 'gpg.md' - - 'projects.md' \ No newline at end of file + - 'projects.md' +plugins: + - glightbox: + touchNavigation: true + loop: false + effect: zoom + slide_effect: slide + width: 100% + height: auto + zoomable: true + draggable: true + auto_caption: true + caption_position: bottom + - search: + lang: en + - blog: + enabled: true + blog_dir: blog + post_dir: blog/entries \ No newline at end of file diff --git a/overrides/partials/copyright.html b/overrides/partials/copyright.html new file mode 100644 index 0000000..9604e69 --- /dev/null +++ b/overrides/partials/copyright.html @@ -0,0 +1,42 @@ + + + +
Site last built {{ build_date_utc.strftime('%Y-%m-%d @ %H:%M UTC') }}
+Comic Mono font copyright (c) dtinth
+