Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Nov 4, 2023
1 parent 87d69a9 commit fabc9bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions docs/reference/icons-emojis.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,16 @@ styles], it's always recommended to add an [additional style sheet] and move
declarations into dedicated CSS classes:

<style>
.twitter {
color: #1DA1F2;
.youtube {
color: #EE0F0F;
}
</style>

=== ":octicons-file-code-16: `docs/stylesheets/extra.css`"
``` css
.twitter {
color: #1DA1F2;
.youtube {
color: #EE0F0F;
}
```
Expand All @@ -136,12 +136,12 @@ declarations into dedicated CSS classes:
After applying the customization, add the CSS class to the icon shortcode:

``` markdown title="Icon with color"
:fontawesome-brands-twitter:{ .twitter }
:fontawesome-brands-youtube:{ .youtube }
```

<div class="result" markdown>

:fontawesome-brands-twitter:{ .twitter }
:fontawesome-brands-youtube:{ .youtube }

</div>

Expand Down Expand Up @@ -211,15 +211,15 @@ reference any icon that's [bundled with the theme][icon search] with Jinja's

``` html
<span class="twemoji">
{% include ".icons/fontawesome/brands/twitter.svg" %} <!-- (1)! -->
{% include ".icons/fontawesome/brands/youtube.svg" %} <!-- (1)! -->
</span>
```

1. Enter a few keywords to find the perfect icon using our [icon search] and
click on the shortcode to copy it to your clipboard:

<div class="mdx-iconsearch" data-mdx-component="iconsearch">
<input class="md-input md-input--stretch mdx-iconsearch__input" placeholder="Search icon" data-mdx-component="iconsearch-query" value="brands twitter" />
<input class="md-input md-input--stretch mdx-iconsearch__input" placeholder="Search icon" data-mdx-component="iconsearch-query" value="brands youtube" />
<div class="mdx-iconsearch-result" data-mdx-component="iconsearch-result" data-mdx-mode="file">
<div class="mdx-iconsearch-result__meta"></div>
<ol class="mdx-iconsearch-result__list"></ol>
Expand Down
8 changes: 4 additions & 4 deletions docs/setup/setting-up-the-footer.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@ The following properties are available for each link:
This property must contain a valid path to any icon bundled with the theme,
or the build will not succeed. Some popular choices:

* :fontawesome-brands-github: – `fontawesome/brands/github`
* :fontawesome-brands-gitlab: – `fontawesome/brands/gitlab`
* :fontawesome-brands-x-twitter: – `fontawesome/brands/x-twitter`
* :fontawesome-brands-mastodon: – `fontawesome/brands/mastodon`
<small>automatically adds [`rel=me`][rel=me]</small>
* :fontawesome-brands-twitter: – `fontawesome/brands/twitter`
* :fontawesome-brands-github: – `fontawesome/brands/github`
* :fontawesome-brands-docker: – `fontawesome/brands/docker`
* :fontawesome-brands-facebook: – `fontawesome/brands/facebook`
* :fontawesome-brands-medium: – `fontawesome/brands/medium`
* :fontawesome-brands-instagram: – `fontawesome/brands/instagram`
* :fontawesome-brands-linkedin: – `fontawesome/brands/linkedin`
* :fontawesome-brands-pied-piper-alt: – `fontawesome/brands/pied-piper-alt`
* :fontawesome-brands-slack: – `fontawesome/brands/slack`
* :fontawesome-brands-discord: – `fontawesome/brands/discord`
* :fontawesome-brands-pied-piper-alt: – `fontawesome/brands/pied-piper-alt`

<!-- md:option social.link -->

Expand Down

0 comments on commit fabc9bd

Please sign in to comment.