Fix shared.css file style missing
This commit is contained in:
parent
999173b1ba
commit
fc8a23099d
@ -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'),
|
||||||
],
|
],
|
||||||
|
@ -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',
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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 %}
|
||||||
|
5
youtube/templates/shared.css
Normal file
5
youtube/templates/shared.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
html {
|
||||||
|
font-family: {{ font_family }};
|
||||||
|
background: var(--background);
|
||||||
|
color: var(--text);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user