pages/_sass
George a9da28e256
Renamed repo-img- to only- to allow setting images for only one theme (#2886)
Closes #930.

We already had classes for this kind of feature, but it was used
specifically for repository information. Just renamed the classes so it
is clear how they can be used.

To use them with markdown, just do it like this:

```markdown
![Only light](assets/img/prof_pic_color.png){: .only-light}
![Only dark](assets/img/prof_pic.jpg){: .only-dark}
```

and with html:

```html
<img
  class="only-light"
  src="assets/img/prof_pic_color.png"
>
<img
  class="only-dark"
  src="assets/img/prof_pic.jpg"
>
```

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-12 12:45:04 -03:00
..
font-awesome Update Font Awesome and Tabler Icons (#2884) 2024-12-11 15:19:38 -03:00
tabler-icons Update Font Awesome and Tabler Icons (#2884) 2024-12-11 15:19:38 -03:00
_base.scss Moved socials config to _data/socials.yml (#2885) 2024-12-12 12:44:43 -03:00
_cv.scss format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
_distill.scss format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
_layout.scss format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
_tabs.scss Added support for jekyll-tabs (#2380) 2024-05-02 14:34:48 -03:00
_themes.scss Renamed repo-img- to only- to allow setting images for only one theme (#2886) 2024-12-12 12:45:04 -03:00
_typograms.scss Added support for Google Typograms (#2379) 2024-04-30 11:26:56 -03:00
_variables.scss Updated dependencies (#2715) 2024-09-24 15:57:59 -03:00