On the use of icons
A very quick guide.
The icons used in this theme are partly custom-made, and partly come from the Iconoir library. More can be downloaded from the Iconoir website as svg files and saved in _includes/svg for use in your website.
Here’s an overview of icons that already ship with the theme.
| Category | Icons |
|---|---|
| Navigation | |
| Actions | |
| Communication | |
| Maps | |
| Social | |
| Git | |
| Security | |
| Users | |
| CV | |
| Academic | |
| Chess |
They can be used in two ways through Liquid tags. First, as simple glyphs for decorative purposes, as in the table above or in the contact section of the CV:
{% include svg/github.svg %}Second, as links:
{% include iconlink.html icon="svg/github.svg" href="https://github.com/" %}In this case, the icon shows up with link formatting and its stroke width slightly increases on hovering. Here is an example:
Simple CSS allows you to modify many aspects of the icon’s appearance, including stroke width, color (with the stroke property), and size (with transform). Here is a usage example:
svg {
/* 250% of its original size */
transform: scale(2.5);
}
svg path {
/* red color */
stroke: red;
/* thinner line */
stroke-width: 1.25;
}