...
 
Commits (5)
......@@ -28,7 +28,7 @@
</script>
<div class="wrap">
<header>
<img id="profile" src="/image/universalu13.jpg" height="170" alt="Tim Stumbaugh"/>
<img id="profile" src="/image/universalu15.jpg" height="170" alt="Tim Stumbaugh"/>
<h1>Tim Stumbaugh</h1>
<p>A work in progress</p>
</header>
......@@ -73,8 +73,9 @@
<footer>
<p>&copy;2012-2017 Tim Stumbaugh</p>
<p>Hand-written, valid <a href="//validator.w3.org/check?uri=referer">HTML5</a>
and <a href="//jigsaw.w3.org/css-validator/check/referer">CSS</a>.</p>
<p><a href="https://gitlab.com/tjstum/tjstum-www/">Hand-written</a>, valid
<a href="//validator.w3.org/check?uri=referer">HTML5</a> and
<a href="//jigsaw.w3.org/css-validator/check/referer">CSS</a>.</p>
</footer>
</div>
</div>
......
......@@ -157,6 +157,14 @@ def collect_only(args, config):
print(path)
@action('preview')
def web_server(args, config):
import http.server, socketserver
with socketserver.TCPServer(("127.0.0.1", 8080), http.server.SimpleHTTPRequestHandler) as httpd:
print("Running on http://127.0.0.1:8080/")
httpd.serve_forever()
def main():
parser = argparse.ArgumentParser(
description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
......
This diff is collapsed.
......@@ -20,6 +20,7 @@ body {
}
img {
padding-left: 1em;
float: right;
}
......@@ -47,6 +48,7 @@ section {
}
.content h2 {
padding-top: 5px;
margin-bottom: 10px;
border-bottom: dashed thin black;
background-color: #C4D2E0;
......@@ -56,8 +58,13 @@ section ul {
list-style-type: none;
}
section p {
padding-left: 1em;
}
section p,li {
margin-top: 0;
padding-right: 1em;
margin-bottom: 10px;
line-height: 1.25em;
}
......