Removing Google Fonts

This commit is contained in:
Jürgen Edelbluth 2022-08-31 17:30:43 +02:00
parent bef3987479
commit f1a1155d9d
Signed by: jed
GPG Key ID: 6DEAEDD5CDB646DF
18 changed files with 86 additions and 1 deletions

48
docs/_static/font/fira/style.css vendored Normal file
View File

@ -0,0 +1,48 @@
@font-face {
font-family: 'Fira Code';
src: url('woff2/FiraCode-Light.woff2') format('woff2'),
url("woff/FiraCode-Light.woff") format("woff");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Fira Code';
src: url('woff2/FiraCode-Regular.woff2') format('woff2'),
url("woff/FiraCode-Regular.woff") format("woff");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Fira Code';
src: url('woff2/FiraCode-Medium.woff2') format('woff2'),
url("woff/FiraCode-Medium.woff") format("woff");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Fira Code';
src: url('woff2/FiraCode-SemiBold.woff2') format('woff2'),
url("woff/FiraCode-SemiBold.woff") format("woff");
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Fira Code';
src: url('woff2/FiraCode-Bold.woff2') format('woff2'),
url("woff/FiraCode-Bold.woff") format("woff");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Fira Code VF';
src: url('woff2/FiraCode-VF.woff2') format('woff2-variations'),
url('woff/FiraCode-VF.woff') format('woff-variations');
/* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */
font-weight: 300 700;
font-style: normal;
}

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

16
docs/_static/font/vollkorn/style.css vendored Normal file
View File

@ -0,0 +1,16 @@
/* #### Generated By: http://www.cufonfonts.com #### */
@font-face {
font-family: 'Vollkorn Regular';
font-style: normal;
font-weight: normal;
src: local('Vollkorn Regular'), url('Vollkorn-Regular.woff') format('woff');
}
@font-face {
font-family: 'Vollkorn Bold';
font-style: normal;
font-weight: normal;
src: local('Vollkorn Bold'), url('Vollkorn-Bold.woff') format('woff');
}

21
docs/_templates/layout.html vendored Normal file
View File

@ -0,0 +1,21 @@
{% extends '!layout.html' %}
{%- block font %}
<!-- Fully omitting Google Fonts from Remote -->
<link href="{{ pathto('_static/font/vollkorn/style.css', 1) }}" rel="stylesheet">
<link href="{{ pathto('_static/font/fira/style.css', 1) }}" rel="stylesheet">
<style>
body,
input {
font-family: "Vollkorn Regular", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
code,
kbd,
pre {
font-family: "Fira Code VF", "Fira Code", "Courier New", Courier, monospace !important;
font-variant-ligatures: none;
}
</style>
{%- endblock %}

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "pytest-csv-params"
version = "1.0.1"
version = "1.0.2"
description = "Pytest plugin for Test Case Parametrization with CSV files"
authors = ["Juergen Edelbluth <csv_params@jued.de>"]
license = "MIT"