diff options
| author | Josh <[email protected]> | 2020-06-30 09:47:15 +1000 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-18 21:18:55 -0500 |
| commit | 29103c08abc47343238bcba53a908192376effe3 (patch) | |
| tree | 1c77ca46f121a234d25c1cade427720e83e66e2c /docs/_templates | |
| parent | Resize favicon to 256x256px for Chrome (diff) | |
| download | discord.py-29103c08abc47343238bcba53a908192376effe3.tar.xz discord.py-29103c08abc47343238bcba53a908192376effe3.zip | |
[matrix] Display navbar links on mobile
Diffstat (limited to 'docs/_templates')
| -rw-r--r-- | docs/_templates/layout.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 13452e08..ef5a81d2 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -9,6 +9,7 @@ <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="stylesheet" href="{{ pathto('_static/style.css', 1)|e }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/codeblocks.css', 1) }}" type="text/css" /> + <link rel="stylesheet" href="{{ pathto('_static/icons.css', 1)|e }}" type="text/css" /> {%- block css %} {%- for css in css_files %} {%- if css|attr("filename") %} @@ -58,9 +59,10 @@ <header class="grid-item"> <nav> <a href="{{ pathto(master_doc)|e }}" class="main-heading">discord.py</a> - <a href="https://github.com/Rapptz/discord.py">GitHub</a> - <a href="{{ discord_invite }}">{{ _('Discord') }}</a> - <a href="{{ pathto('faq') }}">FAQ</a> + <a href="https://github.com/Rapptz/discord.py" title="GitHub"><span class="material-icons custom-icons">github</span></a> + <a href="{{ discord_invite }}" title="{{ _('Discord') }}"><span class="material-icons custom-icons">discord</span></a> + <a href="{{ pathto('faq') }}" title="FAQ"><span class="material-icons">help_center</span></a> + <a href="{{ pathto('search') }}" title="{{ _('Search') }}" class='mobile-only'><span class="material-icons">search</span></a> {#- If we have more links we can put them here #} </nav> </header> |