diff --git a/assets/fonts/Lilex-Bold.ttf b/assets/fonts/Lilex-Bold.ttf new file mode 100644 index 0000000..d428f8e Binary files /dev/null and b/assets/fonts/Lilex-Bold.ttf differ diff --git a/assets/fonts/Lilex-ExtraLight.ttf b/assets/fonts/Lilex-ExtraLight.ttf new file mode 100644 index 0000000..791f036 Binary files /dev/null and b/assets/fonts/Lilex-ExtraLight.ttf differ diff --git a/assets/fonts/Lilex-Medium.ttf b/assets/fonts/Lilex-Medium.ttf new file mode 100644 index 0000000..9b6e276 Binary files /dev/null and b/assets/fonts/Lilex-Medium.ttf differ diff --git a/assets/fonts/Lilex-Regular.ttf b/assets/fonts/Lilex-Regular.ttf new file mode 100644 index 0000000..847047e Binary files /dev/null and b/assets/fonts/Lilex-Regular.ttf differ diff --git a/assets/fonts/Lilex-Thin.ttf b/assets/fonts/Lilex-Thin.ttf new file mode 100644 index 0000000..54e1a6f Binary files /dev/null and b/assets/fonts/Lilex-Thin.ttf differ diff --git a/assets/scss/_variables.scss b/assets/scss/_variables.scss index 18631bb..f189955 100644 --- a/assets/scss/_variables.scss +++ b/assets/scss/_variables.scss @@ -1,4 +1,9 @@ -/////////////////// +:root { + --font-family: "Lilex", monospace; + --font-size: 120%; +} + +/* /////////////////// // // // WIDTH // // // @@ -73,4 +78,4 @@ $aurora-orange: $nord12; $aurora-yellow: $nord13; $aurora-green: $nord14; $aurora-purple: $nord15; - +*/ diff --git a/assets/scss/font-face.scss b/assets/scss/font-face.scss new file mode 100644 index 0000000..ce43dde --- /dev/null +++ b/assets/scss/font-face.scss @@ -0,0 +1,8 @@ +@font-face { + font-family: Lilex; + src: + url("../fonts/Lilex-Regular.ttf"), + url("../fonts/Lilex-Bold.ttf"), + url("../fonts/Lilex-Thin.ttf"), + url("../fonts/Lilex-ExtraLight.ttf"); +} diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 1a5333c..a62fc43 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -4,8 +4,15 @@ // // //////////////////// -@import 'variables'; -@import 'grid'; +@use "@picocss/pico/scss/pico"; +@use "font-face"; + +/* :root { + --font-family: "Lilex", monospace; +} */ + +@use "variables"; +/* @import 'grid'; @import 'mixins'; @import 'colors'; @import 'fonts'; @@ -16,7 +23,7 @@ @import 'main_body'; @import 'medias'; @import 'post'; -@import 'texts'; +@import 'texts'; */ //////////////////// @@ -25,7 +32,7 @@ // // //////////////////// -code, +/* code, pre { border-radius: 5px; padding: .2rem; @@ -43,4 +50,4 @@ pre { .term { margin-right: 1rem; -} +} */ diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 775ad82..b9440df 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -6,7 +6,7 @@ {{.Content}} -
+
{{ range .Pages.ByPublishDate.Reverse }} @@ -15,6 +15,6 @@ {{ partial "lists-footer.html" . }}
{{ end }} - + {{ end }} diff --git a/layouts/_default/section.html b/layouts/_default/section.html index e1bc813..655afa5 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -4,11 +4,11 @@ -
+
{{.Content }}
-
+