Add GitHub link and styles

This commit is contained in:
Martin Polden 2012-11-21 14:04:43 +01:00
parent 65734e53bb
commit 5a420a3340
1 changed files with 19 additions and 2 deletions

View File

@ -5,9 +5,26 @@
<title>What is my IP address &mdash; ifconfig.co</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Lookup my IP address">
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<style>
h1, p {
font-family: 'Oswald', sans-serif;
}
.ip {
padding-left: 2px;
font-size: 1.5em;
}
#wrapper {
margin: 0 auto;
text-align: center;
}
</style>
</head>
<body>
<h1>What is my IP address?</h1>
<p>Your IP address is <strong>{{ .IP }}</strong></p>
<div id="wrapper">
<h1>What is my IP address?</h1>
<p>Your IP address is: <br><span class="ip">{{ .IP }}</span></p>
</div>
<a href="https://github.com/martinp/ifconfig"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
</body>
</html>