Skip to content
Snippets Groups Projects
Verified Commit 5fa1104e authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes remaining issues with local fonts

parent 87816adf
No related branches found
No related tags found
No related merge requests found
Showing
with 90 additions and 192 deletions
File added
/* roboto-300 - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 300;
src: url("roboto-v18-latin-300.eot"); /* IE9 Compat Modes */
src: local("Roboto Light"), local("Roboto-Light"),
url("roboto-v18-latin-300.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-300.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-300.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-300.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-300.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 400;
src: url("roboto-v18-latin-regular.eot"); /* IE9 Compat Modes */
src: local(Roboto), local("Roboto-Regular"),
url("roboto-v18-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-regular.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-regular.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-regular.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-regular.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-italic - latin */
@font-face {
font-family: Roboto;
font-style: italic;
font-weight: 400;
src: url("roboto-v18-latin-italic.eot"); /* IE9 Compat Modes */
src: local("Roboto Italic"), local("Roboto-Italic"),
url("roboto-v18-latin-italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-italic.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-italic.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-italic.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-italic.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 700;
src: url("roboto-v18-latin-700.eot"); /* IE9 Compat Modes */
src: local("Roboto Bold"), local("Roboto-Bold"),
url("roboto-v18-latin-700.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-700.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-700.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-700.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-700.svg#Roboto") format("svg"); /* Legacy iOS */
}
module.exports = __webpack_public_path__ + "assets/images/icons/bitbucket.4ebea66e.svg";
\ No newline at end of file
module.exports = __webpack_public_path__ + "assets/images/icons/github.a4034fb1.svg";
\ No newline at end of file
module.exports = __webpack_public_path__ + "assets/images/icons/gitlab.348cdb3a.svg";
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
/*!
* Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;src:url(assets/fonts/fa-brands-400.748ab466.eot);src:url(assets/fonts/fa-brands-400.748ab466.eot?#iefix) format("embedded-opentype"),url(assets/fonts/fa-brands-400.3654744d.woff2) format("woff2"),url(assets/fonts/fa-brands-400.2248542e.woff) format("woff"),url(assets/fonts/fa-brands-400.7febe26e.ttf) format("truetype"),url(assets/fonts/fa-brands-400.3fd30df8.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands,sans-serif}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(assets/fonts/MaterialIcons-Regular.e79bfd88.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(assets/fonts/MaterialIcons-Regular.570eb838.woff2) format("woff2"),url(assets/fonts/MaterialIcons-Regular.012cf6a1.woff) format("woff"),url(assets/fonts/MaterialIcons-Regular.a37b0c01.ttf) format("truetype")}.material-icons{display:inline-block;font-family:Material Icons,sans-serif;font-size:1.5rem;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-rendering:optimizeLegibility;text-transform:none;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:"liga";font-feature-settings:"liga"}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(assets/fonts/roboto-v18-latin-300.548ebe05.eot);src:local("Roboto Light"),local("Roboto-Light"),url(assets/fonts/roboto-v18-latin-300.548ebe05.eot?#iefix) format("embedded-opentype"),url(assets/fonts/roboto-v18-latin-300.55536c8e.woff2) format("woff2"),url(assets/fonts/roboto-v18-latin-300.a1471d1d.woff) format("woff"),url(assets/fonts/roboto-v18-latin-300.ab2789c4.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-300.3e4b1422.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(assets/fonts/roboto-v18-latin-regular.68889c24.eot);src:local(Roboto),local("Roboto-Regular"),url(assets/fonts/roboto-v18-latin-regular.68889c24.eot?#iefix) format("embedded-opentype"),url(assets/fonts/roboto-v18-latin-regular.5d4aeb4e.woff2) format("woff2"),url(assets/fonts/roboto-v18-latin-regular.bafb105b.woff) format("woff"),url(assets/fonts/roboto-v18-latin-regular.372d0cc3.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-regular.4815bbf4.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(assets/fonts/roboto-v18-latin-italic.f5c365f2.eot);src:local("Roboto Italic"),local("Roboto-Italic"),url(assets/fonts/roboto-v18-latin-italic.f5c365f2.eot?#iefix) format("embedded-opentype"),url(assets/fonts/roboto-v18-latin-italic.d8bcbe72.woff2) format("woff2"),url(assets/fonts/roboto-v18-latin-italic.9680d5a0.woff) format("woff"),url(assets/fonts/roboto-v18-latin-italic.b202ab6c.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-italic.31c2b61e.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(assets/fonts/roboto-v18-latin-700.376e0950.eot);src:local("Roboto Bold"),local("Roboto-Bold"),url(assets/fonts/roboto-v18-latin-700.376e0950.eot?#iefix) format("embedded-opentype"),url(assets/fonts/roboto-v18-latin-700.037d8304.woff2) format("woff2"),url(assets/fonts/roboto-v18-latin-700.cf6613d1.woff) format("woff"),url(assets/fonts/roboto-v18-latin-700.cae5027f.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-700.f5d4f2b4.svg#Roboto) format("svg")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:url(assets/fonts/roboto-mono-v5-latin-regular.2b497e54.eot);src:local("Roboto Mono"),local("RobotoMono-Regular"),url(assets/fonts/roboto-mono-v5-latin-regular.2b497e54.eot?#iefix) format("embedded-opentype"),url(assets/fonts/roboto-mono-v5-latin-regular.e92cc0fb.woff2) format("woff2"),url(assets/fonts/roboto-mono-v5-latin-regular.1db1469b.woff) format("woff"),url(assets/fonts/roboto-mono-v5-latin-regular.c03588a7.ttf) format("truetype"),url(assets/fonts/roboto-mono-v5-latin-regular.6522dab4.svg#RobotoMono) format("svg")}
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJhc3NldHMvc3R5bGVzaGVldHMvZm9udHMuNzFkYTM0YTQuY3NzIiwic291cmNlUm9vdCI6IiJ9*/
\ No newline at end of file
...@@ -57,11 +57,8 @@ ...@@ -57,11 +57,8 @@
<script src="{{ base_url }}/assets/javascripts/modernizr.1aa3b519.js"></script> <script src="{{ base_url }}/assets/javascripts/modernizr.1aa3b519.js"></script>
{% endblock %} {% endblock %}
{% block fonts %} {% block fonts %}
<link rel="stylesheet" href="{{ base_url }}/assets/fonts/roboto.css">
<link rel="stylesheet" href="{{ base_url }}/assets/fonts/roboto-mono.css">
<style>body,input{font-family:Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono","Courier New",Courier,monospace}</style> <style>body,input{font-family:Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono","Courier New",Courier,monospace}</style>
<link rel="stylesheet" href="{{ base_url }}/assets/fonts/MaterialIcons.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/fonts.71da34a4.css">
<link rel="stylesheet" href="{{ base_url }}/assets/fonts/fa-brands.css">
{% endblock %} {% endblock %}
{% for path in extra_css %} {% for path in extra_css %}
<link rel="stylesheet" href="{{ path }}"> <link rel="stylesheet" href="{{ path }}">
...@@ -79,9 +76,9 @@ ...@@ -79,9 +76,9 @@
<defs> <defs>
{% set platform = config.extra.repo_icon or config.repo_url %} {% set platform = config.extra.repo_icon or config.repo_url %}
{% if "github" in platform %} {% if "github" in platform %}
{% include "assets/images/icons/github.a4034fb1.svg" %} {% include "assets/images/icons/github.3d8a89ad.svg" %}
{% elif "gitlab" in platform %} {% elif "gitlab" in platform %}
{% include "assets/images/icons/gitlab.348cdb3a.svg" %} {% include "assets/images/icons/gitlab.8a01ec56.svg" %}
{% elif "bitbucket" in platform %} {% elif "bitbucket" in platform %}
{% include "assets/images/icons/bitbucket.4ebea66e.svg" %} {% include "assets/images/icons/bitbucket.4ebea66e.svg" %}
{% endif %} {% endif %}
...@@ -166,7 +163,7 @@ ...@@ -166,7 +163,7 @@
{% endblock %} {% endblock %}
</div> </div>
{% block scripts %} {% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application.a233ccb6.js"></script> <script src="{{ base_url }}/assets/javascripts/application.f52bc6fc.js"></script>
{% if lang.t("search.language") != "en" %} {% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %} {% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %} {% if languages | length and languages[0] != "" %}
......
{% if config.extra.social %} {% if config.extra.social %}
<div class="md-footer-social"> <div class="md-footer-social">
{% set path = "ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/{{ path }}">
{% for social in config.extra.social %} {% for social in config.extra.social %}
<a href="{{ social.link }}" class="md-footer-social__link fa fa-{{ social.type }}"></a> <a href="{{ social.link }}" class="md-footer-social__link fa fa-{{ social.type }}"></a>
{% endfor %} {% endfor %}
......
@font-face {
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
src: url("MaterialIcons-Regular.eot"); /* For IE6-8 */
src: local("Material Icons"), local("MaterialIcons-Regular"),
url("MaterialIcons-Regular.woff2") format("woff2"),
url("MaterialIcons-Regular.woff") format("woff"),
url("MaterialIcons-Regular.ttf") format("truetype");
}
.material-icons {
display: inline-block;
font-family: "Material Icons", sans-serif;
font-size: 1.5rem; /* Preferred icon size */
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
font-style: normal;
font-weight: 400;
letter-spacing: normal;
line-height: 1;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
text-transform: none;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for IE. */
font-feature-settings: "liga";
}
/*!
* Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face {
font-family: "Font Awesome 5 Brands";
font-style: normal;
font-weight: 400;
src: url("../fonts/fa-brands-400.eot");
src: url("../fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"),
url("../fonts/fa-brands-400.woff2") format("woff2"),
url("../fonts/fa-brands-400.woff") format("woff"),
url("../fonts/fa-brands-400.ttf") format("truetype"),
url("../fonts/fa-brands-400.svg#fontawesome") format("svg");
}
.fab {
font-family: "Font Awesome 5 Brands", sans-serif;
}
/* roboto-mono-regular - latin */
@font-face {
font-family: "Roboto Mono";
font-style: normal;
font-weight: 400;
src: url("roboto-mono-v5-latin-regular.eot"); /* IE9 Compat Modes */
src: local("Roboto Mono"), local("RobotoMono-Regular"),
url("roboto-mono-v5-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-mono-v5-latin-regular.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-mono-v5-latin-regular.woff") format("woff"), /* Modern Browsers */
url("roboto-mono-v5-latin-regular.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-mono-v5-latin-regular.svg#RobotoMono") format("svg"); /* Legacy iOS */
}
/* roboto-300 - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 300;
src: url("roboto-v18-latin-300.eot"); /* IE9 Compat Modes */
src: local("Roboto Light"), local("Roboto-Light"),
url("roboto-v18-latin-300.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-300.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-300.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-300.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-300.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 400;
src: url("roboto-v18-latin-regular.eot"); /* IE9 Compat Modes */
src: local(Roboto), local("Roboto-Regular"),
url("roboto-v18-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-regular.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-regular.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-regular.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-regular.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-italic - latin */
@font-face {
font-family: Roboto;
font-style: italic;
font-weight: 400;
src: url("roboto-v18-latin-italic.eot"); /* IE9 Compat Modes */
src: local("Roboto Italic"), local("Roboto-Italic"),
url("roboto-v18-latin-italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-italic.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-italic.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-italic.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-italic.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 700;
src: url("roboto-v18-latin-700.eot"); /* IE9 Compat Modes */
src: local("Roboto Bold"), local("Roboto-Bold"),
url("roboto-v18-latin-700.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-700.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-700.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-700.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-700.svg#Roboto") format("svg"); /* Legacy iOS */
}
...@@ -24,6 +24,7 @@ import "../images/icons/bitbucket.svg" ...@@ -24,6 +24,7 @@ import "../images/icons/bitbucket.svg"
import "../images/icons/github.svg" import "../images/icons/github.svg"
import "../images/icons/gitlab.svg" import "../images/icons/gitlab.svg"
import "../stylesheets/fonts.scss"
import "../stylesheets/application.scss" import "../stylesheets/application.scss"
import "../stylesheets/application-palette.scss" import "../stylesheets/application-palette.scss"
......
@import "fonts/font-awesome-brands";
@import "fonts/material-icons";
@import "fonts/roboto";
@import "fonts/roboto-mono";
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
font-family: "Material Icons"; font-family: "Material Icons";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url("MaterialIcons-Regular.eot"); /* For IE6-8 */ src: url("../fonts/MaterialIcons-Regular.eot"); /* For IE6-8 */
src: local("Material Icons"), local("MaterialIcons-Regular"), src: local("Material Icons"), local("MaterialIcons-Regular"),
url("MaterialIcons-Regular.woff2") format("woff2"), url("../fonts/MaterialIcons-Regular.woff2") format("woff2"),
url("MaterialIcons-Regular.woff") format("woff"), url("../fonts/MaterialIcons-Regular.woff") format("woff"),
url("MaterialIcons-Regular.ttf") format("truetype"); url("../fonts/MaterialIcons-Regular.ttf") format("truetype");
} }
.material-icons { .material-icons {
......
/* roboto-mono-regular - latin */
@font-face {
font-family: "Roboto Mono";
font-style: normal;
font-weight: 400;
src: url("../fonts/roboto-mono-v5-latin-regular.eot"); /* IE9 Compat Modes */
src: local("Roboto Mono"), local("RobotoMono-Regular"),
url("../fonts/roboto-mono-v5-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("../fonts/roboto-mono-v5-latin-regular.woff2") format("woff2"), /* Super Modern Browsers */
url("../fonts/roboto-mono-v5-latin-regular.woff") format("woff"), /* Modern Browsers */
url("../fonts/roboto-mono-v5-latin-regular.ttf") format("truetype"), /* Safari, Android, iOS */
url("../fonts/roboto-mono-v5-latin-regular.svg#RobotoMono") format("svg"); /* Legacy iOS */
}
/* roboto-300 - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 300;
src: url("../fonts/roboto-v18-latin-300.eot"); /* IE9 Compat Modes */
src: local("Roboto Light"), local("Roboto-Light"),
url("../fonts/roboto-v18-latin-300.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("../fonts/roboto-v18-latin-300.woff2") format("woff2"), /* Super Modern Browsers */
url("../fonts/roboto-v18-latin-300.woff") format("woff"), /* Modern Browsers */
url("../fonts/roboto-v18-latin-300.ttf") format("truetype"), /* Safari, Android, iOS */
url("../fonts/roboto-v18-latin-300.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 400;
src: url("../fonts/roboto-v18-latin-regular.eot"); /* IE9 Compat Modes */
src: local(Roboto), local("Roboto-Regular"),
url("../fonts/roboto-v18-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("../fonts/roboto-v18-latin-regular.woff2") format("woff2"), /* Super Modern Browsers */
url("../fonts/roboto-v18-latin-regular.woff") format("woff"), /* Modern Browsers */
url("../fonts/roboto-v18-latin-regular.ttf") format("truetype"), /* Safari, Android, iOS */
url("../fonts/roboto-v18-latin-regular.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-italic - latin */
@font-face {
font-family: Roboto;
font-style: italic;
font-weight: 400;
src: url("../fonts/roboto-v18-latin-italic.eot"); /* IE9 Compat Modes */
src: local("Roboto Italic"), local("Roboto-Italic"),
url("../fonts/roboto-v18-latin-italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("../fonts/roboto-v18-latin-italic.woff2") format("woff2"), /* Super Modern Browsers */
url("../fonts/roboto-v18-latin-italic.woff") format("woff"), /* Modern Browsers */
url("../fonts/roboto-v18-latin-italic.ttf") format("truetype"), /* Safari, Android, iOS */
url("../fonts/roboto-v18-latin-italic.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 700;
src: url("../fonts/roboto-v18-latin-700.eot"); /* IE9 Compat Modes */
src: local("Roboto Bold"), local("Roboto-Bold"),
url("../fonts/roboto-v18-latin-700.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("../fonts/roboto-v18-latin-700.woff2") format("woff2"), /* Super Modern Browsers */
url("../fonts/roboto-v18-latin-700.woff") format("woff"), /* Modern Browsers */
url("../fonts/roboto-v18-latin-700.ttf") format("truetype"), /* Safari, Android, iOS */
url("../fonts/roboto-v18-latin-700.svg#Roboto") format("svg"); /* Legacy iOS */
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment