h
This commit is contained in:
parent
c82512f9ba
commit
12093fd2e3
BIN
theme/favicon.png
Normal file
BIN
theme/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1,013 B |
BIN
theme/images/favicon.ico
Normal file
BIN
theme/images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
BIN
theme/images/favicon.png
Normal file
BIN
theme/images/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1,013 B |
59
theme/images/favicon.svg
Normal file
59
theme/images/favicon.svg
Normal file
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="512"
|
||||
height="512"
|
||||
viewBox="0 0 512 512"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
sodipodi:docname="favicon.svg"
|
||||
inkscape:export-filename="/home/zeke/Files/Dev/TS/blog/static/imgs/favicon/favicon.png"
|
||||
inkscape:export-xdpi="12"
|
||||
inkscape:export-ydpi="12"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview7"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#ffffff"
|
||||
borderopacity="1"
|
||||
inkscape:pageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="1"
|
||||
inkscape:document-units="px"
|
||||
showgrid="false"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:bbox-paths="true"
|
||||
inkscape:object-paths="true"
|
||||
inkscape:snap-intersection-paths="true"
|
||||
inkscape:snap-bbox-midpoints="true"
|
||||
inkscape:snap-bbox-edge-midpoints="true"
|
||||
inkscape:snap-smooth-nodes="true"
|
||||
inkscape:snap-midpoints="true"
|
||||
inkscape:snap-object-midpoints="true"
|
||||
inkscape:zoom="0.5"
|
||||
inkscape:cx="-312.01927"
|
||||
inkscape:cy="359.9833"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="827"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs2" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#ff6600"
|
||||
d="M 1.2816451,-1.9939621 513.28086,-1.9923342 -6.5451305e-5,511.99922 257.28236,510.00568 513.24727,-1.9774923 0.04545549,175.89896 Z"
|
||||
id="path2696"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
57
theme/main.html
Normal file
57
theme/main.html
Normal file
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
|
||||
<link rel="stylesheet" href="/~tasiaiso/style.css">
|
||||
<!-- <link rel="icon" type="image/svg+xml" href="/images/favicon.svg"> -->
|
||||
<link rel="icon" type="image/png" href="/~tasiaiso/images/favicon.png">
|
||||
<!-- <link rel="icon" type="image/x-icon" href="/images/favicon.ico"> -->
|
||||
</head>
|
||||
<body>
|
||||
{% if not page.is_homepage %}
|
||||
<a href="/">root</a>
|
||||
<br><br>
|
||||
{% endif %}
|
||||
|
||||
<!-- {% if page.is_homepage %} -->
|
||||
pages
|
||||
{% if nav|length>1 %}
|
||||
<ul>
|
||||
{% for nav_item in nav %}
|
||||
{% if nav_item.children %}
|
||||
<li>{{ nav_item.title }}
|
||||
<ul>
|
||||
{% for nav_item in nav_item.children %}
|
||||
<li class="{% if nav_item.active %}current{% endif %}">
|
||||
<a href="{{ nav_item.url|url }}">{{ nav_item.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="{% if nav_item.active %}current{% endif %}">
|
||||
<a href="{{ nav_item.url|url }}">{{ nav_item.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<!-- {% endif %} -->
|
||||
|
||||
|
||||
{% if not page.is_homepage %}
|
||||
table of contents
|
||||
<ul>
|
||||
{% for toc_item in page.toc %}
|
||||
<li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
||||
{% for toc_item in toc_item.children %}
|
||||
<li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{{ page.content }}
|
||||
</body>
|
||||
</html>
|
4
theme/mkdocs_theme.yml
Normal file
4
theme/mkdocs_theme.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
extra_css:
|
||||
style.css
|
||||
|
||||
logo: favicon.png
|
28
theme/style.css
Normal file
28
theme/style.css
Normal file
|
@ -0,0 +1,28 @@
|
|||
body {
|
||||
/* font-family: 'Iosevka Web', sans-serif; */
|
||||
font-family: sans-serif;
|
||||
|
||||
color: #e1e1e1;
|
||||
background: #151515;
|
||||
}
|
||||
|
||||
body a {
|
||||
color: #3facee;
|
||||
}
|
||||
|
||||
body a:visited {
|
||||
color: #a135d3;
|
||||
}
|
||||
|
||||
code {
|
||||
color: #eacc2b;
|
||||
}
|
||||
|
||||
/* @font-face {
|
||||
font-family: 'Iosevka Web';
|
||||
font-display: swap;
|
||||
font-weight: 500;
|
||||
font-stretch: normal;
|
||||
font-style: normal;
|
||||
src: url('fonts/iosevka-medium.woff2') format('woff2'), url('fonts/iosevka-medium.ttf') format('truetype');
|
||||
} */
|
Loading…
Reference in a new issue