Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] Modified theme common for header and footer sa 5384 #8

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 44 additions & 37 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,23 @@ 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
# To add custom stylesheet to _theme and acts as a build-directory path resolver
custom_dir: dist/_theme
RSAK56 marked this conversation as resolved.
Show resolved Hide resolved
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/logo-light.png

palette:
- media: "(prefers-color-scheme)"
toggle:
name: Switch to system preference
Expand All @@ -33,44 +40,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_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- toc:
permalink: "#"
title: On this page
RSAK56 marked this conversation as resolved.
Show resolved Hide resolved
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.
1 change: 0 additions & 1 deletion resources/assets/images/favicon.svg

This file was deleted.

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.
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.
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.
18 changes: 18 additions & 0 deletions resources/assets/svg/social/x-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 %}
RSAK56 marked this conversation as resolved.
Show resolved Hide resolved
Loading