Skip to content

Commit

Permalink
Adjusted polyam symbol in icon sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
risadams committed Jun 16, 2022
1 parent 043aa42 commit d24a48c
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CSS Pride Flags

![npm](https://img.shields.io/npm/v/@risadams/pride-flags)

## Install

This is a pure CSS library that can be included in your project to display LGBT+ pride flags as either large images, or small icons. It should be straightforward to install and use, and will be updated with new options and flags as they become available.
Expand Down
8 changes: 8 additions & 0 deletions dist/pride-flags.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/pride-flags.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pride-flags.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pride-flags.min.css.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ <h1>Icon versions</h1>
<div class="flag icon polysexual"></div>
<div class="flag icon twink"></div>
<div class="flag icon androgyne"></div>
<div class="flag icon polyamory"></div>
</section>
</article>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risadams/pride-flags",
"version": "1.0.1",
"version": "1.0.2",
"description": "Pure CSS Pride Flags",
"files": [
"dist/*.css"
Expand Down
10 changes: 10 additions & 0 deletions src/pride-flags.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,16 @@
font-weight: 100;
}
}
.flag.icon.polyamory {
&::before {
font-size: 44px;
}
}
.flag.icon.small.polyamory {
&::before {
font-size: 30px;
}
}
.flag.twink {
position: relative;
background: linear-gradient(-45deg, #0000 43%, #000 0 57%, #0000 0) 52.5% 39.25% / 5% 5% no-repeat,
Expand Down

0 comments on commit d24a48c

Please sign in to comment.