aboutsummaryrefslogtreecommitdiff
path: root/source/fonts/fontello/css/fontello.css
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-01-08 21:16:14 -0800
committerZhiming Wang <zmwangx@gmail.com>2016-01-08 21:18:39 -0800
commitf818d439160c8f06add42dd10cfcdbddc71b04d7 (patch)
treed3a6c54a0102826fbfbd1abcf55182fcd1004e00 /source/fonts/fontello/css/fontello.css
parentf0ef7cf56c4789e3862b7f49502955afa9d54097 (diff)
downloadmy_new_personal_website-f818d439160c8f06add42dd10cfcdbddc71b04d7.tar.xz
my_new_personal_website-f818d439160c8f06add42dd10cfcdbddc71b04d7.zip
Add stuff to source/ and exclude them
The lonely templates/template.html finally finds it home in the cozy source/, where it rightfully belongs, without the need to worry about being exposed to the world in build/ ;) The full fontello distribution I downloaded (and unpacked) from fontello.com is now in source/fonts/fontello.
Diffstat (limited to 'source/fonts/fontello/css/fontello.css')
-rw-r--r--source/fonts/fontello/css/fontello.css58
1 files changed, 58 insertions, 0 deletions
diff --git a/source/fonts/fontello/css/fontello.css b/source/fonts/fontello/css/fontello.css
new file mode 100644
index 00000000..3be02e93
--- /dev/null
+++ b/source/fonts/fontello/css/fontello.css
@@ -0,0 +1,58 @@
+@font-face {
+ font-family: 'fontello';
+ src: url('../font/fontello.eot?76294337');
+ src: url('../font/fontello.eot?76294337#iefix') format('embedded-opentype'),
+ url('../font/fontello.woff?76294337') format('woff'),
+ url('../font/fontello.ttf?76294337') format('truetype'),
+ url('../font/fontello.svg?76294337#fontello') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
+/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
+/*
+@media screen and (-webkit-min-device-pixel-ratio:0) {
+ @font-face {
+ font-family: 'fontello';
+ src: url('../font/fontello.svg?76294337#fontello') format('svg');
+ }
+}
+*/
+
+ [class^="icon-"]:before, [class*=" icon-"]:before {
+ font-family: "fontello";
+ font-style: normal;
+ font-weight: normal;
+ speak: none;
+
+ display: inline-block;
+ text-decoration: inherit;
+ width: 1em;
+ margin-right: .2em;
+ text-align: center;
+ /* opacity: .8; */
+
+ /* For safety - reset parent styles, that can break glyph codes*/
+ font-variant: normal;
+ text-transform: none;
+
+ /* fix buttons height, for twitter bootstrap */
+ line-height: 1em;
+
+ /* Animation center compensation - margins should be symmetric */
+ /* remove if not needed */
+ margin-left: .2em;
+
+ /* you can be more comfortable with increased icons size */
+ /* font-size: 120%; */
+
+ /* Font smoothing. That was taken from TWBS */
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+
+ /* Uncomment for 3D effect */
+ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
+}
+
+.icon-rss:before { content: '\e800'; } /* '' */
+.icon-cc:before { content: '\e801'; } /* '' */ \ No newline at end of file