Skip to main content

theme for ablog

Project description

This theme is a modified “alabaster” Sphinx theme (https://github.com/bitprophet/alabaster)

Add sidebar top in mobile view

Installation

pip install alabastermobile

Or

git clone https://github.com/fraoustin/alabastermobile.git
cd alabastermobile
python setup.py install

Use

In your conf.py

import alabastermobile
html_theme = 'alabastermobile'
html_theme_path = [alabastermobile.get_path()]
extensions = ['alabaster']

html_sidebars = {
    '**': [ 'about.html',
            'postcard.html', 'navigation.html',
            'tagcloud.html',
            'categories.html',  'archives.html',
            'searchbox.html',
            ],
}

0.2.3

add .shortcutsidebar

you can add after first div.document

<div class="shortcutsidebar">
    <ul>
        <li><a href="../old/" ><i class="fa-fw fa fa-2x fa-book"></i></a></li>
        <li><a href="../cloud/"><i class="fa-fw fa fa-2x fa-cloud"></i></a></li>
        <li><a href="../git/"><i class="fa-fw fa fa-2x fa-git"></i></a></li>
    </ul>
</div>

and in div.wy-nav-top mobile

<a href="../old/" class="moreapp"><i class="fa-fw fa fa-book"></i></a>
<a href="../cloud/"class="moreapp"><i class="fa-fw fa fa-2x fa-cloud"></i></a>
<a href="../git/"class="moreapp"><i class="fa-fw fa fa-2x fa-git"></i></a>

0.2.1

correction of css

  • font body
  • div highlight

0.1.9

manage read more

0.1.8

manage text-decoration of menu

manage setup.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for alabastermobile, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size alabastermobile-0.2.3.tar.gz (15.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page