├── src ├── tests │ ├── __init__.py │ ├── test_init.py │ └── test_directives.py ├── sphinxjp │ ├── __init__.py │ └── themes │ │ ├── __init__.py │ │ └── basicstrap │ │ ├── templates │ │ └── basicstrap │ │ │ ├── static │ │ │ ├── img │ │ │ │ ├── stars.gif │ │ │ │ ├── flames.gif │ │ │ │ ├── rainbow.gif │ │ │ │ ├── microfab.gif │ │ │ │ ├── progress.gif │ │ │ │ ├── glyphicons-halflings.png │ │ │ │ └── glyphicons-halflings-white.png │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ ├── fontawesome-webfont.woff2 │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── css │ │ │ │ ├── adjust_theme │ │ │ │ │ ├── bootswatch-paper.css_t │ │ │ │ │ ├── bootswatch-sandstone.css_t │ │ │ │ │ ├── geo-bootstrap.css_t │ │ │ │ │ ├── bootswatch-spruce.css_t │ │ │ │ │ ├── bootswatch-cerulean.css_t │ │ │ │ │ ├── bootswatch-flatly.css_t │ │ │ │ │ ├── bootswatch-simplex.css_t │ │ │ │ │ ├── bootswatch-darkly.css_t │ │ │ │ │ ├── bootswatch-lumen.css_t │ │ │ │ │ ├── bootswatch-united.css_t │ │ │ │ │ ├── bootswatch-yeti.css_t │ │ │ │ │ ├── _common_adjust.css │ │ │ │ │ ├── bootswatch-amelia.css_t │ │ │ │ │ ├── bootswatch-journal.css_t │ │ │ │ │ ├── bootswatch-readable.css_t │ │ │ │ │ ├── bootswatch-cosmo.css_t │ │ │ │ │ ├── bootswatch-cyborg.css_t │ │ │ │ │ ├── bootswatch-spacelab.css_t │ │ │ │ │ ├── bootswatch-slate.css_t │ │ │ │ │ ├── bootswatch-solar.css_t │ │ │ │ │ └── bootswatch-superhero.css_t │ │ │ │ ├── bootstrap3 │ │ │ │ │ ├── bootstrap-non-responsive.css │ │ │ │ │ └── bootstrap-theme.min.css │ │ │ │ ├── basicstrap.css_t │ │ │ │ ├── basicstrap-base.css │ │ │ │ ├── bootstrap2 │ │ │ │ │ └── bootstrap-responsive.min.css │ │ │ │ └── font-awesome.min.css │ │ │ └── js │ │ │ │ ├── jquery.cookie.min.js │ │ │ │ ├── jquery.cookie-1.4.1.min.js │ │ │ │ └── basicstrap.js_t │ │ │ ├── theme.conf │ │ │ ├── searchbox.html │ │ │ ├── searchresults.html │ │ │ ├── search.html │ │ │ ├── _theme_preview.html │ │ │ └── layout.html │ │ ├── __init__.py │ │ └── directives.py └── LICENSE.txt ├── docs ├── _static │ └── img │ │ ├── webfont.png │ │ ├── nosidebar.png │ │ ├── smartphone.png │ │ ├── content_fixed.png │ │ ├── navbar_fixed.png │ │ ├── rightsidebar.png │ │ ├── sidebar_span.png │ │ ├── navbar_inverse.png │ │ └── bootswatch-amelia.png ├── history.rst ├── options.rst ├── index.rst ├── conf.py ├── Makefile ├── make.bat └── design.rst ├── .gitignore ├── MANIFEST.in ├── tox.ini ├── setup.cfg ├── .travis.yml ├── setup.py └── README.rst /src/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sphinxjp/__init__.py: -------------------------------------------------------------------------------- 1 | __import__('pkg_resources').declare_namespace(__name__) # pragma NO COVERAGE 2 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/__init__.py: -------------------------------------------------------------------------------- 1 | __import__('pkg_resources').declare_namespace(__name__) # pragma NO COVERAGE 2 | -------------------------------------------------------------------------------- /docs/_static/img/webfont.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/webfont.png -------------------------------------------------------------------------------- /docs/_static/img/nosidebar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/nosidebar.png -------------------------------------------------------------------------------- /docs/_static/img/smartphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/smartphone.png -------------------------------------------------------------------------------- /docs/_static/img/content_fixed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/content_fixed.png -------------------------------------------------------------------------------- /docs/_static/img/navbar_fixed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/navbar_fixed.png -------------------------------------------------------------------------------- /docs/_static/img/rightsidebar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/rightsidebar.png -------------------------------------------------------------------------------- /docs/_static/img/sidebar_span.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/sidebar_span.png -------------------------------------------------------------------------------- /docs/_static/img/navbar_inverse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/navbar_inverse.png -------------------------------------------------------------------------------- /docs/_static/img/bootswatch-amelia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/docs/_static/img/bootswatch-amelia.png -------------------------------------------------------------------------------- /docs/history.rst: -------------------------------------------------------------------------------- 1 | ===================== 2 | History and Authors 3 | ===================== 4 | 5 | .. include:: ../src/HISTORY.txt 6 | .. include:: ../src/AUTHORS.txt 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .installed.cfg 2 | *.pyc 3 | *.swp 4 | bin 5 | _build 6 | develop-eggs 7 | dist 8 | eggs 9 | parts 10 | *.egg-info 11 | *.*~ 12 | .tox 13 | .coverage 14 | .eggs 15 | venv 16 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include MANIFEST.in 2 | global-exclude *.swp 3 | recursive-include docs * 4 | recursive-include src *.py *.txt *.html *.css* *.conf *.png *.gif *.js* *.eot *.svg *.ttf *.woff *.otf 5 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/stars.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/stars.gif -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/flames.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/flames.gif -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/rainbow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/rainbow.gif -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/microfab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/microfab.gif -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/progress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/progress.gif -------------------------------------------------------------------------------- /docs/options.rst: -------------------------------------------------------------------------------- 1 | ================ 2 | conf.py sample 3 | ================ 4 | 5 | .. _sample_conf: 6 | 7 | Sample and HTML theme options 8 | ============================= 9 | 10 | .. literalinclude:: conf.py 11 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tell-k/sphinxjp.themes.basicstrap/HEAD/src/sphinxjp/themes/basicstrap/templates/basicstrap/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist=py34,py35,py36,py37,flake8 3 | 4 | [testenv] 5 | commands= 6 | {envpython} setup.py test 7 | 8 | [testenv:py34] 9 | deps= 10 | docutils>=0.10.0 11 | 12 | [testenv:flake8] 13 | deps= 14 | flake8 15 | commands= 16 | flake8 src 17 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [egg_info] 2 | ;tag_build = dev 3 | 4 | [build] 5 | build-base = _build 6 | 7 | [sdist] 8 | formats = gztar 9 | 10 | [wheel] 11 | universal = 1 12 | 13 | [check] 14 | strict = 1 15 | 16 | [aliases] 17 | release = sdist bdist_wheel 18 | test = pytest 19 | 20 | [tool:pytest] 21 | addopts = -vv --cov sphinxjp --cov-report term-missing 22 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | sudo: false 3 | matrix: 4 | include: 5 | - python: 3.4 6 | env: TOXENV=py34 7 | - python: 3.5 8 | env: TOXENV=py35 9 | - python: 3.6 10 | env: TOXENV=py36 11 | - python: 3.7 12 | env: TOXENV=py37 13 | dist: xenial 14 | sudo: true 15 | - python: 3.7 16 | env: TOXENV=flake8 17 | dist: xenial 18 | sudo: true 19 | install: 20 | - pip install tox 21 | - if test "$TOXENV" = py37 ; then pip install coveralls ; fi 22 | script: tox 23 | after_script: 24 | - if test "$TOXENV" = py37 ; then coveralls ; fi 25 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | sphinxjp.themes.basicstrap 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | :author: tell-k 7 | :copyright: tell-k. All Rights Reserved. 8 | """ 9 | 10 | from os import path 11 | from sphinxjp.themes.basicstrap import directives 12 | 13 | __version__ = '0.5.0' 14 | 15 | package_dir = path.abspath(path.dirname(__file__)) 16 | template_path = path.join(package_dir, 'templates', 'basicstrap') 17 | 18 | 19 | def get_path(): 20 | """entry-point for theme.""" 21 | return template_path 22 | 23 | 24 | def setup(app): 25 | """entry-point for sphinx directive.""" 26 | app.add_html_theme('basicstrap', get_path()) 27 | directives.setup(app) 28 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-paper.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#666" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#d23f3c" %} 7 | {% set danger_border_color = "#d23f3c" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#f19842" %} 11 | {% set warning_border_color = "#f19842" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#69a858" %} 15 | {% set note_border_color = "#69a858" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#8e45ab" %} 19 | {% set hint_border_color = "#8e45ab" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-sandstone.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#3e3f3a" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#c9605a" %} 7 | {% set danger_border_color = "#c9605a" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#e48353" %} 11 | {% set warning_border_color = "#e48353" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#9fbe5b" %} 15 | {% set note_border_color = "#9fbe5b" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#55abda" %} 19 | {% set hint_border_color = "#55abda" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/theme.conf: -------------------------------------------------------------------------------- 1 | [theme] 2 | inherit = basic 3 | stylesheet = css/basicstrap.css 4 | pygments_style = friendly 5 | 6 | [options] 7 | lang = en 8 | 9 | nosidebar = false 10 | header_searchbox = false 11 | 12 | rightsidebar = false 13 | sidebar_span = 3 14 | 15 | nav_fixed_top = true 16 | nav_fixed = false 17 | content_fixed = false 18 | row_fixed = false 19 | 20 | noresponsive = false 21 | noresponsiverelbar = false 22 | noflatdesign = false 23 | 24 | nav_width = 900px 25 | content_width = 900px 26 | 27 | googlewebfont = false 28 | googlewebfont_url = http://fonts.googleapis.com/css?family=Text+Me+One 29 | googlewebfont_style = font-family: 'Text Me One', sans-serif; 30 | 31 | header_inverse = false 32 | relbar_inverse = false 33 | 34 | inner_theme = false 35 | inner_theme_name = bootswatch-simplex 36 | 37 | bootstrap_version = 3 38 | 39 | h1_size = 40 | h2_size = 41 | h3_size = 42 | h4_size = 43 | h5_size = 44 | h6_size = 45 | 46 | theme_preview = false 47 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/geo-bootstrap.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#228000" %} 2 | 3 | {% set danger_color = "#ffffff" %} 4 | {% set danger_background_color = "#f40000" %} 5 | {% set danger_border_color = "#a20000" %} 6 | 7 | {% set warning_color = "#000000" %} 8 | {% set warning_background_color = "#fcfe00" %} 9 | {% set warning_border_color = "#f40000" %} 10 | 11 | {% set note_color = "#ffffff" %} 12 | {% set note_background_color = "#228000" %} 13 | {% set note_border_color = "#2faa00" %} 14 | 15 | {% set hint_color = "#000000" %} 16 | {% set hint_background_color = "#57ffff" %} 17 | {% set hint_border_color = "#a8a900" %} 18 | 19 | {% include "static/css/adjust_theme/_common_adjust.css" %} 20 | 21 | table.docutils { 22 | -webkit-border-radius: 0px; 23 | -moz-border-radius: 0px; 24 | border-radius: 0px; 25 | } 26 | 27 | div.admonition { 28 | -webkit-border-radius: 0px; 29 | -moz-border-radius: 0px; 30 | border-radius: 0px; 31 | } 32 | 33 | div.topic { 34 | background: url("../../img/stars.gif") !important; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/searchbox.html: -------------------------------------------------------------------------------- 1 | {# 2 | basicstrap/searchbox.html 3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Sphinx sidebar template: quick search box. 6 | 7 | :copyright: Copyright 2012 by tell-k. 8 | :license: MIT Licence, see LICENSE for details. 9 | #} 10 | {%- if pagename != "search" %} 11 | 27 | {%- endif %} 28 | -------------------------------------------------------------------------------- /src/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 tell-k 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-spruce.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#999999" %} 2 | {% set table_oddrow_color = "#eaeaea;" %} 3 | {% set table_hover_color = "#dddddd" %} 4 | {% set table_color = "#555" %} 5 | {% set table_background_color = "#fff" %} 6 | 7 | {% set danger_color = "#ffffff" %} 8 | {% set danger_background_color = "#d14432" %} 9 | {% set danger_border_color = "#c72d35" %} 10 | 11 | {% set warning_color = "#ffffff" %} 12 | {% set warning_background_color = "#f26522" %} 13 | {% set warning_border_color = "#f13614" %} 14 | 15 | {% set note_color = "#ffffff" %} 16 | {% set note_background_color = "#24c00b" %} 17 | {% set note_border_color = "#3aa80a" %} 18 | 19 | {% set hint_color = "#ffffff" %} 20 | {% set hint_background_color = "#185af9" %} 21 | {% set hint_border_color = "#066ee7" %} 22 | 23 | div.navbar-inner ul.pull-right li a{ 24 | font-size: 15px; 25 | } 26 | 27 | @media (max-width: 480px) { 28 | a.brand { 29 | line-height: 25px; 30 | } 31 | } 32 | 33 | table.docutils th.head { 34 | background-color: #015b4e; 35 | color: #fff; 36 | } 37 | 38 | {% include "static/css/adjust_theme/_common_adjust.css" %} 39 | -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- 1 | ============================================= 2 | Basicstrap style theme sample for Sphinx 3 | ============================================= 4 | 5 | 6 | Inner theme preview 7 | =================== 8 | 9 | You can see the inner theme in real time If you select a theme. 10 | 11 | .. raw:: html 12 | 13 | theme prview 14 | 15 | 16 | Quick start 17 | =========== 18 | 19 | install(pip): 20 | 21 | .. code-block:: bash 22 | 23 | $ pip install sphinxjp.themes.basicstrap 24 | 25 | 26 | setup your ``conf.py`` with: 27 | 28 | .. code-block:: bash 29 | 30 | extensions = ['sphinxjp.themes.basicstrap'] 31 | html_theme = 'basicstrap' 32 | 33 | and run: 34 | 35 | .. code-block:: bash 36 | 37 | $ make html 38 | 39 | then your will get this page's style HTML output. 40 | 41 | Links 42 | ===== 43 | 44 | :download: https://github.com/tell-k/sphinxjp.themes.basicstrap 45 | :repository: https://github.com/tell-k/sphinxjp.themes.basicstrap 46 | :bug tracker: https://github.com/tell-k/sphinxjp.themes.basicstrap/issues 47 | 48 | 49 | Contents 50 | ======== 51 | 52 | .. toctree:: 53 | :maxdepth: 2 54 | 55 | options 56 | design 57 | sample 58 | history 59 | 60 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-cerulean.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#555" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% include "static/css/adjust_theme/_common_adjust.css" %} 6 | 7 | /* Heading 8 | ---------------------------------------------------------*/ 9 | 10 | h2, h3, h4, h5, h6 { 11 | border-bottom: 1px solid #eeeeee !important; 12 | } 13 | 14 | /* Contents 15 | ---------------------------------------------------------*/ 16 | 17 | div.contents { 18 | background-color: #eeeeee; 19 | border: 1px solid #eeeeee; 20 | box-shadow: none; 21 | } 22 | 23 | /* Genindex 24 | ---------------------------------------------------------*/ 25 | 26 | div.genindex-jumpbox { 27 | color: #eeeeee; 28 | border-top: 1px solid #eeeeee; 29 | border-bottom: 1px solid #eeeeee; 30 | } 31 | 32 | /* Smartphone Local Toc 33 | ---------------------------------------------------------*/ 34 | 35 | ul.sp-localtoc ul a{ 36 | color: #ffffff; 37 | } 38 | ul.sp-localtoc ul a:hover{ 39 | background-color: #178acc; 40 | color: #ffffff; 41 | } 42 | div.navbar-inverse ul.sp-localtoc ul a{ 43 | color: #ffffff; 44 | } 45 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 46 | background-color: #022f5a; 47 | color: #ffffff; 48 | } 49 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/js/jquery.cookie.min.js: -------------------------------------------------------------------------------- 1 | /*! jquery.cookie v1.4.1 | MIT */ 2 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/js/jquery.cookie-1.4.1.min.js: -------------------------------------------------------------------------------- 1 | /*! jquery.cookie v1.4.1 | MIT */ 2 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/searchresults.html: -------------------------------------------------------------------------------- 1 | {# 2 | basicstrap/searchresults.html 3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Template for the body of the search results page. 6 | 7 | :copyright: Copyright 2012 by tell-k. 8 | :license: MIT Licence, see LICENSE for details. 9 | #} 10 |

Search

11 |

12 | From here you can search these documents. Enter your search 13 | words into the box below and click "search". 14 |

15 | 22 | {%- if search_performed %} 23 |

Search Results

24 | {%- if not search_results %} 25 |

Your search did not match any results.

26 | {%- endif %} 27 | {%- endif %} 28 |
29 | {%- if search_results %} 30 | 37 | {%- endif %} 38 |
39 | -------------------------------------------------------------------------------- /src/tests/test_init.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | unittest for sphinxjp.themes.basicstrap 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | :author: tell-k 7 | :copyright: tell-k. All Rights Reserved. 8 | """ 9 | 10 | 11 | class TestGetPath(object): 12 | 13 | def _get_target(self): 14 | from sphinxjp.themes.basicstrap import get_path 15 | return get_path 16 | 17 | def _call_fut(self, *args, **kwargs): 18 | return self._get_target()(*args, **kwargs) 19 | 20 | def test_it(self): 21 | from sphinxjp.themes import basicstrap 22 | assert basicstrap.template_path == self._call_fut() 23 | 24 | 25 | class TestSetup(object): 26 | 27 | def _get_target(self): 28 | from sphinxjp.themes.basicstrap import setup 29 | return setup 30 | 31 | def _call_fut(self, *args, **kwargs): 32 | return self._get_target()(*args, **kwargs) 33 | 34 | def test_it(self): 35 | 36 | class DummyApp: 37 | 38 | def add_html_theme(self, theme, path): 39 | self.theme = theme 40 | self.path = path 41 | 42 | def add_role(self, name, role): 43 | self.name = role 44 | self.role = role 45 | 46 | dummy_app = DummyApp() 47 | 48 | self._call_fut(dummy_app) 49 | assert dummy_app.theme == "basicstrap" 50 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/directives.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | sphinxjp.themes.basicstrap.directives 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | :author: tell-k 7 | :copyright: tell-k. All Rights Reserved. 8 | """ 9 | from docutils import nodes 10 | from docutils.parsers.rst.roles import set_classes 11 | from sphinx.util import logging 12 | 13 | logger = logging.getLogger(__name__) 14 | 15 | 16 | def fonticon_role(name, rawtext, text, lineno, 17 | inliner, options={}, content=[]): 18 | """Create Font Icon Tag. 19 | 20 | :param name: The role name used in the document. 21 | :param rawtext: The entire markup snippet, with role. 22 | :param text: The text marked with the role. 23 | :param lineno: The line number where rawtext appears in the input. 24 | :param inliner: The inliner instance that called us. 25 | :param options: Directive options for customization. 26 | :param content: The directive content for customization. 27 | """ 28 | set_classes(options) 29 | options['classes'] = ["icon"] 30 | for icon in text.split(" "): 31 | options['classes'].append(icon) 32 | return [nodes.inline('', '', **options)], [] 33 | 34 | 35 | def setup(app): 36 | """Initialize 37 | :param app: Sphinx application context. 38 | """ 39 | logger.info('Initializing Basicstrap theme directives') 40 | app.add_role('fonticon', fonticon_role) 41 | return 42 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-flatly.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#ecf0f1" %} 2 | {% set table_color = "#2c3e50" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#dd4838" %} 7 | {% set danger_border_color = "#dd4838" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#ec9B00" %} 11 | {% set warning_border_color = "#ec9B00" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#40bc9c" %} 15 | {% set note_border_color = "#40bc9c" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#4b99dc" %} 19 | {% set hint_border_color = "#4b99dc" %} 20 | 21 | 22 | {% include "static/css/adjust_theme/_common_adjust.css" %} 23 | 24 | /* Heading 25 | ---------------------------------------------------------*/ 26 | 27 | h2, h3, h4, h5, h6 { 28 | border-bottom: 1px solid #ecf0f1 !important; 29 | } 30 | 31 | /* Genindex 32 | ---------------------------------------------------------*/ 33 | 34 | div.genindex-jumpbox { 35 | color: #ecf0f1; 36 | border-top: 1px solid #ecf0f1; 37 | border-bottom: 1px solid #ecf0f1; 38 | } 39 | 40 | /* Smartphone Local Toc 41 | ---------------------------------------------------------*/ 42 | 43 | ul.sp-localtoc ul a{ 44 | color: #ffffff; 45 | } 46 | ul.sp-localtoc ul a:hover{ 47 | background-color: transparent; 48 | color: #00bc8c; 49 | } 50 | div.navbar-inverse ul.sp-localtoc ul a{ 51 | color: #ffffff; 52 | } 53 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 54 | background-color: transparent; 55 | color: #2c3e50; 56 | } 57 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-simplex.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#777" %} 3 | {% set table_background_color = "#fcfcfc" %} 4 | 5 | 6 | {% set danger_color = "#ffffff" %} 7 | {% set danger_background_color = "#d88400" %} 8 | {% set danger_border_color = "#d88400" %} 9 | 10 | {% set warning_color = "#ffffff" %} 11 | {% set warning_background_color = "#9c43a1" %} 12 | {% set warning_border_color = "#9c43a1" %} 13 | 14 | {% set note_color = "#ffffff" %} 15 | {% set note_background_color = "#439500" %} 16 | {% set note_border_color = "#439500" %} 17 | 18 | {% set hint_color = "#ffffff" %} 19 | {% set hint_background_color = "#0099d1" %} 20 | {% set hint_border_color = "#0099d1" %} 21 | 22 | {% include "static/css/adjust_theme/_common_adjust.css" %} 23 | 24 | /* Heading 25 | ---------------------------------------------------------*/ 26 | 27 | h2, h3, h4, h5, h6 { 28 | border-bottom: 1px solid #dddddd !important; 29 | } 30 | 31 | /* Genindex 32 | ---------------------------------------------------------*/ 33 | 34 | div.genindex-jumpbox { 35 | color: #dddddd; 36 | border-top: 1px solid #dddddd; 37 | border-bottom: 1px solid #dddddd; 38 | } 39 | 40 | /* Contents 41 | ---------------------------------------------------------*/ 42 | 43 | div.contents { 44 | background-color: #f4f4f4; 45 | border: none; 46 | box-shadow: none; 47 | } 48 | 49 | /* Smartphone Local Toc 50 | ---------------------------------------------------------*/ 51 | 52 | ul.sp-localtoc ul a{ 53 | color: #333333; 54 | } 55 | ul.sp-localtoc ul a:hover{ 56 | color: #d9230f; 57 | } 58 | div.navbar-inverse ul.sp-localtoc ul a{ 59 | color: #ffffff; 60 | } 61 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 62 | color: #fac0ba; 63 | } 64 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-darkly.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#464545" %} 2 | {% set table_color = "#fff" %} 3 | {% set table_background_color = "#222" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#e94b35" %} 7 | {% set danger_border_color = "#e94b35" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#f59d00" %} 11 | {% set warning_border_color = "#f59d00" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#00bd8b" %} 15 | {% set note_border_color = "#00bd8b" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#2c97de" %} 19 | {% set hint_border_color = "#2c97de" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #464545 !important; 28 | } 29 | 30 | /* Contents 31 | ---------------------------------------------------------*/ 32 | 33 | div.contents { 34 | background-color: #464545; 35 | } 36 | 37 | /* Genindex 38 | ---------------------------------------------------------*/ 39 | 40 | div.genindex-jumpbox { 41 | color: #464545; 42 | border-top: 1px solid #464545; 43 | border-bottom: 1px solid #464545; 44 | } 45 | 46 | /* Smartphone Local Toc 47 | ---------------------------------------------------------*/ 48 | 49 | ul.sp-localtoc ul a{ 50 | color: #ffffff; 51 | } 52 | ul.sp-localtoc ul a:hover{ 53 | background-color: transparent; 54 | color: #00bc8c; 55 | } 56 | div.navbar-inverse ul.sp-localtoc ul a{ 57 | color: #ffffff; 58 | } 59 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 60 | background-color: transparent; 61 | color: #375a7f; 62 | } 63 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-lumen.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#555" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#ff3f2c" %} 7 | {% set danger_border_color = "#ff3f2c" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#ff8500" %} 11 | {% set warning_border_color = "#ff8500" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#18B81D" %} 15 | {% set note_border_color = "#18B81D" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#71CAED" %} 19 | {% set hint_border_color = "#71CAED" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #eeeeee !important; 28 | } 29 | 30 | /* Contents 31 | ---------------------------------------------------------*/ 32 | 33 | div.contents { 34 | background-color: #fafafa; 35 | border-color: #eeeeee; 36 | } 37 | 38 | /* Genindex 39 | ---------------------------------------------------------*/ 40 | 41 | div.genindex-jumpbox { 42 | color: #eeeeee; 43 | border-top: 1px solid #eeeeee; 44 | border-bottom: 1px solid #eeeeee; 45 | } 46 | 47 | /* Smartphone Local Toc 48 | ---------------------------------------------------------*/ 49 | 50 | ul.sp-localtoc ul a{ 51 | color: #999999; 52 | } 53 | ul.sp-localtoc ul a:hover{ 54 | background-color: transparent; 55 | color: #333333; 56 | } 57 | div.navbar-inverse ul.sp-localtoc ul a{ 58 | color: #999999; 59 | } 60 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 61 | background-color: transparent; 62 | color: #333333; 63 | } 64 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/bootstrap3/bootstrap-non-responsive.css: -------------------------------------------------------------------------------- 1 | /* Template-specific stuff 2 | * 3 | * Customizations just for the template; these are not necessary for anything 4 | * with disabling the responsiveness. 5 | */ 6 | 7 | /* Account for fixed navbar */ 8 | body { 9 | min-width: 970px; 10 | } 11 | 12 | /* Finesse the page header spacing */ 13 | .page-header { 14 | margin-bottom: 30px; 15 | } 16 | .page-header .lead { 17 | margin-bottom: 10px; 18 | } 19 | 20 | 21 | /* Non-responsive overrides 22 | * 23 | * Utilitze the following CSS to disable the responsive-ness of the container, 24 | * grid system, and navbar. 25 | */ 26 | /* Reset the container */ 27 | .container { 28 | width: 970px; 29 | max-width: none !important; 30 | } 31 | 32 | /* Demonstrate the grids */ 33 | .col-xs-3 { 34 | } 35 | 36 | .container .navbar-header, 37 | .container .navbar-collapse { 38 | margin-right: 0; 39 | margin-left: 0; 40 | } 41 | 42 | /* Always float the navbar header */ 43 | .navbar-header { 44 | float: left; 45 | } 46 | 47 | /* Undo the collapsing navbar */ 48 | .navbar-collapse { 49 | display: block !important; 50 | height: auto !important; 51 | padding-bottom: 0; 52 | overflow: visible !important; 53 | } 54 | .navbar-toggle { 55 | display: none; 56 | } 57 | .navbar-collapse { 58 | border-top: 0; 59 | } 60 | .navbar-brand { 61 | margin-left: -15px; 62 | } 63 | /* Always apply the floated nav */ 64 | .navbar-nav { 65 | float: left; 66 | margin: 0; 67 | } 68 | .navbar-nav > li { 69 | float: left; 70 | } 71 | .navbar-nav > li > a { 72 | padding: 15px; 73 | } 74 | /* Redeclare since we override the float above */ 75 | .navbar-nav.navbar-right { 76 | float: right; 77 | } 78 | /* Undo custom dropdowns */ 79 | .navbar .navbar-nav .open .dropdown-menu { 80 | position: absolute; 81 | float: left; 82 | } 83 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-united.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#333" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#e13622" %} 7 | {% set danger_border_color = "#e13622" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#f0b82d" %} 11 | {% set warning_border_color = "#f0b82d" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#30b644" %} 15 | {% set note_border_color = "#30b644" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#782753" %} 19 | {% set hint_border_color = "#782753" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #eeeeee !important; 28 | } 29 | 30 | /* Genindex 31 | ---------------------------------------------------------*/ 32 | 33 | div.genindex-jumpbox { 34 | color: #eeeeee; 35 | border-top: 1px solid #eeeeee; 36 | border-bottom: 1px solid #eeeeee; 37 | } 38 | 39 | /* Contents 40 | ---------------------------------------------------------*/ 41 | 42 | div.contents { 43 | background-color: #eeeeee; 44 | border: none; 45 | box-shadow: none; 46 | } 47 | 48 | /* Smartphone Local Toc 49 | ---------------------------------------------------------*/ 50 | 51 | ul.sp-localtoc ul a{ 52 | color: #ffffff; 53 | } 54 | ul.sp-localtoc ul a:hover{ 55 | color: #ffffff; 56 | background-color: #97310e; 57 | } 58 | div.navbar-inverse ul.sp-localtoc ul a{ 59 | color: #ffffff; 60 | } 61 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 62 | color: #ffffff; 63 | background-color: #3e152b; 64 | } 65 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-yeti.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#222" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#f33f13" %} 7 | {% set danger_border_color = "#ed2c00" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#eb9100" %} 11 | {% set warning_border_color = "#d28100" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#3ead68" %} 15 | {% set note_border_color = "#379b5d" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#56c0e0" %} 19 | {% set hint_border_color = "#3ab5da" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #dddddd !important; 28 | } 29 | 30 | /* Genindex 31 | ---------------------------------------------------------*/ 32 | 33 | div.genindex-jumpbox { 34 | color: #dddddd; 35 | border-top: 1px solid #dddddd; 36 | border-bottom: 1px solid #dddddd; 37 | } 38 | 39 | /* Contents 40 | ---------------------------------------------------------*/ 41 | 42 | div.contents { 43 | background-color: #fafafa; 44 | border: none; 45 | box-shadow: none; 46 | } 47 | 48 | /* Smartphone Local Toc 49 | ---------------------------------------------------------*/ 50 | 51 | ul.sp-localtoc ul a{ 52 | color: #ffffff; 53 | } 54 | ul.sp-localtoc ul a:hover{ 55 | color: #ffffff; 56 | background-color: #272727; 57 | } 58 | div.navbar-inverse ul.sp-localtoc ul a{ 59 | color: #ffffff; 60 | } 61 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 62 | color: #ffffff; 63 | background-color: #006687; 64 | } 65 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/_common_adjust.css: -------------------------------------------------------------------------------- 1 | 2 | /* Table 3 | ---------------------------------------------------------*/ 4 | 5 | table.docutils { 6 | border-color: {{ table_border_color }}; 7 | } 8 | table.docutils tr { 9 | color: {{ table_color }}; 10 | background-color: {{ table_background_color }} ; 11 | } 12 | table.docutils th, 13 | table.docutils td 14 | { 15 | border-color: {{ table_border_color }}; 16 | } 17 | table.docutils tbody + tbody { 18 | border-color: {{ table_border_color }}; 19 | } 20 | 21 | /* Table-bordered 22 | ---------------------------------------------------------*/ 23 | 24 | table.table-bordered { 25 | border-color: {{ table_border_color }}; 26 | } 27 | 28 | /* -- admonition -- */ 29 | div.admonition { 30 | color: {{ warning_color }}; 31 | background-color: {{ warning_background_color }}; 32 | border-color: {{ warning_border_color }}; 33 | } 34 | 35 | /* -- danger, error -- */ 36 | div.danger, 37 | div.error { 38 | color: {{ danger_color }}; 39 | background-color: {{ danger_background_color }}; 40 | border-color: {{ danger_border_color }}; 41 | } 42 | 43 | /* -- warning, caution, attention -- */ 44 | div.warning, 45 | div.caution, 46 | div.attention { 47 | color: {{ warning_color }}; 48 | background-color: {{ warning_background_color }}; 49 | border-color: {{ warning_border_color }}; 50 | } 51 | 52 | /* -- note, important -- */ 53 | div.note, 54 | div.important { 55 | color: {{ note_color }}; 56 | background-color: {{ note_background_color }}; 57 | border-color: {{ note_border_color }}; 58 | } 59 | 60 | /* -- hint, tip -- */ 61 | div.hint, 62 | div.tip { 63 | color: {{ hint_color }}; 64 | background-color: {{ hint_background_color }}; 65 | border-color: {{ hint_border_color }}; 66 | } 67 | 68 | div.topic { 69 | background-color: {{ table_oddrow_color }}; 70 | border-color: {{ table_border_color }}; 71 | } 72 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-amelia.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#357279" %} 2 | {% set table_color = "#fff" %} 3 | {% set table_background_color = "#108a93" %} 4 | 5 | {% set danger_color = "rgba(255, 255, 255, 0.9)" %} 6 | {% set danger_background_color = "#d5b321" %} 7 | {% set danger_border_color = "#d5b321" %} 8 | 9 | {% set warning_color = "rgba(255, 255, 255, 0.9)" %} 10 | {% set warning_background_color = "#df6e1e" %} 11 | {% set warning_border_color = "#df6e1e" %} 12 | 13 | {% set note_color = "rgba(255, 255, 255, 0.9)" %} 14 | {% set note_background_color = "#48ca3b" %} 15 | {% set note_border_color = "#48ca3b" %} 16 | 17 | {% set hint_color = "rgba(255, 255, 255, 0.9)" %} 18 | {% set hint_background_color = "#4d3a7d" %} 19 | {% set hint_border_color = "#4d3a7d" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #00747d !important; 28 | } 29 | 30 | /* Contents 31 | ---------------------------------------------------------*/ 32 | 33 | div.contents { 34 | background-color: #00747d; 35 | border: none; 36 | box-shadow: none; 37 | } 38 | 39 | /* Genindex 40 | ---------------------------------------------------------*/ 41 | 42 | div.genindex-jumpbox { 43 | color: #00747d; 44 | border-top: 1px solid #00747d; 45 | border-bottom: 1px solid #00747d; 46 | } 47 | 48 | /* Smartphone Local Toc 49 | ---------------------------------------------------------*/ 50 | 51 | ul.sp-localtoc ul a{ 52 | color: #ffffff; 53 | } 54 | ul.sp-localtoc ul a:hover{ 55 | background-color: #d92432; 56 | color: #ffffff; 57 | } 58 | div.navbar-inverse ul.sp-localtoc ul a{ 59 | color: #ffffff; 60 | } 61 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 62 | background-color: #e5c953; 63 | color: #ffffff; 64 | } 65 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-journal.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#777777" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#ed6761" %} 7 | {% set danger_border_color = "#ed6761" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#f77400" %} 11 | {% set warning_border_color = "#f77400" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#11b446" %} 15 | {% set note_border_color = "#11b446" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#306598" %} 19 | {% set hint_border_color = "#306598" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | 24 | /* Heading 25 | ---------------------------------------------------------*/ 26 | 27 | h2, h3, h4, h5, h6 { 28 | border-bottom: 1px solid #eeeeee !important; 29 | } 30 | 31 | /* Contents 32 | ---------------------------------------------------------*/ 33 | 34 | div.contents { 35 | background-color: #eeeeee; 36 | border-color: #eeeeee; 37 | } 38 | 39 | /* Genindex 40 | ---------------------------------------------------------*/ 41 | 42 | div.genindex-jumpbox { 43 | color: #eeeeee; 44 | border-top: 1px solid #eeeeee; 45 | border-bottom: 1px solid #eeeeee; 46 | } 47 | 48 | /* Smartphone Local Toc 49 | ---------------------------------------------------------*/ 50 | 51 | ul.sp-localtoc ul a{ 52 | color: #000000; 53 | } 54 | ul.sp-localtoc ul a:hover{ 55 | background-color: #eeeeee; 56 | color: #000000; 57 | } 58 | div.navbar-inverse ul.sp-localtoc ul a{ 59 | color: #ffffff; 60 | } 61 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 62 | background-color: #e74b47; 63 | color: #ffffff; 64 | } 65 | 66 | /* Etc 67 | ---------------------------------------------------------*/ 68 | 69 | div.navbar-inner ul.pull-right li a{ 70 | font-size: 15px; 71 | } 72 | -------------------------------------------------------------------------------- /src/tests/test_directives.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | unittest for sphinxjp.themes.basicstrap.directive 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | :author: tell-k 7 | :copyright: tell-k. All Rights Reserved. 8 | """ 9 | import mock 10 | 11 | 12 | class TestFonticonRole(object): 13 | 14 | def _get_target(self): 15 | from sphinxjp.themes.basicstrap.directives import fonticon_role 16 | return fonticon_role 17 | 18 | def _call_fut(self, *args, **kwargs): 19 | return self._get_target()(*args, **kwargs) 20 | 21 | def test_it(self): 22 | 23 | with mock.patch('sphinxjp.themes.basicstrap.directives.set_classes', 24 | return_value=True, autospec=True) as mock_func: 25 | options = {} 26 | nodes, empty = self._call_fut( 27 | "name", 28 | "rawtext", 29 | "icon2 icon3", 30 | "lineno", 31 | "inliner", 32 | options=options, 33 | ) 34 | mock_func.assert_called_with(options) 35 | assert [] == empty 36 | assert "icon" == nodes[0]["classes"][0] 37 | assert "icon2" == nodes[0]["classes"][1] 38 | assert "icon3" == nodes[0]["classes"][2] 39 | 40 | 41 | class TestSetup(object): 42 | 43 | def _get_target(self): 44 | from sphinxjp.themes.basicstrap.directives import setup 45 | return setup 46 | 47 | def _call_fut(self, *args, **kwargs): 48 | return self._get_target()(*args, **kwargs) 49 | 50 | def test_it(self): 51 | 52 | class DummyApp(object): 53 | 54 | def add_role(self, rolename, rolefunc): 55 | self.rolename = rolename 56 | self.rolefunc = rolefunc 57 | 58 | from sphinxjp.themes.basicstrap.directives import fonticon_role 59 | 60 | dummy_app = DummyApp() 61 | self._call_fut(dummy_app) 62 | assert 'fonticon' == dummy_app.rolename 63 | assert fonticon_role == dummy_app.rolefunc 64 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-readable.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#333" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#db524b" %} 7 | {% set danger_border_color = "#db524b" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#f2ae43" %} 11 | {% set warning_border_color = "#f2ae43" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#39af40" %} 15 | {% set note_border_color = "#39af40" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#56C0E0" %} 19 | {% set hint_border_color = "#56C0E0" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | 24 | /* Heading 25 | ---------------------------------------------------------*/ 26 | 27 | h2, h3, h4, h5, h6 { 28 | border-bottom: 1px solid #eeeeee !important; 29 | } 30 | 31 | /* Genindex 32 | ---------------------------------------------------------*/ 33 | 34 | div.genindex-jumpbox { 35 | color: #eeeeee; 36 | border-top: 1px solid #eeeeee; 37 | border-bottom: 1px solid #eeeeee; 38 | } 39 | 40 | /* Contents 41 | ---------------------------------------------------------*/ 42 | 43 | div.contents { 44 | background-color: #f7f7f7; 45 | border-color: #eeeeee; 46 | } 47 | 48 | /* Smartphone Local Toc 49 | ---------------------------------------------------------*/ 50 | 51 | ul.sp-localtoc ul a{ 52 | margin-left: 7px; 53 | margin-right: 7px; 54 | border: 1px solid transparent; 55 | border-radius: 4px; 56 | color: #4582ec; 57 | } 58 | ul.sp-localtoc ul a:hover{ 59 | border-color: #dddddd; 60 | color: #4582ec; 61 | } 62 | div.navbar-inverse ul.sp-localtoc ul a{ 63 | color: #333333; 64 | } 65 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 66 | color: #333333; 67 | } 68 | 69 | 70 | /* Etc 71 | ---------------------------------------------------------*/ 72 | 73 | div.navbar-inner ul.pull-right li a{ 74 | font-size: 15px; 75 | } 76 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-cosmo.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#333" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#ff0039" %} 7 | {% set danger_border_color = "transparent" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#ff7518" %} 11 | {% set warning_border_color = "transparent" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#3fb618" %} 15 | {% set note_border_color = "#transparent" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#9954bb" %} 19 | {% set hint_border_color = "transparent" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #e6e6e6 !important; 28 | } 29 | 30 | /* Contents 31 | ---------------------------------------------------------*/ 32 | 33 | div.contents { 34 | background-color: #e6e6e6; 35 | border: 1px solid #e6e6e6; 36 | box-shadow: none; 37 | } 38 | 39 | /* Genindex 40 | ---------------------------------------------------------*/ 41 | 42 | div.genindex-jumpbox { 43 | color: #e6e6e6; 44 | border-top: 1px solid #e6e6e6; 45 | border-bottom: 1px solid #e6e6e6; 46 | } 47 | 48 | /* Smartphone Local Toc 49 | ---------------------------------------------------------*/ 50 | 51 | ul.sp-localtoc ul a{ 52 | color: #ffffff; 53 | } 54 | ul.sp-localtoc ul a:hover{ 55 | background-color: #090909; 56 | color: #ffffff; 57 | } 58 | div.navbar-inverse ul.sp-localtoc ul a{ 59 | color: #ffffff; 60 | } 61 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 62 | background-color: #0066cc; 63 | color: #ffffff; 64 | } 65 | 66 | {% if theme_bootstrap_version == "2" %} 67 | /* Docutils 68 | ---------------------------------------------------------*/ 69 | 70 | table.docutils td.label { 71 | min-height: 0px; 72 | } 73 | {% endif %} 74 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-cyborg.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#222222" %} 2 | {% set table_color = "#888" %} 3 | {% set table_background_color = "#060606" %} 4 | 5 | {% set danger_color = "#eeeeee" %} 6 | {% set danger_background_color = "#cc0000" %} 7 | {% set danger_border_color = "transparent" %} 8 | 9 | {% set warning_color = "#eeeeee" %} 10 | {% set warning_background_color = "#666666" %} 11 | {% set warning_border_color = "transparent" %} 12 | 13 | {% set note_color = "#eeeeee" %} 14 | {% set note_background_color = "#5c8a00" %} 15 | {% set note_border_color = "#transparent" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#007399" %} 19 | {% set hint_border_color = "transparent" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #282828 !important; 28 | } 29 | 30 | /* Field-list 31 | ---------------------------------------------------------*/ 32 | 33 | table.field-list { 34 | background-color: #060606; 35 | } 36 | 37 | /* Citation 38 | ---------------------------------------------------------*/ 39 | 40 | table.citation{ 41 | background-color: #060606; 42 | } 43 | 44 | /* Footnote 45 | ---------------------------------------------------------*/ 46 | 47 | table.footnote { 48 | background-color: #060606; 49 | } 50 | 51 | /* Contents 52 | ---------------------------------------------------------*/ 53 | 54 | div.contents { 55 | background-color: #222222; 56 | } 57 | 58 | /* Genindex 59 | ---------------------------------------------------------*/ 60 | 61 | div.genindex-jumpbox { 62 | color: #282828; 63 | border-top: 1px solid #282828; 64 | border-bottom: 1px solid #282828; 65 | } 66 | 67 | /* Smartphone Local Toc 68 | ---------------------------------------------------------*/ 69 | 70 | ul.sp-localtoc ul a:hover{ 71 | color: #ffffff; 72 | } 73 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 74 | color: #ffffff; 75 | } 76 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-spacelab.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#dddddd" %} 2 | {% set table_color = "#666" %} 3 | {% set table_background_color = "#fff" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#cd0200" %} 7 | {% set danger_border_color = "#be001e" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#d47500" %} 11 | {% set warning_border_color = "#c54c00" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#3cb521" %} 15 | {% set note_border_color = "#4b9f1d" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#3399f3" %} 19 | {% set hint_border_color = "#11adf1" %} 20 | 21 | 22 | {% include "static/css/adjust_theme/_common_adjust.css" %} 23 | 24 | /* Heading 25 | ---------------------------------------------------------*/ 26 | 27 | h2, h3, h4, h5, h6 { 28 | border-bottom: 1px solid #eeeeee !important; 29 | } 30 | 31 | /* Genindex 32 | ---------------------------------------------------------*/ 33 | 34 | div.genindex-jumpbox { 35 | color: #eeeeee; 36 | border-top: 1px solid #eeeeee; 37 | border-bottom: 1px solid #eeeeee; 38 | } 39 | 40 | /* Contents 41 | ---------------------------------------------------------*/ 42 | 43 | div.contents { 44 | background-color: #eeeeee; 45 | border: none; 46 | box-shadow: none; 47 | } 48 | 49 | /* Smartphone Local Toc 50 | ---------------------------------------------------------*/ 51 | 52 | ul.sp-localtoc ul a{ 53 | color: #777777; 54 | } 55 | ul.sp-localtoc ul a:hover{ 56 | color: #3399f3; 57 | -webkit-transition: color ease-in-out .2s; 58 | transition: color ease-in-out .2s; 59 | } 60 | div.navbar-inverse ul.sp-localtoc ul a{ 61 | color: #c8c8c8; 62 | } 63 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 64 | color: #ffffff; 65 | -webkit-transition: color ease-in-out .2s; 66 | transition: color ease-in-out .2s; 67 | } 68 | 69 | /* Etc 70 | ---------------------------------------------------------*/ 71 | 72 | div.navbar-inner ul.pull-right li a{ 73 | font-size: 12px; 74 | } 75 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/search.html: -------------------------------------------------------------------------------- 1 | {# 2 | basicstrap/search.html 3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Template for the search page. 6 | 7 | :copyright: Copyright 2012 by tell-k. 8 | :license: MIT Licence, see LICENSE for details. 9 | #} 10 | {% extends "layout.html" %} 11 | {% set title = _('Search') %} 12 | {% set script_files = script_files + ['_static/searchtools.js'] %} 13 | {% block extrahead %} 14 | 17 | {{ super() }} 18 | {% endblock %} 19 | {% block body %} 20 |

{{ _('Search') }}

21 |
22 | 23 |

24 | {% trans %}Please activate JavaScript to enable the search 25 | functionality.{% endtrans %} 26 |

27 |
28 |

29 | {% trans %}From here you can search these documents. Enter your search 30 | words into the box below and click "search". Note that the search 31 | function will automatically search for all of the words. Pages 32 | containing fewer words won't appear in the result list.{% endtrans %} 33 |

34 | 43 | 44 |
45 | {% if search_performed %} 46 |

{{ _('Search Results') }}

47 | {% if not search_results %} 48 |

{{ _('Your search did not match any results.') }}

49 | {% endif %} 50 | {% endif %} 51 |
52 | {% if search_results %} 53 |
    54 | {% for href, caption, context in search_results %} 55 |
  • {{ caption }} 56 |
    {{ context|e }}
    57 |
  • 58 | {% endfor %} 59 |
60 | {% endif %} 61 |
62 |
63 | {% endblock %} 64 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-slate.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#1c1e22" %} 2 | {% set table_color = "#c8c8c8" %} 3 | {% set table_background_color = "#272b30" %} 4 | 5 | {% set danger_color = "rgba(255, 255, 255, 0.9)" %} 6 | {% set danger_background_color = "#f05e57" %} 7 | {% set danger_border_color = "#ef4b60" %} 8 | 9 | {% set warning_color = "rgba(255, 255, 255, 0.9)" %} 10 | {% set warning_background_color = "#fa9500" %} 11 | {% set warning_border_color = "#eb6500" %} 12 | 13 | {% set note_color = "rgba(255, 255, 255, 0.9)" %} 14 | {% set note_background_color = "#468847" %} 15 | {% set note_border_color = "#5ec65d" %} 16 | 17 | {% set hint_color = "rgba(255, 255, 255, 0.9)" %} 18 | {% set hint_background_color = "#56C0E0" %} 19 | {% set hint_border_color = "#31ced9" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #1c1e22 !important; 28 | } 29 | 30 | /* Genindex 31 | ---------------------------------------------------------*/ 32 | 33 | div.genindex-jumpbox { 34 | color: #1c1e22; 35 | border-top: 1px solid #1c1e22; 36 | border-bottom: 1px solid #1c1e22; 37 | } 38 | 39 | 40 | /* Field-list 41 | ---------------------------------------------------------*/ 42 | 43 | table.field-list { 44 | background-color: #272B30; 45 | } 46 | 47 | /* Citation 48 | ---------------------------------------------------------*/ 49 | 50 | table.citation{ 51 | background-color: #272B30; 52 | } 53 | 54 | /* Footnote 55 | ---------------------------------------------------------*/ 56 | 57 | table.footnote { 58 | background-color: #272B30; 59 | } 60 | 61 | /* Contents 62 | ---------------------------------------------------------*/ 63 | 64 | div.contents { 65 | background-color: #1c1e22; 66 | border-color: #0b0b0d; 67 | } 68 | 69 | /* Smartphone Local Toc 70 | ---------------------------------------------------------*/ 71 | 72 | ul.sp-localtoc ul a{ 73 | color: #c8c8c8; 74 | } 75 | ul.sp-localtoc ul a:hover{ 76 | background-color: #272b2e; 77 | color: #ffffff; 78 | } 79 | div.navbar-inverse ul.sp-localtoc ul a{ 80 | color: #c8c8c8; 81 | } 82 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 83 | background-color: #272b2e; 84 | color: #ffffff; 85 | } 86 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-solar.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#1c1e22" %} 2 | {% set table_color = "#839496" %} 3 | {% set table_background_color = "#002b36" %} 4 | 5 | {% set danger_color = "rgba(255, 255, 255, 0.9)" %} 6 | {% set danger_background_color = "#f05e57" %} 7 | {% set danger_border_color = "#ef4b60" %} 8 | 9 | {% set warning_color = "rgba(255, 255, 255, 0.9)" %} 10 | {% set warning_background_color = "#fa9500" %} 11 | {% set warning_border_color = "#eb6500" %} 12 | 13 | {% set note_color = "rgba(255, 255, 255, 0.9)" %} 14 | {% set note_background_color = "#468847" %} 15 | {% set note_border_color = "#5ec65d" %} 16 | 17 | {% set hint_color = "rgba(255, 255, 255, 0.9)" %} 18 | {% set hint_background_color = "#56C0E0" %} 19 | {% set hint_border_color = "#31ced9" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #1c1e22 !important; 28 | } 29 | 30 | /* Genindex 31 | ---------------------------------------------------------*/ 32 | 33 | div.genindex-jumpbox { 34 | color: #1c1e22; 35 | border-top: 1px solid #1c1e22; 36 | border-bottom: 1px solid #1c1e22; 37 | } 38 | 39 | 40 | /* Field-list 41 | ---------------------------------------------------------*/ 42 | 43 | table.field-list { 44 | background-color: #272B30; 45 | } 46 | 47 | /* Citation 48 | ---------------------------------------------------------*/ 49 | 50 | table.citation{ 51 | background-color: #272B30; 52 | } 53 | 54 | /* Footnote 55 | ---------------------------------------------------------*/ 56 | 57 | table.footnote { 58 | background-color: #272B30; 59 | } 60 | 61 | /* Contents 62 | ---------------------------------------------------------*/ 63 | 64 | div.contents { 65 | background-color: #1c1e22; 66 | border-color: #0b0b0d; 67 | } 68 | 69 | /* Smartphone Local Toc 70 | ---------------------------------------------------------*/ 71 | 72 | ul.sp-localtoc ul a{ 73 | color: #c8c8c8; 74 | } 75 | ul.sp-localtoc ul a:hover{ 76 | background-color: #272b2e; 77 | color: #ffffff; 78 | } 79 | div.navbar-inverse ul.sp-localtoc ul a{ 80 | color: #c8c8c8; 81 | } 82 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 83 | background-color: #272b2e; 84 | color: #ffffff; 85 | } 86 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import re 3 | import os 4 | 5 | from setuptools import setup, find_packages 6 | 7 | 8 | here = os.path.dirname(__file__) 9 | 10 | version_regex = re.compile(r".*__version__ = '(.*?)'", re.S) 11 | version_script = os.path.join(here, 'src', 'sphinxjp', 12 | 'themes', 'basicstrap', '__init__.py') 13 | version = version_regex.match(open(version_script, 'r').read()).group(1) 14 | 15 | install_requires = [ 16 | 'setuptools', 17 | 'Sphinx', 18 | ] 19 | 20 | setup_requires = [ 21 | "pytest-runner" 22 | ] 23 | 24 | tests_require = [ 25 | 'pytest-cov', 26 | 'pytest', 27 | 'mock', 28 | ] 29 | 30 | long_description = "" 31 | with open(os.path.join(here, 'README.rst')) as fp: 32 | long_description = fp.read() 33 | 34 | classifiers = [ 35 | 'Development Status :: 4 - Beta', 36 | 'License :: OSI Approved :: MIT License', 37 | 'Programming Language :: Python', 38 | 'Programming Language :: Python :: 3', 39 | 'Programming Language :: Python :: 3.4', 40 | 'Programming Language :: Python :: 3.5', 41 | 'Programming Language :: Python :: 3.6', 42 | 'Programming Language :: Python :: 3.7', 43 | 'Framework :: Sphinx', 44 | 'Framework :: Sphinx :: Extension', 45 | 'Framework :: Sphinx :: Theme', 46 | 'Topic :: Software Development', 47 | 'Topic :: Software Development :: Documentation', 48 | 'Topic :: Text Processing :: Markup', 49 | ] 50 | 51 | setup( 52 | name='sphinxjp.themes.basicstrap', 53 | version=version, 54 | description='A sphinx theme for Basicstrap style. Using Twitter Bootstrap. #sphinxjp', # NOQA 55 | long_description=long_description, 56 | classifiers=classifiers, 57 | keywords=['sphinx', 'reStructuredText', 'theme'], 58 | author='tell-k', 59 | author_email='ffk2005@gmail.com', 60 | url='https://github.com/tell-k/sphinxjp.themes.basicstrap', 61 | license='MIT', 62 | namespace_packages=['sphinxjp', 'sphinxjp.themes'], 63 | packages=find_packages('src', exclude=['tests']), 64 | package_dir={'': 'src'}, 65 | setup_requires=setup_requires, 66 | install_requires=install_requires, 67 | tests_require=tests_require, 68 | include_package_data=True, 69 | entry_points={ 70 | 'sphinx.html_themes': [ 71 | 'basicstrap = sphinxjp.themes.basicstrap', 72 | ] 73 | }, 74 | zip_safe=False, 75 | ) 76 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | # -- General configuration ---------------------------- 4 | 5 | source_suffix = '.rst' 6 | master_doc = 'index' 7 | 8 | project = u'sphinx theme for basicstrap style' 9 | copyright = u'2015, tell-k' 10 | 11 | version = '0.5.0' 12 | 13 | # -- Options for HTML output -------------------------- 14 | 15 | extensions = ['sphinxjp.themes.basicstrap'] 16 | html_theme = 'basicstrap' 17 | 18 | # -- HTML theme options for `basicstrap` style ------- 19 | 20 | html_theme_options = { 21 | 22 | # Set the lang attribute of the html tag. Defaults to 'en' 23 | 'lang': 'en', 24 | # Disable showing the sidebar. Defaults to 'false' 25 | 'nosidebar': False, 26 | # Show header searchbox. Defaults to false. works only "nosidber=True", 27 | 'header_searchbox': False, 28 | 29 | # Put the sidebar on the right side. Defaults to false. 30 | 'rightsidebar': False, 31 | # Set the width of the sidebar. Defaults to 3 32 | 'sidebar_span': 3, 33 | 34 | # Fix navbar to top of screen. Defaults to true 35 | 'nav_fixed_top': True, 36 | # Fix the width of the sidebar. Defaults to false 37 | 'nav_fixed': False, 38 | # Set the width of the sidebar. Defaults to '900px' 39 | 'nav_width': '900px', 40 | # Fix the width of the content area. Defaults to false 41 | 42 | 'content_fixed': False, 43 | # Set the width of the content area. Defaults to '900px' 44 | 'content_width': '900px', 45 | # Fix the width of the row. Defaults to false 46 | 'row_fixed': False, 47 | 48 | # Disable the responsive design. Defaults to false 49 | 'noresponsive': False, 50 | # Disable the responsive footer relbar. Defaults to false 51 | 'noresponsiverelbar': False, 52 | # Disable flat design. Defaults to false. 53 | # Works only "bootstrap_version = 3" 54 | 'noflatdesign': False, 55 | 56 | # Enable Google Web Font. Defaults to false 57 | 'googlewebfont': False, 58 | # Set the URL of Google Web Font's CSS. 59 | # Defaults to 'http://fonts.googleapis.com/css?family=Text+Me+One' 60 | 'googlewebfont_url': 'http://fonts.googleapis.com/css?family=Lily+Script+One', # NOQA 61 | # Set the Style of Google Web Font's CSS. 62 | # Defaults to "font-family: 'Text Me One', sans-serif;" 63 | 'googlewebfont_style': u"font-family: 'Lily Script One' cursive;", 64 | 65 | # Set 'navbar-inverse' attribute to header navbar. Defaults to false. 66 | 'header_inverse': False, 67 | # Set 'navbar-inverse' attribute to relbar navbar. Defaults to false. 68 | 'relbar_inverse': False, 69 | 70 | # Enable inner theme by Bootswatch. Defaults to false 71 | 'inner_theme': False, 72 | # Set the name of innner theme. Defaults to 'bootswatch-simplex' 73 | 'inner_theme_name': 'bootswatch-simplex', 74 | 75 | # Select Twitter bootstrap version 2 or 3. Defaults to '3' 76 | 'bootstrap_version': '3', 77 | 78 | # Show "theme preview" button in header navbar. Defaults to false. 79 | 'theme_preview': True, 80 | 81 | # Set the Size of Heading text. Defaults to None 82 | # 'h1_size': '3.0em', 83 | # 'h2_size': '2.6em', 84 | # 'h3_size': '2.2em', 85 | # 'h4_size': '1.8em', 86 | # 'h5_size': '1.4em', 87 | # 'h6_size': '1.1em', 88 | } 89 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/adjust_theme/bootswatch-superhero.css_t: -------------------------------------------------------------------------------- 1 | {% set table_border_color = "#4d5d6d" %} 2 | {% set table_color = "#ebebeb" %} 3 | {% set table_background_color = "#2b3e50" %} 4 | 5 | {% set danger_color = "#ffffff" %} 6 | {% set danger_background_color = "#db524b" %} 7 | {% set danger_border_color = "#db524b" %} 8 | 9 | {% set warning_color = "#ffffff" %} 10 | {% set warning_background_color = "#f2ae43" %} 11 | {% set warning_border_color = "#f2ae43" %} 12 | 13 | {% set note_color = "#ffffff" %} 14 | {% set note_background_color = "#58b957" %} 15 | {% set note_border_color = "#58b957" %} 16 | 17 | {% set hint_color = "#ffffff" %} 18 | {% set hint_background_color = "#56c0e0" %} 19 | {% set hint_border_color = "#56c0e0" %} 20 | 21 | {% include "static/css/adjust_theme/_common_adjust.css" %} 22 | 23 | /* Heading 24 | ---------------------------------------------------------*/ 25 | 26 | h2, h3, h4, h5, h6 { 27 | border-bottom: 1px solid #4d5d6d !important; 28 | } 29 | 30 | /* Genindex 31 | ---------------------------------------------------------*/ 32 | 33 | div.genindex-jumpbox { 34 | color: #4d5d6d; 35 | border-top: 1px solid #4d5d6d; 36 | border-bottom: 1px solid #4d5d6d; 37 | } 38 | 39 | /* Contents 40 | ---------------------------------------------------------*/ 41 | 42 | div.contents { 43 | background-color: #4d5d6d; 44 | border: none; 45 | box-shadow: none; 46 | } 47 | 48 | /* Smartphone Local Toc 49 | ---------------------------------------------------------*/ 50 | 51 | ul.sp-localtoc ul a{ 52 | font-size: 12px; 53 | color: #ebebeb; 54 | } 55 | ul.sp-localtoc ul a:hover{ 56 | color: #ebebeb; 57 | background-color: #485563; 58 | } 59 | div.navbar-inverse ul.sp-localtoc ul a{ 60 | color: #ebebeb; 61 | } 62 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 63 | color: #ebebeb; 64 | background-color: #c85e17; 65 | } 66 | 67 | /* Code 68 | ---------------------------------------------------------*/ 69 | 70 | code, pre { 71 | padding:0 3px 2px; 72 | font-family:Menlo,Monaco,Consolas,"Courier New",monospace; 73 | font-size:12px; 74 | color:#3a3f44; 75 | -webkit-border-radius:3px; 76 | -moz-border-radius:3px; 77 | border-radius:3px; 78 | } 79 | code{ 80 | padding:2px 4px; 81 | color:#d14; 82 | background-color:#f7f7f9; 83 | border:1px solid #e1e1e8; 84 | white-space:nowrap; 85 | } 86 | pre{ 87 | display:block; 88 | padding:10px; 89 | margin:0 0 10.5px; 90 | font-size:13px; 91 | line-height:21px; 92 | word-break:break-all; 93 | word-wrap:break-word; 94 | white-space:pre; 95 | white-space:pre-wrap; 96 | background-color:#f5f5f5; 97 | border:1px solid #ccc; 98 | border:1px solid rgba(0, 0, 0, 0.15); 99 | -webkit-border-radius:4px; 100 | -moz-border-radius:4px; 101 | border-radius:4px; 102 | } 103 | pre.prettyprint{ 104 | margin-bottom:21px; 105 | } 106 | pre code{ 107 | padding:0; 108 | color:inherit; 109 | white-space:pre; 110 | white-space:pre-wrap; 111 | background-color:transparent; 112 | border:0; 113 | } 114 | 115 | div.navbar-inner ul.pull-right li a{ 116 | font-size: 15px; 117 | } 118 | 119 | 120 | @media (max-width: 480px) { 121 | a.brand { 122 | line-height: 30px; 123 | } 124 | } 125 | 126 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/basicstrap.css_t: -------------------------------------------------------------------------------- 1 | /* Bootstrap 2 | ------------------------------------------------------- */ 3 | 4 | /* apply font awesome 5 | ------------------------------------------------------- */ 6 | 7 | div.danger p.admonition-title:before, 8 | div.error p.admonition-title:before, 9 | div.warning p.admonition-title:before, 10 | div.caution p.admonition-title:before, 11 | div.attention p.admonition-title:before, 12 | div.important p.admonition-title:before, 13 | div.note p.admonition-title:before, 14 | div.hint p.admonition-title:before, 15 | div.tip p.admonition-title:before 16 | { 17 | display: inline-block; 18 | font-family: FontAwesome; 19 | font-style: normal; 20 | font-weight: normal; 21 | line-height: 1; 22 | -webkit-font-smoothing: antialiased; 23 | -moz-osx-font-smoothing: grayscale; 24 | } 25 | 26 | div.danger p.admonition-title:before, 27 | div.error p.admonition-title:before { 28 | content: "\f06a\00a0"; 29 | } 30 | div.warning p.admonition-title:before, 31 | div.caution p.admonition-title:before, 32 | div.attention p.admonition-title:before { 33 | content: "\f071\00a0"; 34 | } 35 | div.important p.admonition-title:before, 36 | div.note p.admonition-title:before { 37 | content: "\f05a\00a0"; 38 | } 39 | div.hint p.admonition-title:before, 40 | div.tip p.admonition-title:before { 41 | content: "\f0eb\00a0"; 42 | } 43 | 44 | {%- if theme_h1_size != '' %} 45 | h1 { font-size: {{ theme_h1_size }}; line-height: {{ theme_h1_size }};} 46 | {% endif %} 47 | {%- if theme_h2_size != '' %} 48 | h2 { font-size: {{ theme_h2_size }}; line-height: {{ theme_h2_size }};} 49 | {% endif %} 50 | {%- if theme_h3_size != '' %} 51 | h3 { font-size: {{ theme_h3_size }}; line-height: {{ theme_h3_size }};} 52 | {% endif %} 53 | {%- if theme_h4_size != '' %} 54 | h4 { font-size: {{ theme_h4_size }}; line-height: {{ theme_h4_size }};} 55 | {% endif %} 56 | {%- if theme_h5_size != '' %} 57 | h5 { font-size: {{ theme_h5_size }}; line-height: {{ theme_h5_size }};} 58 | {% endif %} 59 | {%- if theme_h6_size != '' %} 60 | h6 { font-size: {{ theme_h6_size }}; line-height: {{ theme_h6_size }};} 61 | {% endif %} 62 | 63 | {%- if (theme_googlewebfont|tobool) %} 64 | body, 65 | h1, 66 | h2, 67 | h3, 68 | h4, 69 | h5, 70 | h6, 71 | input, 72 | button, 73 | select, 74 | textarea, 75 | h1 small, 76 | h2 small, 77 | h3 small, 78 | h4 small, 79 | h5 small, 80 | h6 small, 81 | .navbar, 82 | .navbar-search .search-query, 83 | .navbar .navbar-search .search-query, 84 | /* 85 | .navbar .search-query::-moz-placeholder, 86 | .navbar .search-query::-webkit-input-placeholder, 87 | */ 88 | .navbar .brand, 89 | .navbar .nav>li>a, 90 | .navbar .navbar-text, 91 | .navbar .dropdown-menu li>a, 92 | .nav li>a, 93 | div.subnav, 94 | div.subnav .nav>li>a, 95 | div.subnav .nav>li:first-child>a, 96 | div.subnav .nav>li.active>a, 97 | legend, 98 | .btn, 99 | .alert-heading 100 | { 101 | {{ theme_googlewebfont_style }} 102 | } 103 | {%- endif %} 104 | 105 | h2, h3, h4, h5, h6 { 106 | padding-bottom: 10px; 107 | border-bottom: 1px solid #d0d0d0; 108 | } 109 | 110 | {%- if theme_bootstrap_version == '2' %} 111 | div.sidebar ul { 112 | margin-left: 0; 113 | } 114 | ul.sp-localtoc{ 115 | margin-left: 0 !important; 116 | } 117 | ul.sp-localtoc ul{ 118 | margin-left: 0 !important; 119 | } 120 | ul.sp-localtoc ul ul{ 121 | margin-left: 0 !important; 122 | } 123 | ul.sp-localtoc ul ul a{ 124 | margin-left: 25px; 125 | } 126 | ul.sp-localtoc ul ul ul a{ 127 | margin-left: 35px; 128 | } 129 | ul.sp-localtoc ul ul ul ul a{ 130 | margin-left: 45px; 131 | } 132 | ul.sp-localtoc ul ul ul ul ul a{ 133 | margin-left: 55px; 134 | } 135 | ul.sp-localtoc ul ul ul ul ul a{ 136 | margin-left: 65px; 137 | } 138 | {% endif %} 139 | 140 | 141 | /* for tablet */ 142 | @media (max-width: 767px) { 143 | form.sp-searchbox div.input-append { 144 | margin-top: 10px; 145 | margin-left: 12px; 146 | } 147 | form.sp-searchbox div.input-append { 148 | {%- if theme_bootstrap_version == '2' %} 149 | width: 70%; 150 | {% else %} 151 | width: 90%; 152 | {% endif %} 153 | } 154 | form.sp-searchbox input.search-query { 155 | width: 100%; 156 | } 157 | } 158 | 159 | /* for smartphone */ 160 | @media (max-width: 480px) { 161 | a.brand { 162 | width: 80%; 163 | } 164 | a.navbar-brand { 165 | width: 80%; 166 | height: 100%; 167 | } 168 | .searchbox .search-query { 169 | width: 90%; 170 | } 171 | } 172 | 173 | /* for desktop */ 174 | @media (min-width: 768px) { 175 | {% if theme_nav_fixed %} 176 | .navbar-inner div.container { 177 | width: {{ theme_nav_width }}; 178 | } 179 | {% endif %} 180 | {% if theme_content_fixed %} 181 | div.container { 182 | width: {{ theme_content_width }}; 183 | } 184 | {% endif %} 185 | } 186 | 187 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/js/basicstrap.js_t: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | 3 | // Inline code styles to Bootstrap style. 4 | $('tt.docutils.literal').not(".xref").each(function (i, e) { 5 | // ignore references 6 | if (!$(e).parent().hasClass("reference")) { 7 | $(e).replaceWith(function () { 8 | return $("").html($(this).html()); 9 | }); 10 | }}); 11 | 12 | /* 13 | * Scroll the window to avoid the topnav bar 14 | * https://github.com/twitter/bootstrap/issues/1768 15 | */ 16 | if ($(".navbar.navbar-fixed-top").length > 0) { 17 | // var navHeight = $(".navbar").height(), 18 | var navHeight = 40, 19 | shiftWindow = function() { scrollBy(0, -navHeight - 10); }; 20 | if (location.hash) { 21 | setTimeout(shiftWindow, 1); 22 | } 23 | window.addEventListener("hashchange", shiftWindow); 24 | } 25 | 26 | {%- if theme_theme_preview|tobool %} 27 | 28 | var makeHtmlOptions = function(){ 29 | var header_inverse = ($.cookie('header_inverse') == 'inverse') ? "True" : "False"; 30 | var relbar_inverse = ($.cookie('relbar_inverse') == 'inverse') ? "True" : "False"; 31 | var inner_theme = ($.cookie('inner_theme') != '') ? "True" : "False"; 32 | 33 | var options_text = "html_theme_options = {\n"; 34 | options_text += " 'header_inverse': " + header_inverse + ",\n"; 35 | options_text += " 'relbar_inverse': " + relbar_inverse + ",\n"; 36 | options_text += " 'inner_theme': " + inner_theme + ",\n"; 37 | if(inner_theme == "True") { 38 | options_text += " 'inner_theme_name': '" + $.cookie('inner_theme') + "',\n"; 39 | } 40 | options_text += "}"; 41 | $("#quick-preview-theme-options div.highlight pre").html(options_text); 42 | } 43 | 44 | /* 45 | * for QuickPreviewModal 46 | */ 47 | if($.cookie('inner_theme')) { 48 | var bootstrap_version = $("#bootstrap-version").html(); 49 | $("#current-theme").attr({href: "_static/css/bootstrap" + bootstrap_version + "/" +$.cookie('inner_theme') + ".css"}) 50 | $("#current-adjust-theme").attr({href: "_static/css/adjust_theme/" + $.cookie('inner_theme') + ".css"}) 51 | $('#select-theme').val($.cookie('inner_theme')); 52 | } 53 | if($.cookie('header_inverse')) { 54 | $("#navbar-top").removeClass("navbar-default"); 55 | $("#navbar-top").removeClass("navbar-inverse"); 56 | $("#navbar-top").addClass("navbar-" + $.cookie('header_inverse')); 57 | if ($.cookie('header_inverse') == 'inverse') { 58 | $('#select-header-inverse').attr('checked', true); 59 | } 60 | } 61 | if($.cookie('relbar_inverse')) { 62 | $("#navbar-related").removeClass("navbar-default"); 63 | $("#navbar-related").removeClass("navbar-inverse"); 64 | $("#navbar-related").addClass("navbar-" + $.cookie('relbar_inverse')); 65 | if ($.cookie('relbar_inverse') == 'inverse') { 66 | $('#select-relbar-inverse').attr('checked', true); 67 | } 68 | } 69 | if($.cookie('inner_theme') || $.cookie('header_inverse') || $.cookie('relbar_inverse')) { 70 | makeHtmlOptions(); 71 | } 72 | 73 | $("#select-theme").change(function(e){ 74 | e.preventDefault(); 75 | var bootstrap_version = $("#bootstrap-version").html(); 76 | var theme; 77 | $("#select-theme option:selected").each(function () { 78 | theme = $(this).val(); 79 | }); 80 | if (theme == '') { 81 | $("#current-theme").attr({href: "_static/css/bootstrap" + bootstrap_version + "/bootstrap.min.css"}) 82 | $("#current-adjust-theme").attr({href: ""}) 83 | $.cookie('inner_theme', theme, {expires: 1, path: '/'}); 84 | makeHtmlOptions(); 85 | return 86 | } 87 | $("#current-theme").attr({href: "_static/css/bootstrap" + bootstrap_version + "/" + theme + ".css"}) 88 | $("#current-adjust-theme").attr({href: "_static/css/adjust_theme/" + theme + ".css"}) 89 | $.cookie('inner_theme', theme, {expires: 1, path: '/'}); 90 | makeHtmlOptions(); 91 | }); 92 | $("#select-header-inverse").change(function(e){ 93 | var inverse = $('#select-header-inverse').prop("checked"); 94 | var inverse_type = (inverse) ? 'inverse' : 'default'; 95 | 96 | $("#navbar-top").removeClass("navbar-default"); 97 | $("#navbar-top").removeClass("navbar-inverse"); 98 | $("#navbar-top").addClass("navbar-" + inverse_type); 99 | $.cookie('header_inverse', inverse_type, {expires: 1, path: '/'}); 100 | makeHtmlOptions(); 101 | }); 102 | $("#select-relbar-inverse").change(function(e){ 103 | var inverse = $('#select-relbar-inverse').prop("checked"); 104 | var inverse_type = (inverse) ? 'inverse' : 'default'; 105 | 106 | $("#navbar-related").removeClass("navbar-default"); 107 | $("#navbar-related").removeClass("navbar-inverse"); 108 | $("#navbar-related").addClass("navbar-" + inverse_type); 109 | $.cookie('relbar_inverse', inverse_type, {expires: 1, path: '/'}); 110 | makeHtmlOptions(); 111 | }); 112 | {%- endif %} 113 | 114 | }); 115 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line. 5 | SPHINXOPTS = 6 | SPHINXBUILD = sphinx-build 7 | PAPER = 8 | BUILDDIR = _build 9 | 10 | # Internal variables. 11 | PAPEROPT_a4 = -D latex_paper_size=a4 12 | PAPEROPT_letter = -D latex_paper_size=letter 13 | ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . 14 | 15 | .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest 16 | 17 | help: 18 | @echo "Please use \`make ' where is one of" 19 | @echo " html to make standalone HTML files" 20 | @echo " dirhtml to make HTML files named index.html in directories" 21 | @echo " singlehtml to make a single large HTML file" 22 | @echo " pickle to make pickle files" 23 | @echo " json to make JSON files" 24 | @echo " htmlhelp to make HTML files and a HTML help project" 25 | @echo " qthelp to make HTML files and a qthelp project" 26 | @echo " devhelp to make HTML files and a Devhelp project" 27 | @echo " epub to make an epub" 28 | @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" 29 | @echo " latexpdf to make LaTeX files and run them through pdflatex" 30 | @echo " text to make text files" 31 | @echo " man to make manual pages" 32 | @echo " changes to make an overview of all changed/added/deprecated items" 33 | @echo " linkcheck to check all external links for integrity" 34 | @echo " doctest to run all doctests embedded in the documentation (if enabled)" 35 | 36 | clean: 37 | -rm -rf $(BUILDDIR)/* 38 | 39 | html: 40 | $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html 41 | @echo 42 | @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." 43 | 44 | dirhtml: 45 | $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml 46 | @echo 47 | @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." 48 | 49 | singlehtml: 50 | $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml 51 | @echo 52 | @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." 53 | 54 | pickle: 55 | $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle 56 | @echo 57 | @echo "Build finished; now you can process the pickle files." 58 | 59 | json: 60 | $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json 61 | @echo 62 | @echo "Build finished; now you can process the JSON files." 63 | 64 | htmlhelp: 65 | $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp 66 | @echo 67 | @echo "Build finished; now you can run HTML Help Workshop with the" \ 68 | ".hhp project file in $(BUILDDIR)/htmlhelp." 69 | 70 | qthelp: 71 | $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp 72 | @echo 73 | @echo "Build finished; now you can run "qcollectiongenerator" with the" \ 74 | ".qhcp project file in $(BUILDDIR)/qthelp, like this:" 75 | @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/hoge.qhcp" 76 | @echo "To view the help file:" 77 | @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/hoge.qhc" 78 | 79 | devhelp: 80 | $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp 81 | @echo 82 | @echo "Build finished." 83 | @echo "To view the help file:" 84 | @echo "# mkdir -p $$HOME/.local/share/devhelp/hoge" 85 | @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/hoge" 86 | @echo "# devhelp" 87 | 88 | epub: 89 | $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub 90 | @echo 91 | @echo "Build finished. The epub file is in $(BUILDDIR)/epub." 92 | 93 | latex: 94 | $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex 95 | @echo 96 | @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." 97 | @echo "Run \`make' in that directory to run these through (pdf)latex" \ 98 | "(use \`make latexpdf' here to do that automatically)." 99 | 100 | latexpdf: 101 | $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex 102 | @echo "Running LaTeX files through pdflatex..." 103 | make -C $(BUILDDIR)/latex all-pdf 104 | @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." 105 | 106 | text: 107 | $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text 108 | @echo 109 | @echo "Build finished. The text files are in $(BUILDDIR)/text." 110 | 111 | man: 112 | $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man 113 | @echo 114 | @echo "Build finished. The manual pages are in $(BUILDDIR)/man." 115 | 116 | changes: 117 | $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes 118 | @echo 119 | @echo "The overview file is in $(BUILDDIR)/changes." 120 | 121 | linkcheck: 122 | $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck 123 | @echo 124 | @echo "Link check complete; look for any errors in the above output " \ 125 | "or in $(BUILDDIR)/linkcheck/output.txt." 126 | 127 | doctest: 128 | $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest 129 | @echo "Testing of doctests in the sources finished, look at the " \ 130 | "results in $(BUILDDIR)/doctest/output.txt." 131 | -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | REM Command file for Sphinx documentation 4 | 5 | if "%SPHINXBUILD%" == "" ( 6 | set SPHINXBUILD=sphinx-build 7 | ) 8 | set BUILDDIR=build 9 | set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . 10 | if NOT "%PAPER%" == "" ( 11 | set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% 12 | ) 13 | 14 | if "%1" == "" goto help 15 | 16 | if "%1" == "help" ( 17 | :help 18 | echo.Please use `make ^` where ^ is one of 19 | echo. html to make standalone HTML files 20 | echo. dirhtml to make HTML files named index.html in directories 21 | echo. singlehtml to make a single large HTML file 22 | echo. pickle to make pickle files 23 | echo. json to make JSON files 24 | echo. htmlhelp to make HTML files and a HTML help project 25 | echo. qthelp to make HTML files and a qthelp project 26 | echo. devhelp to make HTML files and a Devhelp project 27 | echo. epub to make an epub 28 | echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter 29 | echo. text to make text files 30 | echo. man to make manual pages 31 | echo. changes to make an overview over all changed/added/deprecated items 32 | echo. linkcheck to check all external links for integrity 33 | echo. doctest to run all doctests embedded in the documentation if enabled 34 | goto end 35 | ) 36 | 37 | if "%1" == "clean" ( 38 | for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i 39 | del /q /s %BUILDDIR%\* 40 | goto end 41 | ) 42 | 43 | if "%1" == "html" ( 44 | %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html 45 | if errorlevel 1 exit /b 1 46 | echo. 47 | echo.Build finished. The HTML pages are in %BUILDDIR%/html. 48 | goto end 49 | ) 50 | 51 | if "%1" == "dirhtml" ( 52 | %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml 53 | if errorlevel 1 exit /b 1 54 | echo. 55 | echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. 56 | goto end 57 | ) 58 | 59 | if "%1" == "singlehtml" ( 60 | %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml 61 | if errorlevel 1 exit /b 1 62 | echo. 63 | echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. 64 | goto end 65 | ) 66 | 67 | if "%1" == "pickle" ( 68 | %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle 69 | if errorlevel 1 exit /b 1 70 | echo. 71 | echo.Build finished; now you can process the pickle files. 72 | goto end 73 | ) 74 | 75 | if "%1" == "json" ( 76 | %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json 77 | if errorlevel 1 exit /b 1 78 | echo. 79 | echo.Build finished; now you can process the JSON files. 80 | goto end 81 | ) 82 | 83 | if "%1" == "htmlhelp" ( 84 | %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp 85 | if errorlevel 1 exit /b 1 86 | echo. 87 | echo.Build finished; now you can run HTML Help Workshop with the ^ 88 | .hhp project file in %BUILDDIR%/htmlhelp. 89 | goto end 90 | ) 91 | 92 | if "%1" == "qthelp" ( 93 | %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp 94 | if errorlevel 1 exit /b 1 95 | echo. 96 | echo.Build finished; now you can run "qcollectiongenerator" with the ^ 97 | .qhcp project file in %BUILDDIR%/qthelp, like this: 98 | echo.^> qcollectiongenerator %BUILDDIR%\qthelp\hoge.qhcp 99 | echo.To view the help file: 100 | echo.^> assistant -collectionFile %BUILDDIR%\qthelp\hoge.ghc 101 | goto end 102 | ) 103 | 104 | if "%1" == "devhelp" ( 105 | %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp 106 | if errorlevel 1 exit /b 1 107 | echo. 108 | echo.Build finished. 109 | goto end 110 | ) 111 | 112 | if "%1" == "epub" ( 113 | %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub 114 | if errorlevel 1 exit /b 1 115 | echo. 116 | echo.Build finished. The epub file is in %BUILDDIR%/epub. 117 | goto end 118 | ) 119 | 120 | if "%1" == "latex" ( 121 | %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex 122 | if errorlevel 1 exit /b 1 123 | echo. 124 | echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. 125 | goto end 126 | ) 127 | 128 | if "%1" == "text" ( 129 | %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text 130 | if errorlevel 1 exit /b 1 131 | echo. 132 | echo.Build finished. The text files are in %BUILDDIR%/text. 133 | goto end 134 | ) 135 | 136 | if "%1" == "man" ( 137 | %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man 138 | if errorlevel 1 exit /b 1 139 | echo. 140 | echo.Build finished. The manual pages are in %BUILDDIR%/man. 141 | goto end 142 | ) 143 | 144 | if "%1" == "changes" ( 145 | %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes 146 | if errorlevel 1 exit /b 1 147 | echo. 148 | echo.The overview file is in %BUILDDIR%/changes. 149 | goto end 150 | ) 151 | 152 | if "%1" == "linkcheck" ( 153 | %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck 154 | if errorlevel 1 exit /b 1 155 | echo. 156 | echo.Link check complete; look for any errors in the above output ^ 157 | or in %BUILDDIR%/linkcheck/output.txt. 158 | goto end 159 | ) 160 | 161 | if "%1" == "doctest" ( 162 | %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest 163 | if errorlevel 1 exit /b 1 164 | echo. 165 | echo.Testing of doctests in the sources finished, look at the ^ 166 | results in %BUILDDIR%/doctest/output.txt. 167 | goto end 168 | ) 169 | 170 | :end 171 | -------------------------------------------------------------------------------- /docs/design.rst: -------------------------------------------------------------------------------- 1 | ======================== 2 | Customize the design 3 | ======================== 4 | 5 | By setting the html_theme_options in your conf.py, you can change the look and feel some flexibility. 6 | Because it contains an example of a simple configuration, please try to be helpful. 7 | 8 | Sidebar layout 9 | ======================== 10 | 11 | Right sidebar 12 | ------------------------------- 13 | 14 | If you want to place sidebar to the right, please change "rightsidebar" option. 15 | 16 | :: 17 | 18 | html_theme_options = { 19 | 'rightsidebar': True, 20 | } 21 | 22 | 23 | .. figure:: _static/img/rightsidebar.png 24 | :width: 50% 25 | :figclass: figure-polaroid 26 | :align: center 27 | :target: _images/rightsidebar.png 28 | 29 | 30 | Figure1: right sidebar 31 | 32 | Change sidebar width 33 | ------------------------------- 34 | 35 | If you want to change the width of the sidebar, please change "sidebar_span" option. 36 | 37 | Using `a Grid system of Twitter Bootstrap `_. 38 | 39 | :: 40 | 41 | html_theme_options = { 42 | 'sidebar_span': 6, # 1(min) - 12(max) 43 | } 44 | 45 | .. figure:: _static/img/sidebar_span.png 46 | :width: 50% 47 | :figclass: figure-polaroid 48 | :align: center 49 | :target: _images/sidebar_span.png 50 | 51 | Figure2: change sidebar with 52 | 53 | No sidebar 54 | ------------------------------- 55 | 56 | :: 57 | 58 | html_theme_options = { 59 | 'nosidebar': True, 60 | } 61 | 62 | .. figure:: _static/img/nosidebar.png 63 | :width: 50% 64 | :figclass: figure-polaroid 65 | :align: center 66 | :target: _images/nosidebar.png 67 | 68 | Figure3: no sidebar 69 | 70 | Fixed layout 71 | ======================== 72 | 73 | Fixed width of Navigation Bar 74 | ----------------------------- 75 | 76 | :: 77 | 78 | html_theme_options = { 79 | 'nav_fixed': True, 80 | 'nav_width': '700px', 81 | } 82 | 83 | .. figure:: _static/img/navbar_fixed.png 84 | :width: 90% 85 | :figclass: figure-polaroid 86 | :align: center 87 | :target: _images/navbar_fixed.png 88 | 89 | Figure4: navbar fixed 90 | 91 | fixed with of Content Area 92 | ----------------------------- 93 | 94 | :: 95 | 96 | html_theme_options = { 97 | 'content_fixed': True, 98 | 'content_width': '700px', 99 | } 100 | 101 | .. figure:: _static/img/content_fixed.png 102 | :width: 90% 103 | :figclass: figure-polaroid 104 | :align: center 105 | :target: _images/content_fixed.png 106 | 107 | Figure5: content fixed 108 | 109 | Inverse color 110 | ======================== 111 | 112 | :: 113 | 114 | html_theme_options = { 115 | 'header_inverse': True, 116 | 'relbar_inverse': True, 117 | } 118 | 119 | .. figure:: _static/img/navbar_inverse.png 120 | :width: 60% 121 | :figclass: figure-polaroid 122 | :align: center 123 | :target: _images/navbar_inverse.png 124 | 125 | Figure6: inverse color 126 | 127 | 128 | Responsive design 129 | ======================== 130 | 131 | .. figure:: _static/img/smartphone.png 132 | :width: 70% 133 | :figclass: figure-polaroid 134 | :align: center 135 | :target: _images/smartphone.png 136 | 137 | Figure7: responsive design 138 | 139 | If you want to quit Responsive design, please set to True "noresponsive" option. 140 | 141 | :: 142 | 143 | html_theme_options = { 144 | 'noresponsive': True, 145 | } 146 | 147 | Inner design theme 148 | ======================== 149 | 150 | * `Bootswatch `_ design themes are available. 151 | * `Geo `_ design themes are available. 152 | 153 | :: 154 | 155 | html_theme_options = { 156 | 'inner_theme': True, 157 | 'inner_theme_name': 'bootswatch-amelia', 158 | } 159 | 160 | .. figure:: _static/img/bootswatch-amelia.png 161 | :width: 60% 162 | :figclass: figure-polaroid 163 | :align: center 164 | :target: _images/bootswatch-amelia.png 165 | 166 | Figure8: inner theme 167 | 168 | * avalible inner themes 169 | 170 | * bootswatch-amelia 171 | * bootswatch-cerulean 172 | * bootswatch-cosmo 173 | * bootswatch-cyborg 174 | * bootswatch-journal 175 | * bootswatch-readable 176 | * bootswatch-simplex 177 | * bootswatch-slate 178 | * bootswatch-solar (bootstrap_version 3 only) 179 | * bootswatch-spacelab 180 | * bootswatch-paper (bootstrap_version 3 only) 181 | * bootswatch-sandstone (bootstrap_version 3 only) 182 | * bootswatch-spruce (bootstrap_version 2 only) 183 | * bootswatch-superhero 184 | * bootswatch-united 185 | * bootswatch-darkly(bootstrap_version 3 only) 186 | * bootswatch-flatly 187 | * bootswatch-lumen (bootstrap_version 3 only) 188 | * bootswatch-yeti(bootstrap_version 3 only) 189 | * geo-bootstrap (bootstrap_version 2 only) 190 | 191 | 192 | Web Font 193 | ======================== 194 | 195 | `Google Web Fonts `_ are available. 196 | 197 | :: 198 | 199 | html_theme_options = { 200 | 'googlewebfont': True, 201 | 'googlewebfont_url': 'http://fonts.googleapis.com/css?family=Text+Me+One', 202 | 'googlewebfont_style': "font-family: 'Text Me One', sans-serif", 203 | } 204 | 205 | .. figure:: _static/img/webfont.png 206 | :width: 60% 207 | :figclass: figure-polaroid 208 | :align: center 209 | :target: _images/webfont.png 210 | 211 | Figure9: webfont 212 | 213 | 214 | Font Icon 215 | ======================== 216 | 217 | `Font Awesome `_ are available. 218 | 219 | Please write in this format. 220 | 221 | :: 222 | 223 | * :fonticon:`fa fa-home` 224 | * :fonticon:`fa fa-home fa-large` 225 | * :fonticon:`fa fa-home fa-muted` 226 | * :fonticon:`fa fa-home fa-spin` 227 | * :fonticon:`fa fa-home fa-border` 228 | * :fonticon:`fa fa-home fa-border icon-2x` 229 | * :fonticon:`fa fa-home fa-border icon-3x` 230 | * :fonticon:`fa fa-home fa-border icon-4x` 231 | 232 | * :fonticon:`fa fa-home` 233 | * :fonticon:`fa fa-home fa-large` 234 | * :fonticon:`fa fa-home fa-muted` 235 | * :fonticon:`fa fa-home fa-spin` 236 | * :fonticon:`fa fa-home fa-border` 237 | * :fonticon:`fa fa-home fa-border fa-2x` 238 | * :fonticon:`fa fa-home fa-border fa-3x` 239 | * :fonticon:`fa fa-home fa-border fa-4x` 240 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- 1 | Basicstrap style theme for Sphinx. Using Twitter Bootstrap. 2 | 3 | |travis| |coveralls| |downloads| |version| |license| |requires| 4 | 5 | Features 6 | ======== 7 | * Provide ``basicstrap`` theme for render HTML document. 8 | * Using `Twitter Bootstrap `_. 9 | * Support Responsive Design. 10 | * Change the layout flexibility. 11 | * `Google Web Fonts `_ available. 12 | * `Font Awesome `_ available. 13 | * Easily change the design. by `Bootswatch `_. 14 | 15 | Set up 16 | ====== 17 | Make environment with pip:: 18 | 19 | $ pip install sphinxjp.themes.basicstrap 20 | 21 | Convert Usage 22 | ============= 23 | setup conf.py with:: 24 | 25 | extensions += ['sphinxjp.themes.basicstrap'] 26 | html_theme = 'basicstrap' 27 | 28 | and run:: 29 | 30 | $ make html 31 | 32 | Requirement 33 | =========== 34 | * Python 3.4 or later. 35 | * Sphinx 2.x or later. 36 | 37 | Using 38 | =========== 39 | * Twitter Bootstrap 3.3.4 and 2.3.2 40 | * jQuery 1.11.1 41 | * Bootswatch 42 | * Font Awesome 4.3.0 43 | 44 | License 45 | ======= 46 | 47 | * sphinxjp.themes.basicstrap Licensed under the `MIT license `_ . 48 | * `Twitter Bootstrap is licensed under the Apache license `_. 49 | * `Bootswatch is licensed under the Apache license `_. 50 | * `Font Awesome is licensed under the license `_. 51 | * `Geo is licensed under the license `_ 52 | 53 | See the LICENSE file for specific terms. 54 | 55 | Authors 56 | ======= 57 | 58 | Sphinx template, css, packaging 59 | ------------------------------- 60 | * tell-k 61 | 62 | Contributors 63 | ------------------------------- 64 | 65 | Great thanks! 66 | 67 | * doctorlard 68 | * pierre-rouanet 69 | * westurner 70 | 71 | History 72 | ======= 73 | 74 | 0.5.0(May 6, 2019) 75 | --------------------- 76 | 77 | * `Fix deprecated app.info warning, removed in Sphinx 2.x `_ 78 | * Drop support Python2.6, Python2.7, Python3.3 79 | * Fix pytest integration. 80 | 81 | 0.4.3(May 7, 2015) 82 | --------------------- 83 | * `#19 ENH: Add id=content-wrapper to content column div for CSS. `_ 84 | * Update Bootstrap ver3.3.4 85 | * Update Font Awesome ver4.3.0 86 | * Update jQuery ver1.11.1 87 | 88 | 0.4.2(Feb 16, 2015) 89 | --------------------- 90 | 91 | * `#18 Header search box. `_ 92 | * `#16 Drop Python-3.2 support. `_ 93 | * `#15 UBY: optimize for responsive xs. `_ Thanks to westurner. 94 | * Fixed bug `#17 Switching of the inner theme is too slow. `_ 95 | * Fixed bug `#14 Typo. `_ Thanks to mhor. 96 | * Fixed bug `#13 Invalid body css. `_ Thanks to 3rdarm. 97 | * Support wheel format. 98 | 99 | 0.4.1(Sep 29, 2014) 100 | --------------------- 101 | 102 | * Fixed bug `#11 Font Icon does not appear. `_. 103 | 104 | 0.4.0(Sep 29, 2014) 105 | --------------------- 106 | 107 | * `#8 Navbar hides initial content when jumping to in-page anchor `_. 108 | * `#7 Added WAI-ARIA roles and optional navbar-fixed-top setting `_. 109 | * New Support Twitter Bootstrap ver3.2.0 110 | * New Support Bootswatch Theme for Twitter Bootstrap ver3.2.0 111 | * Add new Innner Theme `bootswatch-darkly `_ from Bootswatch. 112 | * Add new Innner Theme `bootswatch-yeti `_ from Bootswatch. 113 | * Add new Innner Theme `bootswatch-paper `_ from Bootswatch. 114 | * Add new Innner Theme `bootswatch-sandstone `_ from Bootswatch. 115 | * Add new Innner Theme `bootswatch-lumen `_ from Bootswatch. 116 | * Improve menu for smartphone. 117 | * Update Font Awesome ver4.2.0 118 | * Remove bootstrap.py and buildout.cfg 119 | * Starting Travis CI and Coveralls. 120 | 121 | 0.3.2(Dec 31, 2013) 122 | --------------------- 123 | 124 | * Add tox test. 125 | * Python3 support. 126 | 127 | 0.3.1(Nov 4, 2013) 128 | --------------------- 129 | * Update stylesheet for 'h1_size' - 'h6_size' options. 130 | * Changed. When you visit in the smartphone, GoogleWeb fonts to not used. 131 | 132 | 0.3.0(Jun 28, 2013) 133 | --------------------- 134 | * Fixed bug `#5 "Goolgle Web Font" is not reflected `_. 135 | * Update Twitter Bootstrap ver2.3.2 136 | * Update Bootswatch Theme for Twitter Bootstrap ver2.3.2 137 | * Update Font Awesome ver3.2.1 138 | * Add new Innner Theme `bootswatch-flatly `_ from Bootswatch. 139 | * Add new Innner Theme `geo-bootstrap `_. 140 | * Add new option of html_theme_optios. 'h1_size' - 'h6_size'. 141 | 142 | 0.2.0(Feb 11, 2013) 143 | --------------------- 144 | * Fixed bug `#1 "Quick Search" in the table of contents is missing `_. 145 | * `#2 adding "navbar-inverse" option `_. 146 | * Integrated Bootswatch 147 | * Integrated Font Awesome ver3.0 148 | 149 | 0.1.1 (Dec 26, 2012) 150 | --------------------- 151 | * Adjust css 152 | * Update Twitter Bootstrap ver2.2.2 153 | * Update jQuery ver1.8.3 154 | 155 | 0.1.0 (Dec 23, 2012) 156 | --------------------- 157 | * First release 158 | 159 | 160 | .. |travis| image:: https://travis-ci.org/tell-k/sphinxjp.themes.basicstrap.svg?branch=master 161 | :target: https://travis-ci.org/tell-k/sphinxjp.themes.basicstrap 162 | 163 | .. |coveralls| image:: https://coveralls.io/repos/tell-k/sphinxjp.themes.basicstrap/badge.png 164 | :target: https://coveralls.io/r/tell-k/sphinxjp.themes.basicstrap 165 | :alt: coveralls.io 166 | 167 | .. |requires| image:: https://requires.io/github/tell-k/sphinxjp.themes.basicstrap/requirements.svg?tag=v0.1.1 168 | :target: https://requires.io/github/tell-k/sphinxjp.themes.basicstrap/requirements/?tag=v0.1.1 169 | :alt: requires.io 170 | 171 | .. |downloads| image:: https://img.shields.io/pypi/dm/sphinxjp.themes.basicstrap.svg 172 | :target: http://pypi.python.org/pypi/sphinxjp.themes.basicstrap/ 173 | :alt: downloads 174 | 175 | .. |version| image:: https://img.shields.io/pypi/v/sphinxjp.themes.basicstrap.svg 176 | :target: http://pypi.python.org/pypi/sphinxjp.themes.basicstrap/ 177 | :alt: latest version 178 | 179 | .. |license| image:: https://img.shields.io/pypi/l/sphinxjp.themes.basicstrap.svg 180 | :target: http://pypi.python.org/pypi/sphinxjp.themes.basicstrap/ 181 | :alt: license 182 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/basicstrap-base.css: -------------------------------------------------------------------------------- 1 | @import url("../basic.css"); 2 | 3 | 4 | /* Table 5 | ---------------------------------------------------------*/ 6 | 7 | table { 8 | border: 0; 9 | max-width: 100%; 10 | background-color: transparent; 11 | border-collapse: collapse; 12 | border-spacing: 0 !important; 13 | } 14 | 15 | table.docutils { 16 | width: 100%; 17 | margin-bottom: 20px; 18 | border: 1px solid #dddddd; 19 | border-collapse: separate; 20 | *border-collapse: collapse; 21 | border-left: 0; 22 | border-right: 0; 23 | } 24 | 25 | table.docutils tr { 26 | color: #333; 27 | background-color: #fff; 28 | } 29 | 30 | table.docutils th { 31 | font-weight: bold; 32 | } 33 | table.docutils th, 34 | table.docutils td 35 | { 36 | padding: 8px; 37 | line-height: 20px; 38 | text-align: left; 39 | vertical-align: top; 40 | border: none; 41 | border-spacing: 0 !important; 42 | border-collapse: none; 43 | border-top: 1px solid #dddddd; 44 | } 45 | table.docutils caption + thead tr:first-child th, 46 | table.docutils caption + tbody tr:first-child th, 47 | table.docutils caption + tbody tr:first-child td, 48 | table.docutils colgroup + thead tr:first-child th, 49 | table.docutils colgroup + tbody tr:first-child th, 50 | table.docutils colgroup + tbody tr:first-child td, 51 | table.docutils thead:first-child tr:first-child th, 52 | table.docutils tbody:first-child tr:first-child th, 53 | table.docutils tbody:first-child tr:first-child td { 54 | border-top: 0; 55 | } 56 | table.docutils thead th { 57 | vertical-align: bottom; 58 | } 59 | table.docutils tbody + tbody { 60 | border-top: 2px solid #dddddd; 61 | } 62 | 63 | /* Table-bordered 64 | ---------------------------------------------------------*/ 65 | 66 | table.table-bordered { 67 | border-top: 1px solid #dddddd; 68 | border-left: 1px solid #dddddd; 69 | border-right: none; 70 | } 71 | table.table-bordered > thead > tr > th, 72 | table.table-bordered > tbody > tr > th, 73 | table.table-bordered > tfoot > tr > th, 74 | table.table-bordered > thead > tr > td, 75 | table.table-bordered > tbody > tr > td, 76 | table.table-bordered > tfoot > tr > td { 77 | border-left: none; 78 | border-bottom-width: 0; 79 | } 80 | 81 | /* Highlight Table 82 | ---------------------------------------------------------*/ 83 | 84 | .highlighttable { 85 | width: 100%; 86 | } 87 | 88 | .highlighttable .code pre { 89 | font-size: 12px; 90 | } 91 | 92 | .highlighttable .code { 93 | max-width: 0; 94 | } 95 | 96 | .highlighttable .linenos { 97 | width: 1%; 98 | } 99 | .highlighttable .linenos pre { 100 | word-break: normal; 101 | font-size: 12px; 102 | } 103 | 104 | .literal-block-wrapper { 105 | padding: 0; 106 | } 107 | 108 | 109 | div.highlight { 110 | background: none; 111 | } 112 | 113 | /* Field-list 114 | ---------------------------------------------------------*/ 115 | 116 | table.field-list { 117 | width: auto; 118 | border: none; 119 | } 120 | 121 | /* Citation 122 | ---------------------------------------------------------*/ 123 | 124 | table.citation{ 125 | width: auto; 126 | margin-bottom: 0; 127 | border: none; 128 | } 129 | table.citation td.label { 130 | font-size: 100%; 131 | display: block; 132 | line-height: normal; 133 | background: inherit; 134 | } 135 | 136 | /* Footnote 137 | ---------------------------------------------------------*/ 138 | 139 | a.footnote-reference { 140 | vertical-align: super; 141 | font-size: 75%; 142 | } 143 | 144 | table.footnote td.label { 145 | font-size: 100%; 146 | display: block; 147 | line-height: normal; 148 | background: inherit; 149 | } 150 | 151 | table.footnote { 152 | width: auto; 153 | margin-bottom: 0px; 154 | border: none; 155 | } 156 | 157 | 158 | /* Footer 159 | ---------------------------------------------------------*/ 160 | 161 | footer { 162 | width: 100%; 163 | margin: 0; 164 | text-align: center; 165 | padding: 0px; 166 | padding-left: auto; 167 | padding-right: auto; 168 | } 169 | 170 | /* Sidebar 171 | ------------------------------------------------------- */ 172 | div.sidebar { 173 | border: none; 174 | margin: 0; 175 | padding: 0; 176 | background: none; 177 | width: 100%; 178 | float: none; 179 | } 180 | 181 | div.sidebar ul:second-child { 182 | color: red; 183 | background-color: #000 !important; 184 | list-style: none !important; 185 | } 186 | 187 | /* Definition lists 188 | ----------------------------------------------------------- */ 189 | 190 | dl dd { 191 | padding-left: 1em; 192 | } 193 | 194 | /* Admonition styles 195 | ----------------------------------------------------------- */ 196 | div.admonition { 197 | padding: 0.5em 2.5em 0.5em 1em; 198 | margin-bottom: 20px; 199 | color: #c09853; 200 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); 201 | background-color: #fcf8e3; 202 | border: 1px solid #fbeed5; 203 | -webkit-border-radius: 4px; 204 | -moz-border-radius: 4px; 205 | border-radius: 4px; 206 | } 207 | 208 | div.admonition p { 209 | padding: 0; 210 | } 211 | 212 | div.admonition p.admonition-title { 213 | margin: 0; 214 | padding: 0.1em 0 0.1em 0; 215 | font-weight: bold; 216 | } 217 | 218 | div.admonition ul, div.admonition ol { 219 | padding: 0.1em 0.5em 0.5em 2em; 220 | } 221 | 222 | /* -- danger, error -- */ 223 | div.danger, 224 | div.error { 225 | color: #b94a48; 226 | background-color: #f2dede; 227 | border-color: #eed3d7; 228 | } 229 | 230 | /* -- warning, caution, attention -- */ 231 | div.warning, 232 | div.caution, 233 | div.attention { 234 | } 235 | 236 | div.warning table.docutils, 237 | div.warning table.docutils th, 238 | div.warning table.docutils td, 239 | div.caution table.docutils, 240 | div.caution table.docutils th, 241 | div.caution table.docutils td, 242 | div.attention table.docutils, 243 | div.attention table.docutils th, 244 | div.attention table.docutils td { 245 | } 246 | 247 | div.warning blockquote, 248 | div.caution blockquote, 249 | div.attention blockquote { 250 | } 251 | 252 | /* -- note, important -- */ 253 | div.note, 254 | div.important { 255 | color: #468847; 256 | background-color: #dff0d8; 257 | border-color: #d6e9c6; 258 | } 259 | 260 | /* -- hint, tip -- */ 261 | div.hint, 262 | div.tip { 263 | color: #3a87ad; 264 | background-color: #d9edf7; 265 | border-color: #bce8f1; 266 | } 267 | 268 | 269 | 270 | /* Etc 271 | ----------------------------------------------------------- */ 272 | 273 | div.figure-round img { 274 | -webkit-border-radius: 6px; 275 | -moz-border-radius: 6px; 276 | border-radius: 6px; 277 | } 278 | 279 | div.figure-polaroid img{ 280 | padding: 4px; 281 | background-color: #fff; 282 | border: 1px solid #ccc; 283 | border: 1px solid rgba(0, 0, 0, 0.2); 284 | -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 285 | -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 286 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 287 | } 288 | 289 | div.figure-circle img { 290 | -webkit-border-radius: 500px; 291 | -moz-border-radius: 500px; 292 | border-radius: 500px; 293 | } 294 | 295 | a.headerlink { 296 | font-size: 60% !important; 297 | padding-left: 5px; 298 | } 299 | 300 | /* 301 | #searchbox .search-query { 302 | width: 60%; 303 | } 304 | */ 305 | 306 | div.topic { 307 | min-height: 20px; 308 | padding: 9px; 309 | margin-bottom: 20px; 310 | 311 | background-color: #f5f5f5; 312 | border: 1px solid #e3e3e3; 313 | 314 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); 315 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); 316 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); 317 | -webkit-border-radius: 3px; 318 | -moz-border-radius: 3px; 319 | border-radius: 3px; 320 | } 321 | 322 | ul.sp-localtoc { 323 | list-style: none; 324 | padding: 0; 325 | } 326 | ul.sp-localtoc ul{ 327 | list-style: none; 328 | padding-left: 0; 329 | } 330 | ul.sp-localtoc ul a{ 331 | padding-left: 15px; 332 | padding-top:7px; 333 | padding-bottom:7px; 334 | display: block; 335 | text-decoration: none; 336 | color: #777777; 337 | } 338 | ul.sp-localtoc ul a:hover{ 339 | color: #555555; 340 | } 341 | ul.sp-localtoc ul ul{ 342 | list-style: none; 343 | } 344 | ul.sp-localtoc ul ul a{ 345 | padding-left: 25px; 346 | } 347 | ul.sp-localtoc ul ul ul a{ 348 | padding-left: 35px; 349 | } 350 | ul.sp-localtoc ul ul ul ul a{ 351 | padding-left: 45px; 352 | } 353 | ul.sp-localtoc ul ul ul ul ul a{ 354 | padding-left: 55px; 355 | } 356 | ul.sp-localtoc ul ul ul ul ul a{ 357 | padding-left: 65px; 358 | } 359 | div.navbar-inverse ul.sp-localtoc ul a{ 360 | color: #999999; 361 | } 362 | div.navbar-inverse ul.sp-localtoc ul a:hover{ 363 | color: #ffffff; 364 | } 365 | 366 | 367 | div.footer-relbar { 368 | margin-top:10px; 369 | } 370 | 371 | div.sidebar ul { 372 | list-style: none; 373 | padding-left: 10px; 374 | } 375 | div.sidebar ul ul { 376 | list-style: initial; 377 | padding-left: 40px; 378 | } 379 | div.sidebar p.topless { 380 | padding-left: 10px; 381 | } 382 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/_theme_preview.html: -------------------------------------------------------------------------------- 1 | {# 2 | basicstrap/_theme_preview.html 3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Theme preview window 6 | 7 | :copyright: Copyright 2014 by tell-k. 8 | :license: MIT Licence, see LICENSE for details. 9 | #} 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 138 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/bootstrap2/bootstrap-responsive.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Responsive v2.3.2 3 | * 4 | * Copyright 2012 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:inherit!important}.hidden-print{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.span11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:auto}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="offset"]:first-child{margin-left:0}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.controls-row [class*="span"]+[class*="span"]{margin-left:0}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.modal.fade{top:-100px}.modal.fade.in{top:20px}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.media .pull-left,.media .pull-right{display:block;float:none;margin-bottom:10px}.media-object{margin-right:0;margin-left:0}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:auto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#777;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:none;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .open>.dropdown-menu{display:block}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}} 10 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/bootstrap3/bootstrap-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.4 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/layout.html: -------------------------------------------------------------------------------- 1 | {# 2 | basicstrap/layout.html 3 | ~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Master layout template for Sphinx themes. on Twitter Bootstrap 6 | 7 | :copyright: Copyright 2012 by tell-k. 8 | :license: MIT Licence, see LICENSE for details. 9 | #} 10 | {%- block doctype -%} 11 | 12 | {%- endblock %} 13 | {%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} 14 | {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %} 15 | {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and 16 | (sidebars != []) %} 17 | {%- set url_root = pathto('', 1) %} 18 | {# XXX necessary? #} 19 | {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} 20 | {%- if not embedded and docstitle %} 21 | {%- set titlesuffix = " — "|safe + docstitle|e %} 22 | {%- else %} 23 | {%- set titlesuffix = "" %} 24 | {%- endif %} 25 | 26 | {%- if theme_bootstrap_version == "3" %} 27 | {%- set bs_span_prefix = "col-md-" %} 28 | {%- set class_device_xs= "xs" %} 29 | {%- set class_device_sm= "sm" %} 30 | {%- set class_device_md= "md" %} 31 | {%- set class_row = "row" %} 32 | {%- else %} 33 | {%- set bs_span_prefix = "span" %} 34 | {%- set class_device_xs= "phone" %} 35 | {%- set class_device_sm= "tablet" %} 36 | {%- set class_device_md= "desktop" %} 37 | {%- if (not theme_row_fixed|tobool) %} 38 | {%- set class_row = "row-fluid" %} 39 | {%- else %} 40 | {%- set class_row = "row" %} 41 | {%- endif %} 42 | {%- endif %} 43 | 44 | {%- macro relbar() %} 45 | 75 | {%- endmacro %} 76 | 77 | {%- macro sidebar() %} 78 | {%- if render_sidebar %} 79 | 114 | {%- endif %} 115 | {%- endmacro %} 116 | 117 | {% set script_files = script_files + ['_static/js/bootstrap' + theme_bootstrap_version + '.min.js'] %} 118 | {%- macro script() %} 119 | 128 | {%- for scriptfile in script_files %} 129 | {%- if scriptfile == '_static/jquery.js' %} 130 | 131 | {%- else %} 132 | 133 | {%- endif %} 134 | {%- endfor %} 135 | 136 | 137 | 139 | {%- endmacro %} 140 | 141 | {%- macro css() %} 142 | {%- if (theme_googlewebfont|tobool) %} 143 | 144 | {%- endif %} 145 | 146 | 147 | 148 | {%- if (theme_inner_theme|tobool) %} 149 | 150 | 151 | {%- else %} 152 | 153 | 154 | {%- endif %} 155 | 156 | {%- if theme_bootstrap_version == "3" and theme_noflatdesign|tobool %} 157 | 158 | {%- endif %} 159 | 160 | 161 | {% if (theme_nav_fixed_top|tobool) %} 162 | 173 | {% endif %} 174 | 175 | 176 | {%- for cssfile in css_files %} 177 | 178 | {%- endfor %} 179 | {%- if (not theme_noresponsive|tobool) and theme_bootstrap_version == "2" %} 180 | 181 | {%- endif %} 182 | 183 | {%- if theme_noresponsive|tobool and theme_bootstrap_version == "3" %} 184 | 185 | {%- endif %} 186 | 187 | {%- endmacro %} 188 | 189 | 190 | 191 | 192 | {{ metatags }} 193 | {%- block htmltitle %} 194 | {{ title|striptags|e }}{{ titlesuffix }} 195 | {%- endblock %} 196 | 197 | {%- if theme_noresponsive|tobool and theme_bootstrap_version == "3" %} 198 | 199 | {%- endif %} 200 | 201 | 202 | 203 | {{ css() }} 204 | {%- if not embedded %} 205 | {{ script() }} 206 | {%- if use_opensearch %} 207 | 210 | {%- endif %} 211 | {%- if favicon %} 212 | 213 | {%- endif %} 214 | {%- endif %} 215 | {%- block linktags %} 216 | {%- if hasdoc('about') %} 217 | 218 | {%- endif %} 219 | {%- if hasdoc('genindex') %} 220 | 221 | {%- endif %} 222 | {%- if hasdoc('search') %} 223 | 224 | {%- endif %} 225 | {%- if hasdoc('copyright') %} 226 | 227 | {%- endif %} 228 | 229 | {%- if parents %} 230 | 231 | {%- endif %} 232 | {%- if next %} 233 | 234 | {%- endif %} 235 | {%- if prev %} 236 | 237 | {%- endif %} 238 | {%- endblock %} 239 | {%- block extrahead %} {% endblock %} 240 | 241 | 242 | 243 | {%- block header %} 244 | 245 | {%- if theme_bootstrap_version == "3" %} 246 | 326 | 327 | {%- else %} 328 | 329 | 395 | {%- endif %} 396 | {% endblock %} 397 | 398 | 399 |
400 | 401 | 402 |
403 | {%- block content %} 404 | 405 | {%- block sidebar1 %} 406 | {% if (not theme_rightsidebar|tobool) %} {{ sidebar() }} {% endif %} 407 | {% endblock %} 408 | 409 |
410 |
411 | {%- block document %} 412 |
413 | {%- if render_sidebar %} 414 |
415 | {%- endif %} 416 |
417 | {% block body %} {% endblock %} 418 |
419 | {%- if render_sidebar %} 420 |
421 | {%- endif %} 422 |
423 | {%- endblock %} 424 |
425 |
426 | 427 | {%- block sidebar2 %} 428 | {% if (theme_rightsidebar|tobool) %} {{ sidebar() }} {% endif %} 429 | {% endblock %} 430 | 431 | {%- endblock %}{# /content block #} 432 |
433 | 434 | 435 | 438 | 439 | 440 | {%- block footer %} 441 |
442 | {%- if show_copyright %} 443 | {%- if hasdoc('copyright') %} 444 | {% trans path=pathto('copyright'), copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} 445 | {%- else %} 446 | {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} 447 | {%- endif %} 448 | {%- endif %} 449 | {%- if last_updated %} 450 | {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} 451 | {%- endif %} 452 | {%- if show_sphinx %} 453 | {% trans sphinx_version=sphinx_version|e %}Created using Sphinx {{ sphinx_version }}.{% endtrans %} 454 | {%- endif %} 455 |
456 | {%- endblock %} 457 | 458 | 459 |
460 | 461 | 462 | {%- if theme_theme_preview|tobool %} 463 | {%- include "_theme_preview.html" %} 464 | {%- endif %} 465 | 466 | 467 | 468 | -------------------------------------------------------------------------------- /src/sphinxjp/themes/basicstrap/templates/basicstrap/static/css/font-awesome.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.3.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-genderless:before,.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"} --------------------------------------------------------------------------------