mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-11-20 11:14:28 +00:00
fixing ie8 issues, updating textures
This commit is contained in:
parent
eb4bebcca8
commit
a3c97068fb
3
css/font-awesome.css
vendored
3
css/font-awesome.css
vendored
@ -27,7 +27,8 @@
|
|||||||
* -------------------------- */
|
* -------------------------- */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'FontAwesome';
|
font-family: 'FontAwesome';
|
||||||
src: url('../fonts/FontAwesome.otf') format('opentype');
|
src: url('../fonts/fontawesome-webfont.eot?v=4.0.0');
|
||||||
|
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.0#fontawesomeregular') format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
2
css/font-awesome.min.css
vendored
2
css/font-awesome.min.css
vendored
@ -1,4 +1,4 @@
|
|||||||
@font-face{font-family:'FontAwesome';src:url('../fonts/FontAwesome.otf') format('opentype');font-weight:normal;font-style:normal;}.fa-icon{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
|
@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.0.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.0.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.0.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.0.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal;}.fa-icon{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
|
||||||
.fa-icon-lg{font-size:1.3333333333333333em;line-height:0.75em;vertical-align:-15%;}
|
.fa-icon-lg{font-size:1.3333333333333333em;line-height:0.75em;vertical-align:-15%;}
|
||||||
.fa-icon-fixed-width{width:1.1428571428571428em;padding-right:0.2857142857142857em;text-align:right;}.fa-icon-fixed-width.fa-icon-lg{width:1.4285714285714286em;}
|
.fa-icon-fixed-width{width:1.1428571428571428em;padding-right:0.2857142857142857em;text-align:right;}.fa-icon-fixed-width.fa-icon-lg{width:1.4285714285714286em;}
|
||||||
.fa-icon-ul{padding-left:0;margin-left:2.142857142857143em;list-style-type:none;}.fa-icon-ul>li{position:relative;}
|
.fa-icon-ul{padding-left:0;margin-left:2.142857142857143em;list-style-type:none;}.fa-icon-ul>li{position:relative;}
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'FontAwesome';
|
font-family: 'FontAwesome';
|
||||||
// src: url('@{FontAwesomePath}/fontawesome-webfont.eot?v=@{FontAwesomeVersion}');
|
src: url('@{FontAwesomePath}/fontawesome-webfont.eot?v=@{FontAwesomeVersion}');
|
||||||
// src: url('@{FontAwesomePath}/fontawesome-webfont.eot?#iefix&v=@{FontAwesomeVersion}') format('embedded-opentype'),
|
src: url('@{FontAwesomePath}/fontawesome-webfont.eot?#iefix&v=@{FontAwesomeVersion}') format('embedded-opentype'),
|
||||||
// url('@{FontAwesomePath}/fontawesome-webfont.woff?v=@{FontAwesomeVersion}') format('woff'),
|
url('@{FontAwesomePath}/fontawesome-webfont.woff?v=@{FontAwesomeVersion}') format('woff'),
|
||||||
// url('@{FontAwesomePath}/fontawesome-webfont.ttf?v=@{FontAwesomeVersion}') format('truetype'),
|
url('@{FontAwesomePath}/fontawesome-webfont.ttf?v=@{FontAwesomeVersion}') format('truetype'),
|
||||||
// url('@{FontAwesomePath}/fontawesome-webfont.svg?v=@{FontAwesomeVersion}#fontawesomeregular') format('svg');
|
url('@{FontAwesomePath}/fontawesome-webfont.svg?v=@{FontAwesomeVersion}#fontawesomeregular') format('svg');
|
||||||
src: url('@{FontAwesomePath}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
// src: url('@{FontAwesomePath}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
@ -1,34 +1,26 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
|
<html lang="en">
|
||||||
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
|
|
||||||
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
|
|
||||||
<!--[if (gte IE 9)|!(IE)]><!-->
|
|
||||||
<html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
|
|
||||||
<head>
|
<head>
|
||||||
<!-- Basic Page Needs
|
<!-- Basic Page Needs
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>{% if page.title %}{{ page.title }}{% endif %}</title>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="description" content="Font Awesome, the iconic font designed for Bootstrap">
|
<meta name="description" content="Font Awesome, the iconic font designed for Bootstrap">
|
||||||
<meta name="author" content="Dave Gandy">
|
<meta name="author" content="Dave Gandy">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<link rel="shortcut icon" href="{{ page.relative_path }}assets/ico/favicon.ico">
|
||||||
<!--<meta name="viewport" content="initial-scale=1; maximum-scale=1">-->
|
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<title>{% if page.title %}{{ page.title }}{% endif %}</title>
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- CSS
|
<!-- CSS
|
||||||
================================================== -->
|
================================================== -->
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ page.relative_path }}assets/css/site.css">
|
<link rel="stylesheet" href="{{ page.relative_path }}assets/css/site.css">
|
||||||
<link rel="stylesheet" href="{{ page.relative_path }}assets/css/pygments.css">
|
<link rel="stylesheet" href="{{ page.relative_path }}assets/css/pygments.css">
|
||||||
<link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome.css">
|
<link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome.css">
|
||||||
<!--[if IE 7]>
|
|
||||||
<link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome-ie7.css">
|
<!--[if lt IE 9]>
|
||||||
|
<script src="{{ page.relative_path }}assets/js/html5shiv.js"></script>
|
||||||
|
<script src="{{ page.relative_path }}assets/js/respond.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="{{ page.relative_path }}assets/ico/favicon.ico">
|
|
||||||
|
|
||||||
<script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script>
|
<script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script>
|
||||||
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
||||||
|
8
src/assets/js/html5shiv.js
vendored
Executable file
8
src/assets/js/html5shiv.js
vendored
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
/*
|
||||||
|
HTML5 Shiv v3.6.2pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
||||||
|
*/
|
||||||
|
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
|
||||||
|
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
|
||||||
|
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
|
||||||
|
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",version:"3.6.2pre",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
|
||||||
|
for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
|
6
src/assets/js/respond.min.js
vendored
Executable file
6
src/assets/js/respond.min.js
vendored
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
||||||
|
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
|
||||||
|
window.matchMedia=window.matchMedia||function(a){"use strict";var c,d=a.documentElement,e=d.firstElementChild||d.firstChild,f=a.createElement("body"),g=a.createElement("div");return g.id="mq-test-1",g.style.cssText="position:absolute;top:-100em",f.style.background="none",f.appendChild(g),function(a){return g.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',d.insertBefore(f,e),c=42===g.offsetWidth,d.removeChild(f),{matches:c,media:a}}}(document);
|
||||||
|
|
||||||
|
/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
|
||||||
|
(function(a){"use strict";function x(){u(!0)}var b={};a.respond=b,b.update=function(){},b.mediaQueriesSupported=a.matchMedia&&a.matchMedia("only all").matches,b.mediaQueriesSupported;var q,r,t,c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=c.getElementsByTagName("base")[0],l=j.getElementsByTagName("link"),m=[],n=function(){for(var b=0;l.length>b;b++){var c=l[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!h[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(p(c.styleSheet.rawCssText,d,e),h[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!k||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&m.push({href:d,media:e}))}o()},o=function(){if(m.length){var a=m.shift();v(a.href,function(b){p(b,a.href,a.media),h[a.href]=!0,setTimeout(function(){o()},0)})}},p=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),g=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c;b.length&&(b+="/"),i&&(g=1);for(var j=0;g>j;j++){var k,l,m,n;i?(k=c,f.push(h(a))):(k=d[j].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],e.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:f.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},s=function(){var a,b=c.createElement("div"),e=c.body,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",e||(e=f=c.createElement("body"),e.style.background="none"),e.appendChild(b),d.insertBefore(e,d.firstChild),a=b.offsetWidth,f?d.removeChild(e):e.removeChild(b),a=t=parseFloat(a)},u=function(a){var b="clientWidth",h=d[b],k="CSS1Compat"===c.compatMode&&h||c.body[b]||h,m={},n=l[l.length-1],o=(new Date).getTime();if(a&&q&&i>o-q)return clearTimeout(r),r=setTimeout(u,i),void 0;q=o;for(var p in e)if(e.hasOwnProperty(p)){var v=e[p],w=v.minw,x=v.maxw,y=null===w,z=null===x,A="em";w&&(w=parseFloat(w)*(w.indexOf(A)>-1?t||s():1)),x&&(x=parseFloat(x)*(x.indexOf(A)>-1?t||s():1)),v.hasquery&&(y&&z||!(y||k>=w)||!(z||x>=k))||(m[v.media]||(m[v.media]=[]),m[v.media].push(f[v.rules]))}for(var B in g)g.hasOwnProperty(B)&&g[B]&&g[B].parentNode===j&&j.removeChild(g[B]);for(var C in m)if(m.hasOwnProperty(C)){var D=c.createElement("style"),E=m[C].join("\n");D.type="text/css",D.media=C,j.insertBefore(D,n.nextSibling),D.styleSheet?D.styleSheet.cssText=E:D.appendChild(c.createTextNode(E)),g.push(D)}},v=function(a,b){var c=w();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},w=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}();n(),b.update=n,a.addEventListener?a.addEventListener("resize",x,!1):a.attachEvent&&a.attachEvent("onresize",x)})(this);
|
@ -114,4 +114,11 @@
|
|||||||
//@brand-success: @green;
|
//@brand-success: @green;
|
||||||
//@brand-warning: @yellow-dark;
|
//@brand-warning: @yellow-dark;
|
||||||
//@brand-danger: @red;
|
//@brand-danger: @red;
|
||||||
//@brand-info: @blue;
|
//@brand-info: @blue;
|
||||||
|
|
||||||
|
|
||||||
|
// Carousel
|
||||||
|
@carousel-text-shadow: 0 1px 0 rgba(255,255,255,0.25);
|
||||||
|
|
||||||
|
@carousel-control-color: @jumbotron-bg-dark;
|
||||||
|
@carousel-control-font-size: 30px;
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
|
@size: 220px;
|
||||||
#icon-carousel {
|
#icon-carousel {
|
||||||
@size: 220px;
|
|
||||||
margin-top: @buffer-sm;
|
margin-top: @buffer-sm;
|
||||||
font-size: @size;
|
font-size: @size;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: @size + 5;
|
line-height: @size + 5;
|
||||||
text-shadow: 0 2px 0 rgba(0,0,0,0.15);
|
text-shadow: 0 2px 0 rgba(0,0,0,0.15);
|
||||||
a {
|
}
|
||||||
color: @jumbotron-bg-dark;
|
.carousel-control {
|
||||||
text-shadow: 0 1px 0 rgba(255,255,255,0.25);
|
top: @size + 10px;
|
||||||
|
.square(30px);
|
||||||
|
border-width: 0;
|
||||||
|
font-size: 30px;
|
||||||
|
line-height: 25px;
|
||||||
|
left: 300/2 - 36px;
|
||||||
|
&.right {
|
||||||
|
left: auto;
|
||||||
|
right: 300/2 - 36px;
|
||||||
}
|
}
|
||||||
.carousel-control {
|
&.right, &.left {
|
||||||
top: @size + 10px;
|
background-image: none;
|
||||||
.square(30px);
|
filter: none;
|
||||||
background: none;
|
|
||||||
border-width: 0;
|
|
||||||
font-size: 30px;
|
|
||||||
line-height: 25px;
|
|
||||||
left: 300/2 - 36px;
|
|
||||||
&.right {
|
|
||||||
left: auto;
|
|
||||||
right: 300/2 - 36px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.jumbotron-carousel {
|
.jumbotron-carousel {
|
||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
.btn {
|
.btn {
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user