Skip to content

Commit

Permalink
Shatranj icon to pychess webfont
Browse files Browse the repository at this point in the history
  • Loading branch information
gbtami committed Oct 26, 2024
1 parent 969ca1d commit 2b7b250
Show file tree
Hide file tree
Showing 8 changed files with 188 additions and 137 deletions.
303 changes: 168 additions & 135 deletions icomoon.io/pychess-variants.json

Large diffs are not rendered by default.

16 changes: 15 additions & 1 deletion static/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,24 @@
<link rel="stylesheet" href="style.css"></head>
<body>
<div class="bgc1 clearfix">
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> pychess <small class="fgc1">(Glyphs:&nbsp;135)</small></h1>
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> pychess <small class="fgc1">(Glyphs:&nbsp;136)</small></h1>
</div>
<div class="clearfix mhl ptl">
<h1 class="mvm mtn fgc1">Grid Size: Unknown</h1>
<div class="glyph fs1">
<div class="clearfix bshadow0 pbs">
<span class="icon-Shatranj"></span>
<span class="mls"> icon-Shatranj</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="1f418" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#x1f418;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-true">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs1">
<div class="clearfix bshadow0 pbs">
<span class="icon-Horde960"></span>
Expand Down
Binary file modified static/fonts/pychess.eot
Binary file not shown.
1 change: 1 addition & 0 deletions static/fonts/pychess.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/fonts/pychess.ttf
Binary file not shown.
Binary file modified static/fonts/pychess.woff
Binary file not shown.
2 changes: 1 addition & 1 deletion static/icons/Shatranj.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-Shatranj:before {
content: "\1f418";
}
.icon-Horde960:before {
content: "\1f437";
}
Expand Down

0 comments on commit 2b7b250

Please sign in to comment.