Fix shared.css file style missing

This commit is contained in:
Jesús 2021-06-14 18:39:03 -05:00
parent 999173b1ba
commit fc8a23099d
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
15 changed files with 10 additions and 70 deletions

View File

@ -202,8 +202,8 @@ For security reasons, enabling this is not recommended.''',
'comment': '', 'comment': '',
'options': [ 'options': [
(0, 'Browser default'), (0, 'Browser default'),
(1, 'Arial'), (1, 'Liberation Serif'),
(2, 'Liberation Serif'), (2, 'Arial'),
(3, 'Verdana'), (3, 'Verdana'),
(4, 'Tahoma'), (4, 'Tahoma'),
], ],

View File

@ -113,8 +113,8 @@ def error_page(e):
font_choices = { font_choices = {
0: 'initial', 0: 'initial',
1: 'arial, "liberation sans", sans-serif', 1: '"liberation serif", "times new roman", calibri, carlito, serif',
2: '"liberation serif", "times new roman", calibri, carlito, serif', 2: 'arial, "liberation sans", sans-serif',
3: 'verdana, sans-serif', 3: 'verdana, sans-serif',
4: 'tahoma, sans-serif', 4: 'tahoma, sans-serif',
} }

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -1,9 +1,3 @@
html {
font-family: "liberation serif", "times new roman", calibri, carlito, serif;
background: var(--background);
color: var(--text);
}
body { body {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 20px;

View File

@ -9,6 +9,7 @@
<link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/> <link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/>
<link href="/youtube.com/static/normalize.css" rel="stylesheet"/> <link href="/youtube.com/static/normalize.css" rel="stylesheet"/>
<link href="{{ theme_path }}" rel="stylesheet"/> <link href="{{ theme_path }}" rel="stylesheet"/>
<link href="/youtube.com/shared.css" rel="stylesheet">
{% block style %} {% block style %}
{{ style }} {{ style }}
{% endblock %} {% endblock %}

View File

@ -0,0 +1,5 @@
html {
font-family: {{ font_family }};
background: var(--background);
color: var(--text);
}