I have been making my own webfont taking as a starting point articles from web designer depot and intridea.
I know different engines render fonts differently and but the issue I'm having is that firefox renders the font higher than chrome - at the…
I was creating an app using angular 2, bootstrap 4 and I found out that glyphicons were dropped, so I have decided to use Octicon as suggested,
I did npm install --save octicons
After that I didn't under stand a thing.
I thought i have to include…
Is there a recommended way to let Icon Fonts (eq. FontAwesome/Octicons) bleed into the Shadow DOM?
At the moment, when I want to use an icon in a custom element's Shadow DOM I have to include parts of the ociticons.css file inline in the Shadow…
Can anyone explain how the small octocat logo in the top left corner or on the bottom center of the page is implemented and why?
All I can see is this markup:
and this…
So I'd like to use githubs octicons in Elm as svg nodes. Although I'm not sure that this is a good idea but I figured here is one way I could do it:
I could do pass the svg tags as string with flags to an Elm app calling:
const octicons =…
I was just looking through the source of github.com's page and I saw them use some code for their add to clipboard button icon
.octicon-clippy:before {
content: '\f035';
}
How can this create an icon without a path to an image?
Reasoning
I'm bundling small minified SVGs (icons) with my CSS via LESS's data-uri method, to reduce HTTP requests similar to the purpose of icon fonts such as Octicons or Ye Olde CSS Sprites.
However, LESS encodes them in Base64.
This is…
I want to build a server accelerated by a CDN provider, which serves static files for my other websites. I decide to use https://www.funfun.org.cn, then for example https://www.funfun.org.cn/libs/font-awesome.min.css and…
How do you tell webpack to ignore the main property of the package.json when it's invalid/unnecessary?
Here's an example: GitHub's octicons package has a readme.md for a main:
{
"name": "octicons",
"version": "3.5.0",
"description": "GitHub's…
I'm making a crawler with Scrapy and wondering why my xpath doesn't work when my CSS selector does? I want to get the number of commits from this html:
Is there some kind of icon set that can be used in Android that contains icons similar to the
GitHub Icons. For example, the events push, pull, fork, merge, comment ...
Or is this something that is only possible in a browser?
I was looking to use…
The resulting icon is oversized, even with font-size set to 16px, it looks like 32px or even more.
I used the [Octicons][2] approach to build the icons, so Glyphs setup looks as follows:
Units per Em is 2048
Metrics is exactly like Octicons
Glyph…