diff --git a/README.md b/README.md index e787f62..9bfbd35 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # k0r.386 -![k0r.386 screenshot](https://github.com/lopes/zola.386/blob/master/screenshot.png?raw=true) +![k0r.386 screenshot](https://git.k0r.in/n/k0r.386/raw/branch/main/screenshot.png) ## [k0r.in](https://k0r.in/) diff --git a/sass/site.scss b/sass/site.scss index 0aca236..97bc76a 100644 --- a/sass/site.scss +++ b/sass/site.scss @@ -1,13 +1,13 @@ // fixing font path @font-face { - font-family: 'DOS'; + font-family: 'Fixed'; font-style: normal; font-weight: normal; src: local('☺'), url('./fonts/fixedsys.woff') format('woff'); } :root { - font: 20px / 1.1 DOS; + font: 20px / 1.1 'Fixed'; background-color: #190084; color: #BBB; } @@ -49,12 +49,6 @@ body>nav li { display: inline-block; } -body>nav li:hover, -body>nav li.active { - background-color: #000; - color: #BBB; -} - .container { margin: auto; max-width: 980px; @@ -126,6 +120,14 @@ a { box-shadow: 0 0 0 5px, 11px 13px 0 4px black; } +.bg-error { + background-color: #B00; +} + +.text-white { + color: white; +} + nav { background: #BBB; margin: 0 0 2rem; @@ -152,12 +154,17 @@ nav>menu>li>a { padding: 0 .5rem; } -nav>menu>li>a { +nav li:hover, +nav li.active { + background-color: #000; + color: #BBB; +} + +nav li>a { color: black; } -nav>menu>li>a:hover, -nav>menu>li>a.active { +nav li:hover>a, +nav li.active>a { color: #BBB; - background: black; } \ No newline at end of file diff --git a/screenshot.png b/screenshot.png index ba6ba69..8bcc1ff 100644 Binary files a/screenshot.png and b/screenshot.png differ diff --git a/templates/404.html b/templates/404.html index 8056850..35681a5 100644 --- a/templates/404.html +++ b/templates/404.html @@ -2,18 +2,10 @@ {% block title %}{{ config.title }} - 404{% endblock title %} -{% block navbar %} -{% for item in config.extra.menu_items %} -
  • - {{ item.name }} -
  • -{% endfor %} -{% endblock %} - {% block header %} - +
    +

    404 - Not found

    +
    {% endblock header %} {% block main %} @@ -23,7 +15,8 @@

    Home - Categories - Tags

    -{% endblock main %} \ No newline at end of file +{% endblock main %} + +{% block sidebar %} +{% endblock sidebar %} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index e9f34a4..cc526b0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -43,13 +43,13 @@
    + {% block breadcrumb %}{% endblock breadcrumb %} + {% block header %}
    - {% block breadcrumb %}{% endblock breadcrumb %} - {% block header %}

    {{ config.title }} {{ config.description }}

    - {% endblock header %} - {% block meta %}{% endblock meta %}
    + {% endblock header %} + {% block meta %}{% endblock meta %}
    @@ -71,11 +71,13 @@
    {{ page.title }}
    {% for item in page.items %} - {% if page.internal %} -
  • {{ item.name }}
  • - {% else %} -
  • {{ item.name }}
  • - {% endif %} +
  • + {% if page.internal %} + {{ item.name }} + {% else %} + {{ item.name }} + {% endif %} +
  • {% endfor %}
    @@ -92,24 +94,8 @@

    {{ config.extra.year }} © {{ config.extra.author }} - {% if config.extra.twitter_user or config.extra.linkedin_user or config.extra.github_user or - config.extra.gitlab_user %} | - {% endif %} - {% if config.extra.twitter_user %} - Twitter - {% endif %} - {% if config.extra.linkedin_user %} - Linkedin - {% endif %} - {% if config.extra.github_user %} - GitHub - {% endif %} - {% if config.extra.gitlab_user %} - GitLab - {% endif %} - | - Built on Zola + Built on Zola