diff --git a/CHANGELOG.md b/CHANGELOG.md index 960e634..6e1d627 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,10 +16,15 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). ### Commits +- picocss: import pico [`759724f`](https://git.milhit.ch/igor/portfoligor/commit/759724f993e78a410ea6fe449785169b1a27a216) +- rss: add an updated date [`a5ee40a`](https://git.milhit.ch/igor/portfoligor/commit/a5ee40adb7d5530e6b2a912348910cbc743c163b) +- layouts: update author metadata [`75086bc`](https://git.milhit.ch/igor/portfoligor/commit/75086bc831a5c1273f8fcbb400a9d07d07e6e592) +- layouts: move `.Site` (deprecated) to `hugo` [`91837de`](https://git.milhit.ch/igor/portfoligor/commit/91837de4f73f55bfde1947382daeee32bf0195fd) - documentation: update the README to new git repo [`282b6bc`](https://git.milhit.ch/igor/portfoligor/commit/282b6bcd85b9843eab18190ac5cb808624358e8c) - gitInfo: configuration of the git repository [`1aaa6b0`](https://git.milhit.ch/igor/portfoligor/commit/1aaa6b02b5cab985ffc3e66aaceeeb91fd8bf134) - scss: improve the `verse` text layout [`989343e`](https://git.milhit.ch/igor/portfoligor/commit/989343ea597de5d892530e70b038dff1e6a69511) - post image: get the image in the atom xml file [`0c21f00`](https://git.milhit.ch/igor/portfoligor/commit/0c21f00b671865f392a27a156b7d036fb7e3949e) +- dependencies: add picocss as a dependency [`c2ac1f5`](https://git.milhit.ch/igor/portfoligor/commit/c2ac1f5ed1a583477245f72e6acdd01c627e3918) - text: set font style to em nested in blockquote [`e78fd96`](https://git.milhit.ch/igor/portfoligor/commit/e78fd961ae14a4b69e181f8c199ea002d2691404) - text: style the new citation block [`40da59a`](https://git.milhit.ch/igor/portfoligor/commit/40da59a1eb073f231087ee133397e649ee2bf552) - homepage: move the CV file to the personal data [`7a2aa2d`](https://git.milhit.ch/igor/portfoligor/commit/7a2aa2d1a9f5e1951cf7977e662888af4db33da9) 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..f794beb 100644 --- a/assets/scss/_variables.scss +++ b/assets/scss/_variables.scss @@ -1,4 +1,12 @@ -/////////////////// +// Overide pico variables + +:root { + // why important is needed? + --pico-font-family: "Lilex", monospace !important; + --font-size: 120% !important; +} + +/* /////////////////// // // // WIDTH // // // @@ -73,4 +81,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..569a3fb 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -4,8 +4,42 @@ // // //////////////////// -@import 'variables'; -@import 'grid'; +@use "@picocss/pico/scss/pico" with ( + $theme-color: "purple", + $enable-semantic-container: true, + $enable-responsive-spacings: true, + $modules: ( + // deactive unused modules + "forms/input-color": false, + "forms/input-date": false, + "forms/input-file": false, + "forms/input-range": false, + "forms/input-search": false, + "components/card": false, + "components/dropdown": false, + "components/loading": false, + "components/modal": false, + "components/progress": false, + "components/tooltip": false, + ), + // Limit the viewport width for large screen + $breakpoints: ( + lg: ( + viewport: 920px, + ), + xl: ( + viewport: 920px, + ), + xxl: ( + viewport: 920px, + ), + ) +); + +@use "font-face"; +@use "variables"; + +/* @import 'grid'; @import 'mixins'; @import 'colors'; @import 'fonts'; @@ -16,7 +50,7 @@ @import 'main_body'; @import 'medias'; @import 'post'; -@import 'texts'; +@import 'texts'; */ //////////////////// @@ -25,7 +59,7 @@ // // //////////////////// -code, +/* code, pre { border-radius: 5px; padding: .2rem; @@ -43,4 +77,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 }}
-
+