Add side margins if screen is too wide
This commit is contained in:
parent
7d2c3ac0f2
commit
c90c6805a2
15
doc/_templates/layout.html
vendored
15
doc/_templates/layout.html
vendored
@ -3,6 +3,19 @@
|
||||
{# Custom CSS overrides #}
|
||||
{% set bootswatch_css_custom = ['_static/cppformat.css'] %}
|
||||
|
||||
{%- block content %}
|
||||
{{ navBar() }}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{%- block sidebar1 %}{{ bsidebar() }}{% endblock %}
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
{% block sidebar2 %} {# possible location for sidebar #} {% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{%- endblock %}
|
||||
|
||||
{% block footer %}
|
||||
{{ super() }}
|
||||
<!-- Google Analytics -->
|
||||
@ -14,4 +27,4 @@
|
||||
ga('create', 'UA-20116650-4', 'cppformat.github.io');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user