~ecs/ecs.d2evs.net

ac69c36001ad522573c43283b3dbc870cc836e67 — Eyal Sawady 6 months ago 9e0d36c
Restyle navbar, <pre>, and <a:hover>
2 files changed, 10 insertions(+), 12 deletions(-)

M _templates/page.html.w
M static/style.css
M _templates/page.html.w => _templates/page.html.w +1 -1
@@ 8,7 8,7 @@
</head>
<body>
  <small>
    <div class="topnav">
    <div class="navbar">
      <a href="/">Home</a>
      <div class="recent">Recent:</div>
% for i in $(ls "$root/posts" | sort -rn | head -n3); do

M static/style.css => static/style.css +9 -11
@@ 4,13 4,11 @@ body {
}

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

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

a:link {


@@ 21,18 19,18 @@ a:visited {
  color: #777;
}

a:active {
a:hover {
  color: #fff;
}

.topnav {
  background-color: #111;
.navbar {
  background-color: black;
  color: #fff;
  overflow: hidden;
  font-family: monospace;
}

.topnav a {
.navbar a {
  float: left;
  color: #aaa;
  text-align: center;


@@ 40,14 38,14 @@ a:active {
  text-decoration: none;
}

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

.topnav div {
.navbar div {
  float: left;
  background-color: black;
  background-color: #111;
  color: #888;
  text-align: center;
  padding: 5px 8px;