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