put some sidebars on the site for readability
This commit is contained in:
parent
f63de031f6
commit
1398cfe3db
|
@ -1,14 +1,29 @@
|
||||||
html {
|
html {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-bottom: 16px;
|
|
||||||
color: #222;
|
color: #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
background: #888;
|
||||||
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-wrap {
|
||||||
|
background: white;
|
||||||
|
|
||||||
|
max-width: 70pc;
|
||||||
|
height: 100vh;
|
||||||
|
margin: 0;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-top: none;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
h1,h2,h3,h4,h5,h6 {
|
h1,h2,h3,h4,h5,h6 {
|
||||||
color: #811610;
|
color: #811610;
|
||||||
}
|
}
|
||||||
|
@ -90,6 +105,7 @@ footer {
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
color: #999;
|
color: #999;
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
|
padding-bottom: 16px;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,15 +2,17 @@
|
||||||
<title>{{ title }}{% if title %} - {% endif %}{{ config.TITLE_SUFFIX }}</title>
|
<title>{{ title }}{% if title %} - {% endif %}{{ config.TITLE_SUFFIX }}</title>
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||||
<link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}">
|
<link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}">
|
||||||
<section class="nav">
|
<section class="site-wrap">
|
||||||
{% for nav in navs %}
|
<section class="nav">
|
||||||
<a href="{{ nav.1 }}">{{ nav.0 }}</a>
|
{% for nav in navs %}
|
||||||
{% if not loop.last %} » {% endif %}
|
<a href="{{ nav.1 }}">{{ nav.0 }}</a>
|
||||||
{% endfor %}
|
{% if not loop.last %} » {% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</section>
|
||||||
|
<section class="content">
|
||||||
|
{{ content }}
|
||||||
|
</section>
|
||||||
|
<footer>
|
||||||
|
<i>Last modified: {{ mtime }}</i>
|
||||||
|
</footer>
|
||||||
</section>
|
</section>
|
||||||
<section class="content">
|
|
||||||
{{ content }}
|
|
||||||
</section>
|
|
||||||
<footer>
|
|
||||||
<i>Last modified: {{ mtime }}</i>
|
|
||||||
</footer>
|
|
||||||
|
|
Loading…
Reference in New Issue