replace section tags with div tags
syntactically incorrect usage, as picked up by a W3C validator
This commit is contained in:
parent
87ad48d8d2
commit
ad33cf2e83
@ -28,13 +28,13 @@ a:hover, a:active {
|
||||
border-bottom: 1px dotted #EEE;
|
||||
}
|
||||
|
||||
section.nav, section.styles {
|
||||
div.nav, div.styles {
|
||||
color: #BBB;
|
||||
background: #222;
|
||||
border-bottom: 1px solid #222;
|
||||
}
|
||||
|
||||
section.nav a, section.styles a {
|
||||
div.nav a, div.styles a {
|
||||
color: #BBB;
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,13 @@ a:hover, a:active {
|
||||
border-bottom: 1px dotted #111;
|
||||
}
|
||||
|
||||
section.nav, section.styles {
|
||||
div.nav, div.styles {
|
||||
color: #666;
|
||||
background: #EEE;
|
||||
border-bottom: 1px solid #CCC;
|
||||
}
|
||||
|
||||
section.nav a, section.styles a {
|
||||
div.nav a, div.styles a {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
|
@ -63,21 +63,21 @@ a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
section.nav, section.styles {
|
||||
div.nav, div.styles {
|
||||
font-size: 0.75em;
|
||||
border-bottom: 1px solid #444;
|
||||
padding: 0.25em 0.5em;
|
||||
}
|
||||
|
||||
section.nav a, section.styles a {
|
||||
div.nav a, div.styles a {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
section.styles {
|
||||
div.styles {
|
||||
float: right;
|
||||
}
|
||||
|
||||
section.content {
|
||||
div.content {
|
||||
font-size: 11pt;
|
||||
|
||||
padding: 0 1em;
|
||||
|
@ -10,21 +10,21 @@
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename=user_style) }}">
|
||||
<link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}">
|
||||
|
||||
<section class="site-wrap">
|
||||
<section class="styles">
|
||||
<div class="site-wrap">
|
||||
<div class="styles">
|
||||
<a href="?style=dark">[dark]</a>
|
||||
<a href="?style=light">[light]</a>
|
||||
</section>
|
||||
<section class="nav">
|
||||
</div>
|
||||
<div class="nav">
|
||||
{% for nav in navs %}
|
||||
<a href="{{ nav.1 }}">{{ nav.0 }}</a>
|
||||
{% if not loop.last %} » {% endif %}
|
||||
{% endfor %}
|
||||
</section>
|
||||
<section class="content">
|
||||
{{ content }}
|
||||
</section>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ content }}
|
||||
</div>
|
||||
<footer>
|
||||
<i>Last modified: {{ mtime }}</i>
|
||||
</footer>
|
||||
</section>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user