Compare commits

..

3 commits

24 changed files with 37 additions and 8 deletions

View file

@ -27,9 +27,9 @@
@use 'parts/_zola-error.scss'; @use 'parts/_zola-error.scss';
@font-face { @font-face {
src: local('Hack'), src: local('JetBrainsMono'),
url('fonts/HackNerdFontMono-Regular.ttf') format("truetype"); url('fonts/JetBrainsMonoNLNerdFont-Regular.ttf') format("truetype");
font-family: 'Hack'; font-family: 'JetBrainsMono';
font-display: swap; font-display: swap;
} }
@ -80,9 +80,9 @@
--small-layout-width: 200px; --small-layout-width: 200px;
--paragraph-spacing: max(2.3vmin, 24px); --paragraph-spacing: max(2.3vmin, 24px);
--sans-serif-font: 'Hack', Helvetica, Arial, sans-serif; --sans-serif-font: 'JetBrainsMono', Helvetica, Arial, sans-serif;
--serif-font: 'Hack', 'Georgia', serif; --serif-font: 'JetBrainsMono', 'Georgia', serif;
--code-font: 'Hack'; --code-font: 'JetBrainsMono';
scrollbar-color: var(--primary-color) transparent; scrollbar-color: var(--primary-color) transparent;
accent-color: var(--primary-color); accent-color: var(--primary-color);

View file

@ -1,6 +1,6 @@
header { header {
width: 100%; width: 100%;
font-family: 'Hack', var(--sans-serif-font); font-family: 'JetBrainsMono', var(--sans-serif-font);
} }
.page-header { .page-header {

View file

@ -0,0 +1,25 @@
// force dark theme
@mixin theme-variables($theme) {
@if $theme =='light' {
--primary-color: #FC9300;
--background-color: #131a21;
}
@else if $theme == 'dark' {
--primary-color: #FC9300;
--background-color: #131a21;
}
}
:root {
@include theme-variables('light');
}
[data-theme='dark'] {
@include theme-variables('dark');
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme='light']) {
@include theme-variables('dark');
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -100,9 +100,13 @@
{# Shows "Powered by Zola & tabi" notice #} {# Shows "Powered by Zola & tabi" notice #}
{{ macros_translate::translate(key="powered_by", default="Powered by", language_strings=language_strings) }} {{ macros_translate::translate(key="powered_by", default="Powered by", language_strings=language_strings) }}
<a rel="{{ rel_attributes }}" {{ blank_target }} href="https://nixos.org/">NixOS</a>,
<a rel="{{ rel_attributes }}" {{ blank_target }} href="https://vpsfree.org/">vpsFree</a>,
<a rel="{{ rel_attributes }}" {{ blank_target }} href="https://www.getzola.org">Zola</a> <a rel="{{ rel_attributes }}" {{ blank_target }} href="https://www.getzola.org">Zola</a>
{{ macros_translate::translate(key="and", default="&", language_strings=language_strings) }} {{ macros_translate::translate(key="and", default="&", language_strings=language_strings) }}
<a rel="{{ rel_attributes }}" {{ blank_target }} href="https://github.com/welpo/tabi">tabi</a> <a rel="{{ rel_attributes }}" {{ blank_target }} href="https://github.com/welpo/tabi">tabi</a>.
Backed up by
<a rel="{{ rel_attributes }}" {{ blank_target }} href="https://www.rsync.net/">rsync</a>.
{# Shows link to remote repository #} {# Shows link to remote repository #}
{%- if config.extra.remote_repository_url and config.extra.show_remote_source | default(value=true) -%} {%- if config.extra.remote_repository_url and config.extra.show_remote_source | default(value=true) -%}