mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
self hosted fonts
This commit is contained in:
parent
fd8bd6f5c4
commit
29d24427c6
|
|
@ -176,6 +176,4 @@ $(document).ready(function(){
|
|||
});
|
||||
</script>
|
||||
|
||||
<script src="https://edgefonts.tuna.tsinghua.edu.cn/lato.js"></script>
|
||||
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,33 @@
|
|||
/* Webfont: Lato-Bold */@font-face {
|
||||
font-family: 'Lato';
|
||||
src: url('../fonts/Lato-Bold.eot'); /* IE9 Compat Modes */
|
||||
src: url('../fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('../fonts/Lato-Bold.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/Lato-Bold.ttf') format('truetype');
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
/* Webfont: Lato-Italic */@font-face {
|
||||
font-family: 'Lato';
|
||||
src: url('../fonts/Lato-Italic.eot'); /* IE9 Compat Modes */
|
||||
src: url('../fonts/Lato-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('../fonts/Lato-Italic.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/Lato-Italic.ttf') format('truetype');
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
/* Webfont: Lato-Regular */@font-face {
|
||||
font-family: 'Lato';
|
||||
src: url('../fonts/Lato-Regular.eot'); /* IE9 Compat Modes */
|
||||
src: url('../fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('../fonts/Lato-Regular.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/Lato-Regular.ttf') format('truetype');
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
|
|
@ -8,6 +8,33 @@ Version: 1.0
|
|||
URL: http://alvarez.is
|
||||
|
||||
################################################################# */
|
||||
/* Webfont: Lato-Bold */
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
src: url("../fonts/Lato-Bold.eot");
|
||||
/* IE9 Compat Modes */
|
||||
src: url("../fonts/Lato-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Bold.woff") format("woff"), url("../fonts/Lato-Bold.ttf") format("truetype");
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
text-rendering: optimizeLegibility; }
|
||||
/* Webfont: Lato-Italic */
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
src: url("../fonts/Lato-Italic.eot");
|
||||
/* IE9 Compat Modes */
|
||||
src: url("../fonts/Lato-Italic.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Italic.woff") format("woff"), url("../fonts/Lato-Italic.ttf") format("truetype");
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
text-rendering: optimizeLegibility; }
|
||||
/* Webfont: Lato-Regular */
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
src: url("../fonts/Lato-Regular.eot");
|
||||
/* IE9 Compat Modes */
|
||||
src: url("../fonts/Lato-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Regular.woff") format("woff"), url("../fonts/Lato-Regular.ttf") format("truetype");
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
text-rendering: optimizeLegibility; }
|
||||
/* ################################################################
|
||||
1. GENERAL STRUCTURES
|
||||
################################################################# */
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ $color_footer_heading: #ffffff;
|
|||
$color_footer_content: #bfc9d3;
|
||||
$color_navbar_bg: #d3d3d3;
|
||||
|
||||
@import "Lato";
|
||||
|
||||
/* ################################################################
|
||||
1. GENERAL STRUCTURES
|
||||
################################################################# */
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue