diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-10 14:29:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 14:29:38 +0900 |
commit | 6bf592a93cafd8e689ac8687f0b69ab9cd3394f0 (patch) | |
tree | 3bf76581f37cb639147c0f9628ea96c4e469749e /docs/_layouts/default.html | |
parent | 0dba6e7ad1a7860da441e3a5a19c0e7a74caeb8c (diff) | |
parent | 68cc663ac83a1013a8511a809f2a85914871da15 (diff) |
Merge pull request #785 from ueokande/docs-mobile-support
Support responsive design on docs
Diffstat (limited to 'docs/_layouts/default.html')
-rw-r--r-- | docs/_layouts/default.html | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 40080b5..0569452 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -17,7 +17,7 @@ </head> <body> - <header> + <header class='header-wide'> <h1><a href='index.html'>Vim Vixen</a></h1> <ul> <li><a target="_blank" rel="noopener" href='https://github.com/ueokande/vim-vixen'>GitHub</a></li> @@ -25,7 +25,11 @@ </ul> </header> - <aside> + <header class='header-mobile'> + <h1><a href='index.html'>Vim Vixen</a></h1> + </header> + + <aside class='aside-wide'> <h1>Guide</h1> <ul> <li><a href='./keymaps.html'>Keymaps</a></li> @@ -36,6 +40,24 @@ </ul> </aside> + <input class="open-menu-checkbox" type="checkbox" /> + <span class="open-menu-bar-container"> + <span class="open-menu-bar"></span><span class="open-menu-bar"></span><span class="open-menu-bar"></span> + </span> + + <aside class='aside-mobile'> + <ul> + <li><a href='./keymaps.html'>Keymaps</a></li> + <li><a href='./console_commands.html'>Console commands</a></li> + <li><a href='./blacklist.html'>Blacklist</a></li> + <li><a href='./search_engines.html'>Search engines</a></li> + <li><a href='./properties.html'>Properties</a></li> + <li class='separator'></li> + <li><a target="_blank" rel="noopener" href='https://github.com/ueokande/vim-vixen'>GitHub</a></li> + <li><a target="_blank" rel="noopener" href='https://addons.mozilla.org/firefox/addon/vim-vixen/'>Firefox Add-ons</a></li> + </ul> + </aside> + <main> <article> {{ content }} |