Commit Graph

8 Commits (b980630b6359767264600cd4b58c28bc2cdcc718)

Author SHA1 Message Date
iGor milhit 2f094a431d
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.
- Closes #15.
- Closes #16.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-10-19 14:59:06 +02:00
iGor milhit 1aaa6b02b5
gitInfo: configuration of the git repository
- Enables to set the git repository URL and type in the site
  configuration.
- Updates the footer to use that information.
- Updates the contact partial to use the configuration information of a
  custom git website.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-11-06 20:50:30 +01:00
iGor milhit 897b8e6ecf
style: add a stylesheet for printing
* Install the gutenberg framework with yarn.
* Copy the stylesheet to assets/css.
* Configure the resource in the head.html.
* Adapt the templates to hide elements on print.
* Closes #28.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-11-04 18:24:16 +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 0190c233e9
footer: add link to the last commit
* Adds a link, if .gitInfo is set, to the last commit that modified the
  current page. The git repository URL is still hardcoded.
* Upgrades auto-changelog.
* Updates the CHANGELOG.md file.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-01-31 17:11:12 +01: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
Igor Milhit 3b7347cdee
theme: initialize new hugo theme
* NEW Adds files for an empty theme.
* NEW Updates the LICENCE.
* NEW Adds a README.md and an empty css file.

Signed-off-by: iGor milhit <igor@milhit.ch>
2019-03-04 06:58:25 +01:00