Skip to content

Commit 78b82e3

Browse files
authored
Add FontAwesome assets (#1734)
Fixes #1472. TTF fonts were included as part of the FontAwesome kit, but I opted to not add them because basically every browser won't use them and it just pollutes the repo.
1 parent 1303a0e commit 78b82e3

File tree

8 files changed

+8
-13
lines changed

8 files changed

+8
-13
lines changed

docs/.styleguide

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ modifiableFileExclude {
1212
\.ico$
1313
\.rknn$
1414
\.svg$
15+
\.woff2$
1516
gradlew
1617
}

docs/source/_static/css/pv-icons.css

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
/*!
2-
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
3-
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4-
*/
5-
6-
@font-face {
7-
font-family: FontAwesome;
8-
src: url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713);
9-
src: url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713?#iefix&v=4.7.0) format("embedded-opentype"), url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"), url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff"), url(fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9) format("truetype"), url(fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde#fontawesomeregular) format("svg");
10-
font-weight: 400;
11-
font-style:normal
12-
}
13-
141
.code-block-caption>.headerlink, dl dt>.headerlink, h1>.headerlink, h2>.headerlink, h3>.headerlink, h4>.headerlink, h5>.headerlink, h6>.headerlink, p.caption>.headerlink, table>caption>.headerlink {
152
font-family: FontAwesome;
163
font-size: 0.75em;

docs/source/_static/css/v4-font-face.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979

8080

8181
def setup(app):
82+
app.add_css_file("css/v4-font-face.min.css")
8283
app.add_css_file("css/pv-icons.css")
8384

8485

0 commit comments

Comments
 (0)