Skip to content

Commit

Permalink
Minor bug fixes and UI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aleylara committed Sep 22, 2020
1 parent 07f0c30 commit 9f7b7f3
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 38 deletions.
6 changes: 1 addition & 5 deletions Peli-Kiera/README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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 👍](https://saythanks.io/to/aleylara)

### License
[MIT License](https://github.com/avianto/hugo-kiera/blob/master/LICENSE.md)

4 changes: 2 additions & 2 deletions Peli-Kiera/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down
48 changes: 24 additions & 24 deletions Peli-Kiera/static/css/pygment.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 */
Expand All @@ -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 */
4 changes: 0 additions & 4 deletions Peli-Kiera/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ <h2>{{ article.title }}</h2>
{% 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>
Expand All @@ -64,8 +62,6 @@ <h2>{{ article.title }}</h2>
{% 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>
Expand Down
6 changes: 3 additions & 3 deletions Peli-Kiera/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ <h1><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>
{% 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>
Expand Down

0 comments on commit 9f7b7f3

Please sign in to comment.