Commit Graph

11 Commits (d225bd6ca7a482dd5a4bcda85a244a2aa5a3bc18)

Author SHA1 Message Date
iGor milhit d225bd6ca7
picocss: implement the pico css framework
- Updates the picocss dependency.
- Imports pico in the sass hugo pipe.
- Uses dart-sass as transpiler.
- Implements a new logo in SVG, with color adapted to the prefered
  colorsheme.
- Adapts my styles to the pico css theme.
- Updates the changelog.
- Closes #29, #16, #15.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-10-19 14:12:36 +02:00
iGor milhit 9fc7238ea7
i18n: extract, translate strings to be translated
- Extracts stings to be translated.
- Translates these strings in English and French.
- Improves some comments in the templates.
- Updates the auto-changelog configuration according to the new git
  repository URL.
- Updates the CHANGELOG.
- Documents the changelog generation in the README.
- Fixes #18.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-11-27 12:15:46 +01:00
iGor milhit d3dab3c3b1
theme: simplify the main layout
* Simplifies the header and menu layout for all screen width.
* Uses only one background color (Darkest Polar).
* Change the main text color to Snow Light Grey.
* Change the header and footer text color to Snow Lightest Grey.
* Add a color for active and focused links (Frost Lighter Green).
* Simplifies the figure layout and colors.
* Adds a font-family variable and set it to the body. It uses the system
  default font.
* Tries to set all font properties in the _fonts.scss file.
* Removes the links decoration on the header and footer.
* Harmonizes the footer accordingly to the header.
* Uses the hugo regular method to generate the footer menu.
* Stops centering the content on large screens.
* Adds the content max width and content left margin to the variables.
* Sets the font weight to bold for hovered links.
* Suppress the main HTML tag of the index template, and set the
  correct classes on the main HTML tag of the baseof template.
* Uses a second level header for the title of the page, as the first
  level is used for the website title.
* Improves the layout of definition lists on the home page, with a
  better (and simpler) rendering on small screens.
* Prevents to use the post information partial on static page. This is
  done through a test on the layout property `static` of the front
  header.
* Reorders the sections of the home page and adds anchors to the section
  headers.
* Closes #8, #11.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-11-02 19:18:31 +01:00
iGor milhit 817756034b
layout: improve post info in single or list pages
* Adds a lists-footer partial.
* Uses breakpoints to adapt how the post informations is aligned and
  separated when the screen gets bigger.
* Adds some space between posts in a list or section, to improve
  readability.
* Removes useless article level and renames a section into article in
  the list template.
* Uses breakpoints to adapt the navigation font-size when the screen
  gets bigger.
* Improves the font-size variables, in order to get a font-size-small
  smaller.
* Restores the section template that wasn't right, I don't know what
  I've done when rebasing and resolving conflicts…

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2021-01-30 22:56:01 +01:00
iGor milhit 920fe4d156
lists: sort list by reverse publication date
Ensures that lists and sections are sorting the blog post by publication
date, and reversely ordered. Term lists are sorted alphabetically, which
is fine.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-05-24 12:54:19 +02:00
iGor milhit c44eb759f0
section: improve sections, lists and navigation
* Splits styles into partials.
* Adds a category entry to the navigation menu.
* Adds a flex to the header to get the menu on the right.
* Adds a flex to the sections and lists to diplay information evenly.

Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2020-01-17 14:11:20 +01:00
iGor milhit cabdffa8ac
page: deactivate pagination
* NEW Sets `paginate` to zero.
* NEW Removes `.Paginator` from the section layout.

Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2019-12-10 07:17:15 +01:00
iGor milhit b5dc64935a
layout: improve taxonomies pages
* NEW Adds a templates for categories and tags lists.
* NEW Styles (not so well…) the categories and tags lists.
* BETTER Improves includes in the _default templates.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-09-01 08:32:49 +02:00
iGor milhit 55dadc702c
layout: improve date displayed
Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2019-08-26 07:20:19 +02:00
iGor milhit 909c3caa97
style: add minimal stylesheet rules
* NEW Adds CSS rules.
* BETTER Improves very slighlty some layout templates.
* FIX Fixes a missing code label.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-01 08:02:23 +02:00
iGor milhit 498a724195
layout: add default and partials
* NEW Adds a section template.
* NEW Adds a single page template.
* NEW Fills in the header and footer templates.
* BETTER Improves the global html head template.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-07-30 08:44:46 +02:00