Skip to content

Commit

Permalink
Modified theme common for header and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
RSAK56 committed Mar 14, 2024
1 parent 8098fec commit 00ac208
Show file tree
Hide file tree
Showing 26 changed files with 1,442 additions and 45 deletions.
80 changes: 43 additions & 37 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,22 @@ repo_url: null
edit_uri: blob/main/content/
use_directory_urls: false
extra_css:
- stylesheets/extra.css
- stylesheets/extra.css
theme:
name: material
font:
text: Montserrat
code: Montserrat Mono
custom_dir: dist/_theme
logo: assets/images/favicon.svg
favicon: assets/images/favicon.svg
palette:
name: material
font:
text: Space Grotex
code: Space Grotex
custom_dir: dist/_theme
logo_light: assets/images/logo-light.png
logo_dark: assets/images/logo-dark.png
cloud_security_alliance_logo_dark: assets/images/CSA_dark.png
cloud_security_alliance_logo_light: assets/images/CSA_light.png
hippa_compliant_logo_dark: assets/images/HC_dark.png
hippa_compliant_logo_light: assets/images/HC_light.png
favicon: assets/images/favicon.svg

palette:
- media: "(prefers-color-scheme)"
toggle:
name: Switch to system preference
Expand All @@ -33,44 +39,44 @@ theme:
toggle:
name: Switch to dark mode
icon: material/brightness-3
features:
- content.code.copy
- navigation.tracking
- toc.follow
- toc.integrate
- navigation.top
features:
- content.code.copy
- navigation.tracking
- toc.follow
- navigation.top

markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- attr_list
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- toc:
permalink: "#"
title: On this page
extra:
analytics:
provider: google
property: G-TTH1YYW5TX
consent:
title: Cookie consent
actions:
- accept
- reject
- manage
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
version:
provider: mike
default: latest
analytics:
provider: google
property: G-TTH1YYW5TX
consent:
title: Cookie consent
actions:
- accept
- reject
- manage
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
version:
provider: mike
default: latest
plugins:
- search
- mermaid2
- glightbox
- search
- mermaid2
- glightbox

nav:
Binary file added resources/assets/images/CSA_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/assets/images/CSA_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/assets/images/HC_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/assets/images/HC_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion resources/assets/images/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/assets/images/logo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/assets/images/logo-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/assets/images/magnify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/assets/svg/down-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions resources/assets/svg/magnify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions resources/assets/svg/social/facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions resources/assets/svg/social/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions resources/assets/svg/social/instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions resources/assets/svg/social/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions resources/assets/svg/social/reddit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions resources/assets/svg/social/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 10 additions & 6 deletions resources/main.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{% extends "base.html" %}

{% block header %}
{% include "partials/header.html" %}
{% endblock %}

{% block footer %}
<p>Copyright &copy; 2024 Stakater AB – <a href="#__consent">Change cookie settings</a></p>
{% include "partials/footer.html" %}
{% endblock %}

{% block outdated %}
You're not viewing the latest version.
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
</a>
{% endblock %}
You're not viewing the latest version.
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
</a>
{% endblock %}
Loading

0 comments on commit 00ac208

Please sign in to comment.