mkdocs-material-joapuiib 0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- material_joapuiib/__init__.py +1 -0
- material_joapuiib/document.html +18 -0
- material_joapuiib/img/license/by-nc-sa.png +0 -0
- material_joapuiib/img/logo_mislata.png +0 -0
- material_joapuiib/javascript/katex.js +10 -0
- material_joapuiib/main.html +14 -0
- material_joapuiib/mkdocs_theme.yml +33 -0
- material_joapuiib/partials/comments.html +57 -0
- material_joapuiib/partials/cover/cipfp-mislata/background.html +23 -0
- material_joapuiib/partials/cover.html +71 -0
- material_joapuiib/plugins/__init__.py +0 -0
- material_joapuiib/plugins/enviorment.py +14 -0
- material_joapuiib/stylesheets/admonitions.css +53 -0
- material_joapuiib/stylesheets/cover.css +78 -0
- mkdocs_material_joapuiib-0.4.dist-info/METADATA +10 -0
- mkdocs_material_joapuiib-0.4.dist-info/RECORD +19 -0
- mkdocs_material_joapuiib-0.4.dist-info/WHEEL +5 -0
- mkdocs_material_joapuiib-0.4.dist-info/entry_points.txt +5 -0
- mkdocs_material_joapuiib-0.4.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.4'
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{% extends "main.html" %}
|
|
2
|
+
|
|
3
|
+
{% block styles %}
|
|
4
|
+
{{ super() }}
|
|
5
|
+
<link rel="stylesheet" href="{{'stylesheets/cover.css' | url}}">
|
|
6
|
+
{% endblock %}
|
|
7
|
+
|
|
8
|
+
{% block content %}
|
|
9
|
+
{% include "partials/cover.html" %}
|
|
10
|
+
{% if "material/tags" in config.plugins and tags %}
|
|
11
|
+
{% include "partials/tags.html" %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
{% include "partials/actions.html" %}
|
|
14
|
+
{{ page.content }}
|
|
15
|
+
{% include "partials/source-file.html" %}
|
|
16
|
+
{% include "partials/feedback.html" %}
|
|
17
|
+
{% include "partials/comments.html" %}
|
|
18
|
+
{% endblock %}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
document$.subscribe(({ body }) => {
|
|
2
|
+
renderMathInElement(body, {
|
|
3
|
+
delimiters: [
|
|
4
|
+
{ left: "$$", right: "$$", display: true },
|
|
5
|
+
{ left: "$", right: "$", display: false },
|
|
6
|
+
{ left: "\\(", right: "\\)", display: false },
|
|
7
|
+
{ left: "\\[", right: "\\]", display: true }
|
|
8
|
+
],
|
|
9
|
+
})
|
|
10
|
+
})
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{% block styles %}
|
|
4
|
+
{{ super() }}
|
|
5
|
+
<link rel="stylesheet" href="{{'stylesheets/admonitions.css' | url}}">
|
|
6
|
+
<link rel="stylesheet" href="https://unpkg.com/katex@0/dist/katex.min.css">
|
|
7
|
+
{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block scripts %}
|
|
10
|
+
{{ super() }}
|
|
11
|
+
<script src="{{ 'javascript/katex.js' | url }}"></script>
|
|
12
|
+
<script src="https://unpkg.com/katex@0/dist/katex.min.js"></script>
|
|
13
|
+
<script src="https://unpkg.com/katex@0/dist/contrib/auto-render.min.js"></script>
|
|
14
|
+
{% endblock %}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
extends: material
|
|
2
|
+
|
|
3
|
+
language: ca
|
|
4
|
+
|
|
5
|
+
features:
|
|
6
|
+
- content.code.copy
|
|
7
|
+
- content.code.annotate
|
|
8
|
+
- content.tooltips
|
|
9
|
+
|
|
10
|
+
icon:
|
|
11
|
+
admonition:
|
|
12
|
+
example: material/format-list-numbered
|
|
13
|
+
|
|
14
|
+
teacher:
|
|
15
|
+
name: Teacher Name
|
|
16
|
+
email: teacher@localhost
|
|
17
|
+
|
|
18
|
+
# Palette toggle for light mode
|
|
19
|
+
palette:
|
|
20
|
+
- media: "(prefers-color-scheme: light)"
|
|
21
|
+
scheme: default
|
|
22
|
+
toggle:
|
|
23
|
+
# icon: material/toggle-switch
|
|
24
|
+
icon: material/weather-sunny
|
|
25
|
+
name: Switch to dark mode
|
|
26
|
+
|
|
27
|
+
# Palette toggle for dark mode
|
|
28
|
+
- media: "(prefers-color-scheme: dark)"
|
|
29
|
+
scheme: slate
|
|
30
|
+
toggle:
|
|
31
|
+
# icon: material/toggle-switch-off-outline
|
|
32
|
+
icon: material/weather-night
|
|
33
|
+
name: Switch to light mode
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{% if page.meta.comments and build %}
|
|
2
|
+
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
|
|
3
|
+
|
|
4
|
+
<!-- Insert generated snippet here -->
|
|
5
|
+
<script src="https://giscus.app/client.js"
|
|
6
|
+
data-repo="joapuiib/mkdocs-material-joapuiib"
|
|
7
|
+
data-repo-id="R_kgDOMUF9Jg"
|
|
8
|
+
data-category="Announcements"
|
|
9
|
+
data-category-id="DIC_kwDOMUF9Js4CgyME"
|
|
10
|
+
data-mapping="pathname"
|
|
11
|
+
data-strict="1"
|
|
12
|
+
data-reactions-enabled="1"
|
|
13
|
+
data-emit-metadata="1"
|
|
14
|
+
data-input-position="top"
|
|
15
|
+
data-theme="preferred_color_scheme"
|
|
16
|
+
data-lang="ca"
|
|
17
|
+
data-loading="lazy"
|
|
18
|
+
crossorigin="anonymous"
|
|
19
|
+
async>
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<!-- Synchronize Giscus theme with palette -->
|
|
23
|
+
<script>
|
|
24
|
+
var giscus = document.querySelector("script[src*=giscus]")
|
|
25
|
+
|
|
26
|
+
// Set palette on initial load
|
|
27
|
+
var palette = __md_get("__palette")
|
|
28
|
+
if (palette && typeof palette.color === "object") {
|
|
29
|
+
var theme = palette.color.scheme === "slate"
|
|
30
|
+
? "transparent_dark"
|
|
31
|
+
: "light"
|
|
32
|
+
|
|
33
|
+
// Instruct Giscus to set theme
|
|
34
|
+
giscus.setAttribute("data-theme", theme)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Register event handlers after documented loaded
|
|
38
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
39
|
+
var ref = document.querySelector("[data-md-component=palette]")
|
|
40
|
+
ref.addEventListener("change", function() {
|
|
41
|
+
var palette = __md_get("__palette")
|
|
42
|
+
if (palette && typeof palette.color === "object") {
|
|
43
|
+
var theme = palette.color.scheme === "slate"
|
|
44
|
+
? "transparent_dark"
|
|
45
|
+
: "light"
|
|
46
|
+
|
|
47
|
+
// Instruct Giscus to change theme
|
|
48
|
+
var frame = document.querySelector(".giscus-frame")
|
|
49
|
+
frame.contentWindow.postMessage(
|
|
50
|
+
{ giscus: { setConfig: { theme } } },
|
|
51
|
+
"https://giscus.app"
|
|
52
|
+
)
|
|
53
|
+
}
|
|
54
|
+
})
|
|
55
|
+
})
|
|
56
|
+
</script>
|
|
57
|
+
{% endif %}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<div class="background">
|
|
2
|
+
|
|
3
|
+
<!-- rectangle vertical -->
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="300" style="height: 100%">
|
|
5
|
+
<rect width="25" height="300" class="" style="fill:var(--md-primary-fg-color--dark); height:100%;"/>
|
|
6
|
+
</svg>
|
|
7
|
+
|
|
8
|
+
<!-- rectangle horizontal -->
|
|
9
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="75" height="50" style="top: 20%">
|
|
10
|
+
<rect width="75" height="50" class="" style="fill:var(--md-primary-fg-color--light)"/>
|
|
11
|
+
</svg>
|
|
12
|
+
|
|
13
|
+
<!-- linies -->
|
|
14
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -442.076 203.6 442.1" style="top: 50%; height: 50%; left: 25px;">
|
|
15
|
+
<path d="M188.3-400.4C158.4-370.3 125.5-328.5 105-294.5 76.2-246.8 59.6-204.5 50.2-155 44-122.4 43.9-96.6 50-57.9 53.6-34.8 53.7-34 58.2-22.5 60.2-17.5 62.8-10.6 64.1-7.2 66.2-1.1 67.7.6 69.9-.2 71-.5 66.8-14.3 61.9-26.6 49.5-57.7 46.1-117.8 54.3-159 60.6-190.3 65.9-207.5 78.7-237.5 102.3-293 144.5-354.4 190.8-400.9 198.1-408.2 203.9-414.5 203.6-414.7 203.3-415 196.4-408.6 188.3-400.4Z" fill="#aaaaaa"/>
|
|
16
|
+
<path d="M0-264.9C0-257.7 8.5-222.2 16.6-195.6 19.2-187.3 21.8-178.5 22.5-176 23.2-173.5 24.9-167.9 26.3-163.5 27.7-159.1 32.3-144.7 36.6-131.5 40.8-118.3 44.9-106.6 45.6-105.5 47.6-102.4 53.5-87.1 54.9-81.5 55.6-78.8 57-74.7 58-72.5 61.1-66.1 72-40.9 72-40.3 72-40 74.1-35.4 76.6-30.1 79.2-24.8 83.5-15.9 86.1-10.3 90.3-1.3 91.3-0 93.4-0 95.9-0 95.9-0 94.3-3.8 93.5-5.8 91.7-9.6 90.4-12.1 89.1-14.7 88.4-17 88.7-17.4 89.1-17.7 88.9-18 88.3-18 87.7-18 85.6-21.9 83.5-26.8 81.5-31.6 79.2-36.5 78.5-37.6 77.7-38.8 75.7-43.5 73.9-48.1 72.1-52.7 70.3-56.7 69.9-57 69.4-57.4 68.2-60.1 67.1-63 66.1-66 63.7-71.9 62-76 60.2-80.1 57-88.2 55-94 52.9-99.8 50-107 48.7-110.1 47.3-113.2 45.8-117.5 45.4-119.6 44.9-121.8 44.5-123.7 44.5-124 44.4-124.3 43.7-126.1 42.9-128 36.6-142.3 16.1-210.6 4.9-254.5 2.7-263.3.7-270.7.4-270.9.2-271.1-0-268.4-0-264.9Z" fill="#aaaaaa"/>
|
|
17
|
+
<path d="M.1-244.4C-.1-231.1 8.3-181.7 17.1-145 27.8-100.2 47.9-42.7 63.8-11.3 68.4-2.1 69.9 0 71.7 0 73.8 0 73.7-.3 69.8-9.3 67.6-14.3 64-22.8 61.8-28 59.7-33.2 57.1-39.3 56.1-41.5 47.2-60.7 41.5-76.1 32.5-104.5 22.9-134.9 12.9-178.6 6.6-217.5 4.6-229.6 2.4-242.2 1.6-245.5L.2-251.5.1-244.4Z" fill="#aaaaaa"/>
|
|
18
|
+
<path d="M.2-436.5C-.1-421 4.3-368.3 9.5-324 13.6-289.6 20.3-249.1 28.5-209 30.9-197.2 33.5-184.4 34.3-180.5 36-171.9 45.7-136.2 51-118.5 61.8-82.5 76.1-44.5 89.1-17.2 95.9-2.7 97.7.3 99-.5 99.5-.8 97.2-6.5 93.9-13.1 85.1-31 72.4-62.4 63.4-88.5 53.4-117.5 38.4-172.2 34.5-194 33.5-199.2 32.3-204.2 31.9-205 29.5-209.3 15.8-288.7 11.5-322.5 7.7-353 4.3-388 2.6-413.5 1.7-426.2.9-438.5.7-441 .5-443.5.3-441.5.2-436.5Z" fill="var(--md-primary-fg-color--light)"/>
|
|
19
|
+
<path d="M41.6-406.3C37.1-385.2 32.5-335.4 31-291.5 30.1-265.1 31.2-210.9 33-191.5 38.6-130.7 50.3-79.2 69.9-28.5 74.2-17.5 78.3-6.7 79.1-4.5 80.3-1.3 81.1-.4 83.3-.2 84.8-0 86-.1 86-.5 86-.8 84.6-3.9 82.9-7.3 81.1-10.7 78.7-16.2 77.4-19.5 76.2-22.8 73.1-30 70.7-35.5 63.9-50.6 57.6-70.7 51-97.4 43.9-126.4 42.6-132.8 40.6-149 39.7-155.9 38.1-168.7 37-177.5 35.9-186.3 34.5-201.6 33.8-211.5 32.1-234.9 32.2-304.6 33.8-326 35.8-351.8 38.9-381.3 41.1-395.4 42.2-402.5 42.9-408.5 42.6-408.7 42.4-408.9 41.9-407.9 41.6-406.3Z" fill="var(--md-primary-fg-color--light)"/>
|
|
20
|
+
<path d="M158.7-261C123.9-224.7 99-187.2 83.3-147.4 69.5-112.4 64.2-74.9 68.9-45 69.4-41.4 70.4-35.1 71-31 71.6-26.9 74-18.3 76.3-12 80.2-1.5 80.8-.5 83.3-.2 84.8 0 86-.1 86-.3 86-.5 84-5 81.6-10.1 70-34.7 66.8-66.8 72.6-102.5 80.8-153.1 113.4-212.2 158.9-259.2 165.7-266.3 170.8-272 170.2-272 169.7-272 164.5-267 158.7-261Z" fill="var(--md-primary-fg-color--light)"/>
|
|
21
|
+
</svg>
|
|
22
|
+
|
|
23
|
+
</div><!--background-->
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{% set cover = page.meta.cover or config.theme.cover or false %}
|
|
2
|
+
|
|
3
|
+
{% if cover %}
|
|
4
|
+
|
|
5
|
+
{% set title = page.title %}
|
|
6
|
+
{% set subtitle = page.meta.subtitle %}
|
|
7
|
+
{% set author = page.meta.author or config.theme.author or config.get('author', {}).get('name') or None %}
|
|
8
|
+
{% set email = page.meta.email or config.theme.email or config.get('author', {}).get('email') or None %}
|
|
9
|
+
{% set curs = page.meta.curs %}
|
|
10
|
+
{% set original_author = page.meta.original_author %}
|
|
11
|
+
|
|
12
|
+
{% set license = page.meta.license or config.license or 'BY-NC-SA' %}
|
|
13
|
+
{% set license_desc = page.meta.license_desc or config.license_desc or '(Reconeixement - No Comercial - Compartir Igual)' %}
|
|
14
|
+
{% set license_url = 'https://creativecommons.org/licenses/by-nc-sa/4.0/deed.ca' %}
|
|
15
|
+
|
|
16
|
+
{% set logo = 'img/logo_mislata.png' %}
|
|
17
|
+
{% set license_img = 'img/license/' + license.lower() + '.png' %}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<div class="cover">
|
|
21
|
+
|
|
22
|
+
{% block background %}
|
|
23
|
+
{% include "partials/cover/cipfp-mislata/background.html" %}
|
|
24
|
+
{% endblock %}
|
|
25
|
+
|
|
26
|
+
<div class="content">
|
|
27
|
+
|
|
28
|
+
{% block logo %}
|
|
29
|
+
<img class="cover-logo" src="{{ logo | url }}" alt="logo">
|
|
30
|
+
{% endblock %}
|
|
31
|
+
|
|
32
|
+
<h1>{{ title }}</h1>
|
|
33
|
+
|
|
34
|
+
{% if subtitle %}
|
|
35
|
+
<h2>{{ subtitle }}</h2>
|
|
36
|
+
{% endif %}
|
|
37
|
+
|
|
38
|
+
<div class="details">
|
|
39
|
+
{% if author %}
|
|
40
|
+
<p><strong>Autor:</strong> {{ author }}</p>
|
|
41
|
+
{% endif %}
|
|
42
|
+
{% if email %}
|
|
43
|
+
<p><strong>Correu electrònic:</strong> {{ email }}</p>
|
|
44
|
+
{% endif %}
|
|
45
|
+
{% if curs %}
|
|
46
|
+
<p><strong>Curs:</strong> {{ curs }}</p>
|
|
47
|
+
{% endif %}
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<div class="license">
|
|
51
|
+
|
|
52
|
+
{% if original_author %}
|
|
53
|
+
<p>Aquest material és una obra derivada a partir del material de: <strong>{{ original_author }}</strong></p>
|
|
54
|
+
{% endif %}
|
|
55
|
+
|
|
56
|
+
<p><strong>Llicència: {{ license }}</strong></p>
|
|
57
|
+
{% if license_desc %}
|
|
58
|
+
<p class="">{{license_desc}}</p>
|
|
59
|
+
{% endif %}
|
|
60
|
+
|
|
61
|
+
<div class="license-img">
|
|
62
|
+
<a href="{{ license_url }}" target="_blank">
|
|
63
|
+
<img class="" src="{{ license_img | url }}" alt="Licence"/>
|
|
64
|
+
</a>
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
</div><!--license-->
|
|
68
|
+
</div><!--content-->
|
|
69
|
+
</div><!--cover-->
|
|
70
|
+
|
|
71
|
+
{% endif %}
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from mkdocs.plugins import BasePlugin
|
|
2
|
+
|
|
3
|
+
class EnviormentPlugin(BasePlugin):
|
|
4
|
+
|
|
5
|
+
def __init__(self):
|
|
6
|
+
self.enabled = True
|
|
7
|
+
self.is_building = False
|
|
8
|
+
|
|
9
|
+
def on_startup(self, *, command, dirty):
|
|
10
|
+
self.is_building = command in ['build', 'gh-deploy']
|
|
11
|
+
|
|
12
|
+
def on_page_context(self, context, page, config, nav):
|
|
13
|
+
context['build'] = self.is_building
|
|
14
|
+
return context
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--md-admonition-icon--docs: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 122.88 96.44"><title>open-book</title><path d="M12,73.51q.2-34.74.39-69.38A3.21,3.21,0,0,1,15,1h0C23.4-.75,36.64-.31,45.63,3.14a35.46,35.46,0,0,1,16,11.65,37.34,37.34,0,0,1,16-11.15C86.12.4,99-.38,108.23,1A3.2,3.2,0,0,1,111,4.14h0V73.8A3.21,3.21,0,0,1,107.77,77a3.49,3.49,0,0,1-.74-.09A53.45,53.45,0,0,0,83.58,79.1a71,71,0,0,0-15.77,8.26,69.09,69.09,0,0,1,21.24-3.1,125.42,125.42,0,0,1,27.41,3.48V14.84h3.21a3.21,3.21,0,0,1,3.21,3.21V91.94a3.21,3.21,0,0,1-3.21,3.21,3.18,3.18,0,0,1-1-.17A121.77,121.77,0,0,0,89,90.65a61.89,61.89,0,0,0-25.76,5.26,3.39,3.39,0,0,1-3.64,0,61.86,61.86,0,0,0-25.76-5.26A121.77,121.77,0,0,0,4.24,95a3.18,3.18,0,0,1-1,.17A3.21,3.21,0,0,1,0,91.94V18.05a3.21,3.21,0,0,1,3.21-3.21H6.42v72.9a125.42,125.42,0,0,1,27.41-3.48,68.84,68.84,0,0,1,22.71,3.57A48.7,48.7,0,0,0,41,79.39c-7-2.3-17.68-3.07-25.49-2.4A3.21,3.21,0,0,1,12,74.06a5,5,0,0,1,0-.55ZM73.64,64.4a2.3,2.3,0,1,1-2.5-3.85,51.46,51.46,0,0,1,11.8-5.4,53.73,53.73,0,0,1,13-2.67,2.29,2.29,0,1,1,.25,4.58,49.42,49.42,0,0,0-11.79,2.46A46.73,46.73,0,0,0,73.64,64.4Zm.2-17.76a2.29,2.29,0,0,1-2.46-3.87,52.71,52.71,0,0,1,11.74-5.3A54.12,54.12,0,0,1,95.9,34.85a2.3,2.3,0,0,1,.25,4.59,49.3,49.3,0,0,0-11.63,2.4,48,48,0,0,0-10.68,4.8Zm.06-17.7a2.3,2.3,0,1,1-2.46-3.89,52.54,52.54,0,0,1,11.72-5.27,53.71,53.71,0,0,1,12.74-2.6,2.29,2.29,0,1,1,.25,4.58,49.35,49.35,0,0,0-11.59,2.39A47.91,47.91,0,0,0,73.9,28.94ZM51.74,60.55a2.3,2.3,0,1,1-2.5,3.85,46.73,46.73,0,0,0-10.72-4.88,49.42,49.42,0,0,0-11.79-2.46A2.29,2.29,0,1,1,27,52.48a53.73,53.73,0,0,1,13,2.67,51.46,51.46,0,0,1,11.8,5.4ZM51.5,42.77A2.29,2.29,0,0,1,49,46.64a48,48,0,0,0-10.68-4.8,49.3,49.3,0,0,0-11.63-2.4A2.3,2.3,0,0,1,27,34.85a54.12,54.12,0,0,1,12.78,2.62,52.71,52.71,0,0,1,11.74,5.3Zm-.06-17.72A2.3,2.3,0,1,1,49,28.94a47.91,47.91,0,0,0-10.66-4.79,49.35,49.35,0,0,0-11.59-2.39A2.29,2.29,0,1,1,27,17.18a53.71,53.71,0,0,1,12.74,2.6,52.54,52.54,0,0,1,11.72,5.27ZM104.56,7c-7.42-.7-18.06.12-24.73,2.65A30,30,0,0,0,64.7,21.46V81.72a76.76,76.76,0,0,1,16.72-8.66,62.85,62.85,0,0,1,23.14-2.87V7ZM58.28,81.1V21.37c-3.36-5.93-8.79-9.89-14.93-12.24-7-2.67-17.75-3.27-24.56-2.3l-.36,63.56c7.43-.27,17.69.68,24.52,2.91a54.94,54.94,0,0,1,15.33,7.8Z"/></svg>');
|
|
3
|
+
--md-admonition-icon--spoiler: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 2H4c-.53 0-1.04.21-1.41.59C2.21 2.96 2 3.47 2 4v12c0 .53.21 1.04.59 1.41.37.38.88.59 1.41.59h4l4 4 4-4h4c.53 0 1.04-.21 1.41-.59S22 16.53 22 16V4c0-.53-.21-1.04-.59-1.41C21.04 2.21 20.53 2 20 2m-9.95 4.04c.54-.36 1.25-.54 2.14-.54.94 0 1.69.21 2.23.62.54.42.81.98.81 1.68 0 .44-.15.83-.44 1.2-.29.36-.67.64-1.13.85-.26.15-.43.3-.52.47-.09.18-.14.4-.14.68h-2c0-.5.1-.84.29-1.08.21-.24.55-.52 1.07-.84.26-.14.47-.32.64-.54.14-.21.22-.46.22-.74 0-.3-.09-.52-.27-.69-.18-.18-.45-.26-.76-.26-.27 0-.49.07-.69.21-.16.14-.26.35-.26.63H9.27c-.05-.69.23-1.29.78-1.65M11 14v-2h2v2Z"/></svg>');
|
|
4
|
+
|
|
5
|
+
--md-admonition-color--docs: 158, 158, 158;
|
|
6
|
+
--md-admonition-color--spoiler: 255, 23, 68;
|
|
7
|
+
--md-admonition-color--success: 0, 200, 83;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.md-typeset .admonition.docs,
|
|
11
|
+
.md-typeset details.docs {
|
|
12
|
+
border-color: rgb(var(--md-admonition-color--docs));
|
|
13
|
+
}
|
|
14
|
+
.md-typeset .docs > .admonition-title,
|
|
15
|
+
.md-typeset .docs > summary {
|
|
16
|
+
background-color: rgba(var(--md-admonition-color--docs), 0.1);
|
|
17
|
+
}
|
|
18
|
+
.md-typeset .docs > .admonition-title::before,
|
|
19
|
+
.md-typeset .docs > summary::before {
|
|
20
|
+
background-color: rgb(var(--md-admonition-color--docs));
|
|
21
|
+
-webkit-mask-image: var(--md-admonition-icon--docs);
|
|
22
|
+
mask-image: var(--md-admonition-icon--docs);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.md-typeset .admonition.spoiler,
|
|
26
|
+
.md-typeset details.spoiler {
|
|
27
|
+
border-color: rgb(var(--md-admonition-color--spoiler));
|
|
28
|
+
}
|
|
29
|
+
.md-typeset .spoiler > .admonition-title,
|
|
30
|
+
.md-typeset .spoiler > summary {
|
|
31
|
+
background-color: rgba(var(--md-admonition-color--spoiler), 0.1);
|
|
32
|
+
}
|
|
33
|
+
.md-typeset .spoiler > .admonition-title::before,
|
|
34
|
+
.md-typeset .spoiler > summary::before {
|
|
35
|
+
background-color: rgb(var(--md-admonition-color--spoiler));
|
|
36
|
+
-webkit-mask-image: var(--md-admonition-icon--spoiler);
|
|
37
|
+
mask-image: var(--md-admonition-icon--spoiler);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.md-typeset .admonition.solution,
|
|
41
|
+
.md-typeset details.solution {
|
|
42
|
+
border-color: rgb(var(--md-admonition-color--success));
|
|
43
|
+
}
|
|
44
|
+
.md-typeset .solution > .admonition-title,
|
|
45
|
+
.md-typeset .solution > summary {
|
|
46
|
+
background-color: rgba(var(--md-admonition-color--success), 0.1);
|
|
47
|
+
}
|
|
48
|
+
.md-typeset .solution > .admonition-title::before,
|
|
49
|
+
.md-typeset .solution > summary::before {
|
|
50
|
+
background-color: rgb(var(--md-admonition-color--success));
|
|
51
|
+
-webkit-mask-image: var(--md-admonition-icon--success);
|
|
52
|
+
mask-image: var(--md-admonition-icon--success);
|
|
53
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
div.cover {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
div.cover div.background {
|
|
6
|
+
position: absolute;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
z-index: -1;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
div.cover div.background svg {
|
|
13
|
+
position: absolute;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
div.cover div.content {
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 1.5rem;
|
|
22
|
+
width: 100%;
|
|
23
|
+
padding: 1rem;
|
|
24
|
+
padding-left: 75px;
|
|
25
|
+
/*
|
|
26
|
+
background-image:
|
|
27
|
+
url("../img/cover/horizontal_rect.svg"),
|
|
28
|
+
url("../img/cover/vertical_rect.svg"),
|
|
29
|
+
url("../img/cover/lines.svg");
|
|
30
|
+
background-size: auto, auto, auto 50%;
|
|
31
|
+
background-repeat: no-repeat, repeat-y;
|
|
32
|
+
background-position: 0 20%, 0 0, 25px bottom;
|
|
33
|
+
*/
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
div.cover h1,
|
|
37
|
+
div.cover h2,
|
|
38
|
+
div.cover h3,
|
|
39
|
+
div.cover h4,
|
|
40
|
+
div.cover h5,
|
|
41
|
+
div.cover h6 {
|
|
42
|
+
font-weight: bold;
|
|
43
|
+
border-bottom-style: none;
|
|
44
|
+
padding-bottom: 0;
|
|
45
|
+
counter-reset: none;
|
|
46
|
+
text-align: center;
|
|
47
|
+
margin: 0;
|
|
48
|
+
}
|
|
49
|
+
div.cover h1 {
|
|
50
|
+
// 1em h1 margin top + 200px img max-height + 1rem img margin bottom + 1rem .cover padding
|
|
51
|
+
scroll-margin-top: calc(1em + 200px + 1rem + 1rem);
|
|
52
|
+
font-size: 2.5em;
|
|
53
|
+
}
|
|
54
|
+
div.cover .cover-logo {
|
|
55
|
+
display: block;
|
|
56
|
+
max-height: 200px;
|
|
57
|
+
margin: 2rem auto;
|
|
58
|
+
width: fit-content;
|
|
59
|
+
}
|
|
60
|
+
div.cover p {
|
|
61
|
+
margin: 0;
|
|
62
|
+
margin-bottom: 0.3em;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
div.cover .details {
|
|
66
|
+
text-align: right;
|
|
67
|
+
margin-left: auto;
|
|
68
|
+
width: -webkit-fit-content;
|
|
69
|
+
width: -moz-fit-content;
|
|
70
|
+
width: fit-content;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
div.cover .license {
|
|
74
|
+
text-align: center;
|
|
75
|
+
}
|
|
76
|
+
div.cover .license-img {
|
|
77
|
+
margin-top: 0.5rem;
|
|
78
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: mkdocs-material-joapuiib
|
|
3
|
+
Version: 0.4
|
|
4
|
+
Summary: Custom theme for MkDocs
|
|
5
|
+
Author-email: Joan Puigcerver <joapuiib@gmail.com>
|
|
6
|
+
Maintainer-email: Joan Puigcerver <joapuiib@gmail.com>
|
|
7
|
+
Requires-Python: >=3.5
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Requires-Dist: mkdocs >=1.1
|
|
10
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
material_joapuiib/__init__.py,sha256=3PiH-R_CaUKizoOf3K5t3tKZEdES6wDRDvDhJcBczGA,20
|
|
2
|
+
material_joapuiib/document.html,sha256=DHmeE-RXo_9MVQ3fBa_PjhX3-wserEWvBGOn_eW1i7U,534
|
|
3
|
+
material_joapuiib/main.html,sha256=FR43mZTjtJImfWz4QWwkid9fVMIB0nWlhjKjmb2lVCM,508
|
|
4
|
+
material_joapuiib/mkdocs_theme.yml,sha256=vKJdCzjBPbtGaHPXt2H1eNRX2yM_70uLQo2TErAKN6U,678
|
|
5
|
+
material_joapuiib/img/logo_mislata.png,sha256=YJ2ihOfge35jG-kRTrMbCdkEk36URlvpK0mV-xYkxk4,137122
|
|
6
|
+
material_joapuiib/img/license/by-nc-sa.png,sha256=9OFQdUu3e4Dmw6kCg_SWNf673OTY6pJ1RcImUKxtdNA,9549
|
|
7
|
+
material_joapuiib/javascript/katex.js,sha256=z4bb4RBhY9F1APV8fB9I_j1bx-E1i9uNjDJ7NaPzSl4,309
|
|
8
|
+
material_joapuiib/partials/comments.html,sha256=aAFK4b3FUcm2m7MOtsDLJuhjmLnBkB_Bv7QSTMEI-ak,1864
|
|
9
|
+
material_joapuiib/partials/cover.html,sha256=J5LlnCuSaaJzemvZn6ItHqnqixyzMeB9AiOA9dCQZk0,1950
|
|
10
|
+
material_joapuiib/partials/cover/cipfp-mislata/background.html,sha256=-JTJrRbW8azbKAM0k-8Hmlc67QyLoCpjnYezyJITJsA,3609
|
|
11
|
+
material_joapuiib/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
+
material_joapuiib/plugins/enviorment.py,sha256=HKbz8O4PhzMRsjgj4-cAm5usAZ7e9UFfPO9oQ_JKHNQ,395
|
|
13
|
+
material_joapuiib/stylesheets/admonitions.css,sha256=83K5K4jFFr6oDcBoHL4qoPl-de96L5i7Fdgkm97VuQk,4769
|
|
14
|
+
material_joapuiib/stylesheets/cover.css,sha256=i12dI1QYKkHy_dMDzNK7wwO4Jq0con6ZPoaDy3gGoKQ,1547
|
|
15
|
+
mkdocs_material_joapuiib-0.4.dist-info/METADATA,sha256=lyGIlUmOsOTWpsDIn0woSNNeWOm4vKYm2NA8tKm4kPE,297
|
|
16
|
+
mkdocs_material_joapuiib-0.4.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
17
|
+
mkdocs_material_joapuiib-0.4.dist-info/entry_points.txt,sha256=NjEjeZnPlXeLXClaMm3EEiD7gT1DlGbvi1iyNVqqZSE,157
|
|
18
|
+
mkdocs_material_joapuiib-0.4.dist-info/top_level.txt,sha256=3MaRS_vmFN6nLl42wO1jmgO8zy7g8iRDgM1qfDmv49E,18
|
|
19
|
+
mkdocs_material_joapuiib-0.4.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
material_joapuiib
|