diff options
Diffstat (limited to 'source/css')
-rw-r--r-- | source/css/fonts.css | 70 | ||||
-rw-r--r-- | source/css/theme.css | 30 |
2 files changed, 27 insertions, 73 deletions
diff --git a/source/css/fonts.css b/source/css/fonts.css index e8995384..fbfedc58 100644 --- a/source/css/fonts.css +++ b/source/css/fonts.css @@ -1,16 +1,3 @@ -/* droid-sans-mono-regular - latin */ -@font-face { - font-family: 'Droid Sans Mono'; - font-style: normal; - font-weight: 400; - src: url('../fonts/droid-sans-mono-v7-latin-regular.eot'); /* IE9 Compat Modes */ - src: local('Droid Sans Mono'), local('DroidSansMono'), - url('../fonts/droid-sans-mono-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/droid-sans-mono-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('../fonts/droid-sans-mono-v7-latin-regular.woff') format('woff'), /* Modern Browsers */ - url('../fonts/droid-sans-mono-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('../fonts/droid-sans-mono-v7-latin-regular.svg#DroidSansMono') format('svg'); /* Legacy iOS */ -} /* open-sans-regular - latin */ @font-face { font-family: 'Open Sans'; @@ -24,55 +11,14 @@ url('../fonts/open-sans-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/open-sans-v13-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */ } -/* pt-serif-regular - latin */ +/* icon font from fontello */ @font-face { - font-family: 'PT Serif'; + font-family: 'fontello'; + src: url('../fonts/fontello.eot'); + src: url('../fonts/fontello.eot?#iefix') format('embedded-opentype'), + url('../fonts/fontello.woff') format('woff'), + url('../fonts/fontello.ttf') format('truetype'), + url('../fonts/fontello.svg#fontello') format('svg'); + font-weight: normal; font-style: normal; - font-weight: 400; - src: url('../fonts/pt-serif-v8-latin-regular.eot'); /* IE9 Compat Modes */ - src: local('PT Serif'), local('PTSerif-Regular'), - url('../fonts/pt-serif-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/pt-serif-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('../fonts/pt-serif-v8-latin-regular.woff') format('woff'), /* Modern Browsers */ - url('../fonts/pt-serif-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('../fonts/pt-serif-v8-latin-regular.svg#PTSerif') format('svg'); /* Legacy iOS */ -} -/* pt-serif-italic - latin */ -@font-face { - font-family: 'PT Serif'; - font-style: italic; - font-weight: 400; - src: url('../fonts/pt-serif-v8-latin-italic.eot'); /* IE9 Compat Modes */ - src: local('PT Serif Italic'), local('PTSerif-Italic'), - url('../fonts/pt-serif-v8-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/pt-serif-v8-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */ - url('../fonts/pt-serif-v8-latin-italic.woff') format('woff'), /* Modern Browsers */ - url('../fonts/pt-serif-v8-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */ - url('../fonts/pt-serif-v8-latin-italic.svg#PTSerif') format('svg'); /* Legacy iOS */ -} -/* pt-serif-700 - latin */ -@font-face { - font-family: 'PT Serif'; - font-style: normal; - font-weight: 700; - src: url('../fonts/pt-serif-v8-latin-700.eot'); /* IE9 Compat Modes */ - src: local('PT Serif Bold'), local('PTSerif-Bold'), - url('../fonts/pt-serif-v8-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/pt-serif-v8-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ - url('../fonts/pt-serif-v8-latin-700.woff') format('woff'), /* Modern Browsers */ - url('../fonts/pt-serif-v8-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ - url('../fonts/pt-serif-v8-latin-700.svg#PTSerif') format('svg'); /* Legacy iOS */ -} -/* pt-serif-700italic - latin */ -@font-face { - font-family: 'PT Serif'; - font-style: italic; - font-weight: 700; - src: url('../fonts/pt-serif-v8-latin-700italic.eot'); /* IE9 Compat Modes */ - src: local('PT Serif Bold Italic'), local('PTSerif-BoldItalic'), - url('../fonts/pt-serif-v8-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/pt-serif-v8-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */ - url('../fonts/pt-serif-v8-latin-700italic.woff') format('woff'), /* Modern Browsers */ - url('../fonts/pt-serif-v8-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */ - url('../fonts/pt-serif-v8-latin-700italic.svg#PTSerif') format('svg'); /* Legacy iOS */ } diff --git a/source/css/theme.css b/source/css/theme.css index 83ceacb2..5909f7ab 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -226,27 +226,35 @@ noscript a { } .rss-icon, .atom-icon, .cc-icon { - position: relative; text-decoration: none; } .rss-icon, .atom-icon { - font-size: 16px; - margin: 0 2px; - top: 1px; -} - -/* fix problematic baseline shift in Firefox */ -@-moz-document url-prefix() { - .rss-icon { - top: 0; - } + margin: 0 3px; } .cc-icon { margin: 0 1px; } +.rss-icon:before, .atom-icon:before { + content: "\e800"; + font-family: fontello; + font-size: 105%; +} + +.rss-icon:before { + display: inline-block; + transform: scale(-1,1); + -webkit-transform: scale(-1,1); +} + +.cc-icon:before { + content: "\e801"; + font-family: fontello; + font-size: 95%; +} + /* blog index */ .blog-index-year-title { |