diff options
| author | Bobby <[email protected]> | 2024-10-16 18:54:17 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-10-16 18:54:17 -0400 |
| commit | 609cc6264e8a9dfc69666b40f7452300ad22caef (patch) | |
| tree | 95b9e5de8dcff5b225d753d0e4ff34d45d914476 /templates/shared/base.html | |
| parent | e71f872fd9220a4dfb794e1c91d8e8087002b937 (diff) | |
| download | thatcomputerscientist-609cc6264e8a9dfc69666b40f7452300ad22caef.tar.xz thatcomputerscientist-609cc6264e8a9dfc69666b40f7452300ad22caef.zip | |
some japanese translation
Diffstat (limited to 'templates/shared/base.html')
| -rw-r--r-- | templates/shared/base.html | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/templates/shared/base.html b/templates/shared/base.html index cb348109..8d04b64b 100644 --- a/templates/shared/base.html +++ b/templates/shared/base.html @@ -19,10 +19,27 @@ <link rel="icon" type="image/png" sizes="32x32" href="{% static 'images/favicons/favicon-32x32.png' %}" /> <link rel="icon" type="image/png" sizes="16x16" href="{% static 'images/favicons/favicon-16x16.png' %}" /> <link rel="manifest" href="{% static 'images/favicons/site.webmanifest' %}" /> - <link type="text/css" rel="stylesheet" href="{% static 'css/core.css' %}" /> + <link type="text/css" rel="stylesheet" href="{% static 'css/shared/core.css' %}" /> <link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> + {% if request.LANGUAGE_CODE == 'ja' %} + <link href="https://fonts.googleapis.com/css2?family=Yuji+Boku&display=swap" rel="stylesheet"> + <style> + * { + font-family: "Yuji Boku", sans-serif; + font-size: 11px; + letter-spacing: 0cap; + } + </style> + {% else %} <link href="https://fonts.googleapis.com/css2?family=Mali:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet" /> + <style> + * { + font-family: "Mali", sans-serif; + font-size: 11px; + } + </style> + {% endif %} {% block head %} {% endblock %} |
