aboutsummaryrefslogtreecommitdiffstats
path: root/Peli-Kiera
diff options
context:
space:
mode:
authoraleylara <>2020-09-22 17:37:08 +1000
committeraleylara <>2020-09-22 17:37:08 +1000
commit9f7b7f3870f5f18746a7fdc10ee3ce7e026ab19a (patch)
treede64095745a8fafe3d180a1b3427505bfe0035d2 /Peli-Kiera
parent07f0c30921c1752e73a3d40ba4aec76c43a8ff42 (diff)
downloadpelican-themes-9f7b7f3870f5f18746a7fdc10ee3ce7e026ab19a.tar.gz
Minor bug fixes and UI changes
Diffstat (limited to 'Peli-Kiera')
-rw-r--r--Peli-Kiera/README.md6
-rw-r--r--Peli-Kiera/static/css/main.css4
-rw-r--r--Peli-Kiera/static/css/pygment.css48
-rw-r--r--Peli-Kiera/templates/article.html4
-rw-r--r--Peli-Kiera/templates/base.html6
5 files changed, 30 insertions, 38 deletions
diff --git a/Peli-Kiera/README.md b/Peli-Kiera/README.md
index d850ad4..903ff64 100644
--- a/Peli-Kiera/README.md
+++ b/Peli-Kiera/README.md
@@ -1,8 +1,6 @@
# Peli-Kiera
-> Tested for:
-> Pelican version 4.2.0
-> Python version 3.8.1
+> Tested for Pelican 4.5 and Python 3.8
Peli-Kiera is a theme for the Pelican static site generator.
Thanks to the [Hugo-Kiera](https://github.com/avianto/hugo-kiera) project for the inspiration.
@@ -153,8 +151,6 @@ Minimum image width of 600px is recommended. Images scale accordingly on smaller
![Screenshot2](screenshot-2.png "Screenshot Mobile")
![Screenshot3](screenshot-3.png "Screenshot Mobile")
-You can leave feedback or say thanks [here &#128077;](https://saythanks.io/to/aleylara)
-
### License
[MIT License](https://github.com/avianto/hugo-kiera/blob/master/LICENSE.md)
diff --git a/Peli-Kiera/static/css/main.css b/Peli-Kiera/static/css/main.css
index 3b3b12f..c79050f 100644
--- a/Peli-Kiera/static/css/main.css
+++ b/Peli-Kiera/static/css/main.css
@@ -99,7 +99,7 @@ time {
#container main {
flex: 1 0 0;
line-height: 1.5;
- font-size: 1.2rem;
+ font-size: 1rem;
}
#container main section#home ul {
@@ -189,7 +189,7 @@ time {
#container main article pre code,
#container main section pre code {
- font-size: 0.8em;
+ font-size: 1em;
}
#container main article p code,
diff --git a/Peli-Kiera/static/css/pygment.css b/Peli-Kiera/static/css/pygment.css
index 0fa0bea..254c455 100644
--- a/Peli-Kiera/static/css/pygment.css
+++ b/Peli-Kiera/static/css/pygment.css
@@ -3,12 +3,12 @@
.highlight .c { color: #8f5902; font-style: italic } /* Comment */
.highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */
.highlight .g { color: #000000 } /* Generic */
-.highlight .k { color: #204a87; font-weight: bold } /* Keyword */
+.highlight .k { color: #204a87; font-weight: normal } /* Keyword */
.highlight .l { color: #000000 } /* Literal */
.highlight .n { color: #000000 } /* Name */
-.highlight .o { color: #ce5c00; font-weight: bold } /* Operator */
+.highlight .o { color: #ce5c00; font-weight: normal } /* Operator */
.highlight .x { color: #000000 } /* Other */
-.highlight .p { color: #000000; font-weight: bold } /* Punctuation */
+.highlight .p { color: #000000; font-weight: normal } /* Punctuation */
.highlight .ch { color: #8f5902; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #8f5902; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #8f5902; font-style: italic } /* Comment.Preproc */
@@ -18,43 +18,43 @@
.highlight .gd { color: #a40000 } /* Generic.Deleted */
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #ef2929 } /* Generic.Error */
-.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.highlight .gh { color: #000080; font-weight: normal } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #000000; font-style: italic } /* Generic.Output */
.highlight .gp { color: #8f5902 } /* Generic.Prompt */
-.highlight .gs { color: #000000; font-weight: bold } /* Generic.Strong */
-.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.highlight .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */
-.highlight .kc { color: #204a87; font-weight: bold } /* Keyword.Constant */
-.highlight .kd { color: #204a87; font-weight: bold } /* Keyword.Declaration */
-.highlight .kn { color: #204a87; font-weight: bold } /* Keyword.Namespace */
-.highlight .kp { color: #204a87; font-weight: bold } /* Keyword.Pseudo */
-.highlight .kr { color: #204a87; font-weight: bold } /* Keyword.Reserved */
-.highlight .kt { color: #204a87; font-weight: bold } /* Keyword.Type */
+.highlight .gs { color: #000000; font-weight: normal } /* Generic.Strong */
+.highlight .gu { color: #800080; font-weight: normal } /* Generic.Subheading */
+.highlight .gt { color: #a40000; font-weight: normal } /* Generic.Traceback */
+.highlight .kc { color: #204a87; font-weight: normal } /* Keyword.Constant */
+.highlight .kd { color: #204a87; font-weight: normal } /* Keyword.Declaration */
+.highlight .kn { color: #204a87; font-weight: normal } /* Keyword.Namespace */
+.highlight .kp { color: #204a87; font-weight: normal } /* Keyword.Pseudo */
+.highlight .kr { color: #204a87; font-weight: normal } /* Keyword.Reserved */
+.highlight .kt { color: #204a87; font-weight: normal } /* Keyword.Type */
.highlight .ld { color: #000000 } /* Literal.Date */
-.highlight .m { color: #0000cf; font-weight: bold } /* Literal.Number */
+.highlight .m { color: #0000cf; font-weight: normal } /* Literal.Number */
.highlight .s { color: #4e9a06 } /* Literal.String */
.highlight .na { color: #c4a000 } /* Name.Attribute */
.highlight .nb { color: #204a87 } /* Name.Builtin */
.highlight .nc { color: #000000 } /* Name.Class */
.highlight .no { color: #000000 } /* Name.Constant */
-.highlight .nd { color: #5c35cc; font-weight: bold } /* Name.Decorator */
+.highlight .nd { color: #5c35cc; font-weight: normal } /* Name.Decorator */
.highlight .ni { color: #ce5c00 } /* Name.Entity */
-.highlight .ne { color: #cc0000; font-weight: bold } /* Name.Exception */
+.highlight .ne { color: #cc0000; font-weight: normal } /* Name.Exception */
.highlight .nf { color: #000000 } /* Name.Function */
.highlight .nl { color: #f57900 } /* Name.Label */
.highlight .nn { color: #000000 } /* Name.Namespace */
.highlight .nx { color: #000000 } /* Name.Other */
.highlight .py { color: #000000 } /* Name.Property */
-.highlight .nt { color: #204a87; font-weight: bold } /* Name.Tag */
+.highlight .nt { color: #204a87; font-weight: normal } /* Name.Tag */
.highlight .nv { color: #000000 } /* Name.Variable */
-.highlight .ow { color: #204a87; font-weight: bold } /* Operator.Word */
+.highlight .ow { color: #204a87; font-weight: normal } /* Operator.Word */
.highlight .w { color: #f8f8f8; text-decoration: underline } /* Text.Whitespace */
-.highlight .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */
-.highlight .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */
-.highlight .mh { color: #0000cf; font-weight: bold } /* Literal.Number.Hex */
-.highlight .mi { color: #0000cf; font-weight: bold } /* Literal.Number.Integer */
-.highlight .mo { color: #0000cf; font-weight: bold } /* Literal.Number.Oct */
+.highlight .mb { color: #0000cf; font-weight: normal } /* Literal.Number.Bin */
+.highlight .mf { color: #0000cf; font-weight: normal } /* Literal.Number.Float */
+.highlight .mh { color: #0000cf; font-weight: normal } /* Literal.Number.Hex */
+.highlight .mi { color: #0000cf; font-weight: normal } /* Literal.Number.Integer */
+.highlight .mo { color: #0000cf; font-weight: normal } /* Literal.Number.Oct */
.highlight .sa { color: #4e9a06 } /* Literal.String.Affix */
.highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */
.highlight .sc { color: #4e9a06 } /* Literal.String.Char */
@@ -74,4 +74,4 @@
.highlight .vg { color: #000000 } /* Name.Variable.Global */
.highlight .vi { color: #000000 } /* Name.Variable.Instance */
.highlight .vm { color: #000000 } /* Name.Variable.Magic */
-.highlight .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */
+.highlight .il { color: #0000cf; font-weight: normal } /* Literal.Number.Integer.Long */
diff --git a/Peli-Kiera/templates/article.html b/Peli-Kiera/templates/article.html
index b5c4422..c9523a2 100644
--- a/Peli-Kiera/templates/article.html
+++ b/Peli-Kiera/templates/article.html
@@ -54,8 +54,6 @@
{% if article.next_article %}
<div id="left-arrow"><i class="fa fa-chevron-circle-left"></i></div>
<a href="{{ SITEURL }}/{{ article.next_article.url }}"> {{ article.next_article.title }}</a>
- {% else %}
- <a href="{{ SITEURL }}/{{ article.next_article.url }}">{{ " " }}</a>
{% endif %}
</div>
</div>
@@ -64,8 +62,6 @@
{% if article.prev_article %}
<a href="{{ SITEURL }}/{{ article.prev_article.url }}">{{ article.prev_article.title }} </a>
<div id="right-arrow"><i class="fa fa-chevron-circle-right"></i></div>
- {% else %}
- <a href="{{ SITEURL }}/{{ article.prev_article.url }}">{{ " " }}</a>
{% endif %}
</div>
</div>
diff --git a/Peli-Kiera/templates/base.html b/Peli-Kiera/templates/base.html
index 737bd5c..ee680ab 100644
--- a/Peli-Kiera/templates/base.html
+++ b/Peli-Kiera/templates/base.html
@@ -72,9 +72,9 @@
{% endblock %}
<footer>
<h6>
- Copyright &copy 2018
- {% if AUTHOR %}- {{ AUTHOR }}{% endif %} | Rendered by <a href="http://getpelican.com/">Pelican</a> |
- Powered by <a href="http://python.org">Python</a>
+ Rendered by <a href="http://getpelican.com/">Pelican</a> &nbsp;&bull;&nbsp; Theme by <a
+ href="https://github.com/aleylara/Peli-Kiera">Peli-Kiera</a> &nbsp;&bull;&nbsp; Copyright
+ &copy {% if AUTHOR %} &nbsp;&#8209;&nbsp; {{ AUTHOR }}{% endif %}
</h6>
</footer>
</div>