chiark / gitweb /
css: set the hamburger glyph in top navbar from CSS.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 18 Nov 2017 14:10:44 +0000 (15:10 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sat, 18 Nov 2017 14:10:44 +0000 (15:10 +0100)
commit86d89fec918aab7dcede6aa56c6efff2d275ae86
treea1aceb526529627bb06acb3a6d0e6c0bcfd1c165
parentb6cad10645a8bd15001a7f45b9554131cb9dbd28
css: set the hamburger glyph in top navbar from CSS.

Instead of hardcoding it from the markup. This way when the CSS is not
present at all (broken site), the user is not present with confusing
hamburgers on the top.

Important: unless you are using the builtin Pelican theme, you need to
update your markup to remove the hamburger glyph, otherwise you'll have
two of them there.
css/m-components.css
doc/css/page-layout.rst
pelican-theme/templates/base.html