forked from tildetown/tilde.town
parent
8be261647c
commit
8b120e2112
@ -0,0 +1,36 @@
|
||||
body {
|
||||
background-color: #E0B0FF;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
td {
|
||||
width: 50%;
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
td p {
|
||||
word-wrap:anywhere;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-weight:bold;
|
||||
color:blueviolet;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
animation: rainbow 1s infinite;
|
||||
}
|
||||
|
||||
@keyframes rainbow {
|
||||
20%{color: red;}
|
||||
40%{color: orange;}
|
||||
60%{color: yellow;}
|
||||
80%{color: green;}
|
||||
100%{color: blue;}
|
||||
}
|
||||
|
@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>web log of tilde town</title>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel="stylesheet" href="blog.css">
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<h1>a world wide web log for tilde town!</h1>
|
||||
{{ range .News }}
|
||||
<h2>{{.Title}}</h2>
|
||||
<em>{{.Pubdate}}</em>
|
||||
{{.Content}}
|
||||
{{ end }}
|
||||
</td>
|
||||
<td>
|
||||
<h1>the town lights</h1>
|
||||
|
||||
<p>a dot is a user. + means they've established a webpage. * means they are logged into
|
||||
the server.</p>
|
||||
|
||||
<p>
|
||||
{{ .Lights }}
|
||||
<3
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue