~ecs/ecs.d2evs.net

49d885bf5d1001ba1d4ecdb30e4c7469ca3a473d — Eyal Sawady 5 months ago db4da83
More a11y fixups

I now score 100/100/100/100 on Lighthouse
2 files changed, 6 insertions(+), 13 deletions(-)

M _templates/page.html.w
M static/style.css
M _templates/page.html.w => _templates/page.html.w +2 -2
@@ 15,8 15,8 @@
%     echo "<a href=\"/posts/${i%\.w}\">$(get_title "$root/posts/$i")</a>"
% done
	</div>
	<div class="post">
	<main>
% cat
	</div>
	</main>
</body>
% }

M static/style.css => static/style.css +4 -11
@@ 3,11 3,11 @@ body {
  color: white;
}

.post pre {
pre {
  background-color: #111;
}

.post code {
code {
  background-color: #111;
}



@@ 20,30 20,23 @@ a:visited {
}

a:hover {
  background-color: #111;
  color: #fff;
}

.navbar {
  background-color: black;
  color: #fff;
  overflow: hidden;
  font-size: smaller;
  font-size: 12px;
  font-family: monospace;
}

.navbar a {
  float: left;
  color: #aaa;
  text-align: center;
  padding: 5px 8px;
  text-decoration: none;
}

.navbar a:hover {
  background-color: #111;
  color: white;
}

.navbar div {
  float: left;
  background-color: #111;