Skip to content

Commit

Permalink
Added new icon - PGP-key (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrede88 authored Oct 28, 2024
2 parents 8c71858 + e957c97 commit 8e72ed4
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,19 @@ Links are defined by the name (i.e. "github" or "facebook"). The names must matc
### Supported Link Icons
| **Supported Links** | **Supported Links** | **Supported Links** | **Supported Links** |
| --- | --- | --- | --- |
| amazon | apple | bandcamp | bitbucket |
| amazon | apple | bandcamp | bitbucket |
| bluesky | check-mark | codepen | dev |
| discord | dribbble | email | etsy |
| facebook | flickr | foursquare | github |
| gitlab | google | instagram | keybase |
| kickstarter | link | linkedin | mastodon |
| medium | orcid | patreon | paypal | pinterest |
| reddit | signal | skype | slack |
| snapchat | soundcloud | spotify | stack-exchange |
| stack-overflow | strava | telegram | tiktok |
| tumblr | twitch | untappd | website |
| whatsapp | windows | x-twitter | youtube |
| medium | orcid | patreon | paypal |
| PGP-Key | pinterest | reddit | signal |
| skype | slack | snapchat | soundcloud |
| spotify | stack-exchange |stack-overflow | strava |
| telegram | tiktok | tumblr | twitch |
| untappd | website |whatsapp | windows |
| x-twitter | youtube |


### Custom Link Icons
Expand All @@ -151,7 +152,7 @@ If you're using the colorful color scheme, the background color will be the tail
background-color: #6366f1; /* Hex color code */
}
```
Where `nameOfIcon` is be the name of the custom `.svg` file.
Where `nameOfIcon` is the name of the custom `.svg` file.

#### SVG Icon Cheatsheet
Make sure that your custom svg icons doesn't have a fixed size. I.e. set the `width` and `height` to:
Expand Down
4 changes: 4 additions & 0 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,10 @@ video {
background: conic-gradient(#7fba00 0% 25%, #ffb900 25% 50%, #00a4ef 50% 75%, #f25022 75% 100%);
}

.link-pgp-key, .link-PGP-Key {
background-color: #a13c94;
}

@media (hover: hover) and (pointer: fine) {
.hover\:text-indigo-500:hover {
--tw-text-opacity: 1;
Expand Down
3 changes: 3 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,6 @@
background-color: #f25022;
background: conic-gradient(#7fba00 0% 25%, #ffb900 25% 50%, #00a4ef 50% 75%, #f25022 75% 100%);
}
.link-pgp-key, .link-PGP-Key {
background-color: #a13c94;
}
6 changes: 6 additions & 0 deletions assets/icons/pgp-key.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions exampleSite/config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ links:
- google: https://github.com/chrede88/L1nkr
# - paypal: https://github.com/chrede88/
# - windows: https://github.com/chrede88/
# - PGP-Key: https://github.com/chrede88/L1nkr

##############################
## Monochromatic color scheme
Expand Down

0 comments on commit 8e72ed4

Please sign in to comment.