|
1 | 1 | <head> |
2 | | - <meta charset="UTF-8"> |
3 | | - <meta http-equiv="X-UA-Compatible" content="IE=Edge"> |
4 | | - |
5 | | - <link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}"> |
6 | | - |
7 | | - {% if site.ga_tracking != nil %} |
8 | | - {% assign ga_tracking_ids = site.ga_tracking | split: "," %} |
9 | | - <script async src="https://www.googletagmanager.com/gtag/js?id={{ ga_tracking_ids.first }}"></script> |
10 | | - <script> |
11 | | - window.dataLayer = window.dataLayer || []; |
12 | | - function gtag(){dataLayer.push(arguments);} |
13 | | - gtag('js', new Date()); |
14 | | - |
15 | | - {% for ga_property in ga_tracking_ids %} |
16 | | - gtag('config', '{{ ga_property }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %}); |
17 | | - {% endfor %} |
18 | | - </script> |
19 | | - {% endif %} |
| 2 | + <meta charset="UTF-8" /> |
| 3 | + <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> |
| 4 | + <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 5 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
| 6 | + <link |
| 7 | + href=" https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Geist:[email protected]&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Red+Rose:[email protected]&display=swap" |
| 8 | + rel="stylesheet" |
| 9 | + /> |
| 10 | + <link |
| 11 | + rel="stylesheet" |
| 12 | + href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}" |
| 13 | + /> |
| 14 | + |
| 15 | + {% if site.ga_tracking != nil %} {% assign ga_tracking_ids = site.ga_tracking |
| 16 | + | split: "," %} |
| 17 | + <script |
| 18 | + async |
| 19 | + src="https://www.googletagmanager.com/gtag/js?id={{ ga_tracking_ids.first }}" |
| 20 | + ></script> |
| 21 | + <script> |
| 22 | + window.dataLayer = window.dataLayer || []; |
| 23 | + function gtag(){dataLayer.push(arguments);} |
| 24 | + gtag('js', new Date()); |
20 | 25 |
|
21 | | - {% if site.search_enabled != false %} |
22 | | - <script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script> |
| 26 | + {% for ga_property in ga_tracking_ids %} |
| 27 | + gtag('config', '{{ ga_property }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %}); |
| 28 | + {% endfor %} |
| 29 | + </script> |
| 30 | + {% endif %} {% if site.search_enabled != false %} |
| 31 | + <script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script> |
23 | 32 | {% endif %} |
24 | 33 |
|
25 | 34 | <script src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script> |
26 | 35 |
|
27 | | - <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 36 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
28 | 37 |
|
29 | | - {% for file in site.static_files %} |
30 | | - {% if file.path == site.favicon_ico or file.path == '/favicon.ico' %} |
31 | | - {% assign favicon = true %} |
32 | | - {% endif %} |
33 | | - {% endfor %} |
34 | | - {% if favicon %} |
35 | | - <link rel="icon" href="{{ site.favicon_ico | default: '/favicon.ico' | relative_url }}" type="image/x-icon"> |
| 38 | + {% for file in site.static_files %} {% if file.path == site.favicon_ico or |
| 39 | + file.path == '/favicon.ico' %} {% assign favicon = true %} {% endif %} {% |
| 40 | + endfor %} {% if favicon %} |
| 41 | + <link |
| 42 | + rel="icon" |
| 43 | + href="{{ site.favicon_ico | default: '/favicon.ico' | relative_url }}" |
| 44 | + type="image/x-icon" |
| 45 | + /> |
36 | 46 | {% endif %} |
37 | | - |
| 47 | + |
38 | 48 | <script> |
39 | 49 | window.MathJax = { |
40 | | - tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] }, |
41 | | - svg: { fontCache: 'global' } |
| 50 | + tex: { |
| 51 | + inlineMath: [ |
| 52 | + ["$", "$"], |
| 53 | + ["\\(", "\\)"], |
| 54 | + ], |
| 55 | + }, |
| 56 | + svg: { fontCache: "global" }, |
42 | 57 | }; |
43 | 58 | </script> |
44 | | - <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" async></script> |
| 59 | + <script |
| 60 | + src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" |
| 61 | + async |
| 62 | + ></script> |
45 | 63 |
|
46 | 64 | {%- seo title=false -%} |
47 | 65 | <title>{{ site.data.l10n.title }}</title> |
48 | 66 |
|
49 | 67 | {% include head_custom.html %} |
50 | 68 |
|
| 69 | + <style> |
| 70 | + * { |
| 71 | + font-family: "DM Sans", sans-serif; |
| 72 | + font-optical-sizing: auto; |
| 73 | + } |
| 74 | + |
| 75 | + body { |
| 76 | + background-color: black !important; |
| 77 | + } |
| 78 | + |
| 79 | + @media (min-width: 1100px) { |
| 80 | + body { |
| 81 | + display: flex !important; |
| 82 | + height: 100vh; |
| 83 | + overflow-y: hidden; |
| 84 | + } |
| 85 | + .main { |
| 86 | + margin-left: 0px; |
| 87 | + max-width: none !important; |
| 88 | + height: 100%; |
| 89 | + } |
| 90 | + .main-content-wrap { |
| 91 | + height: 100%; |
| 92 | + overflow-y: auto; |
| 93 | + } |
| 94 | + .side-bar { |
| 95 | + width: max-content !important; |
| 96 | + min-width: none !important; |
| 97 | + scrollbar-width: "none"; |
| 98 | + position: relative; |
| 99 | + } |
| 100 | + .site-nav { |
| 101 | + overflow-y: scroll; |
| 102 | + padding-top: 8px !important; |
| 103 | + } |
| 104 | + .main-header, |
| 105 | + .main { |
| 106 | + width: 100% !important; |
| 107 | + } |
| 108 | + } |
| 109 | + |
| 110 | + a { |
| 111 | + color: rgb(82, 168, 255) !important; |
| 112 | + text-decoration: none !important; |
| 113 | + } |
| 114 | + p { |
| 115 | + color: #ededed !important; |
| 116 | + } |
| 117 | + |
| 118 | + h1 { |
| 119 | + line-height: 1 !important; |
| 120 | + } |
| 121 | + .main-header, |
| 122 | + .search, |
| 123 | + .search-input, |
| 124 | + .side-bar { |
| 125 | + background-color: black !important; |
| 126 | + } |
| 127 | + .site-nav { |
| 128 | + color: #ededed !important; |
| 129 | + scrollbar-width: thin; |
| 130 | + scrollbar-color: #eaeaea transparent; |
| 131 | + scrollbar-gutter: stable; |
| 132 | + } |
| 133 | + |
| 134 | + .nav-list-link { |
| 135 | + color: #a1a1a1 !important; |
| 136 | + } |
| 137 | + |
| 138 | + .nav-list-link.active { |
| 139 | + color: rgb(82, 168, 255) !important; |
| 140 | + background: none !important; |
| 141 | + } |
| 142 | + |
| 143 | + .site-button { |
| 144 | + background-color: #0a0a0a !important; |
| 145 | + color: #ededed !important; |
| 146 | + border-left-width: 1px !important; |
| 147 | + border-right-width: 1px !important; |
| 148 | + border-color: #ededed !important; |
| 149 | + display: "flex!important"; |
| 150 | + align-items: "center!important"; |
| 151 | + gap: 8px !important; |
| 152 | + } |
| 153 | + |
| 154 | + .site-button::before { |
| 155 | + content: url("/assets/svg/github.svg"); |
| 156 | + height: 14px; |
| 157 | + } |
| 158 | + </style> |
51 | 159 | </head> |
0 commit comments