This commit is contained in:
Andrew Davidson 2015-03-24 19:40:40 -04:00
parent 6fdd1c6fcb
commit 7e7845d785
2 changed files with 16 additions and 3 deletions

View file

@ -2,13 +2,15 @@
<head> <head>
<title>Andrew Davidson</title> <title>Andrew Davidson</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" /> <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Open+Sans:300' type='text/css'> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Open+Sans:300' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1">
</head> </head>
<body> <body>
<div class="info"> <div class="info">
<img src="logo.png" class="logo" /> <img src="logo.png" class="logo" />
<p><a href="https://amdavidson.com">Andrew Davidson</a></p> <p><a href="https://amdavidson.com">Andrew Davidson</a></p>
<p><a href="http://twitter.com/amdavidson">@amdavidson</a></p> <p>@<a href="http://twitter.com/amdavidson">amdavidson</a></p>
<p><a href="mailto:hello@amd.im?subject=Hello">hello</a>@<a href="mailto:hello@amd.im?subject=Hello">amd.im</a></p>
</div> </div>
</body> </body>
</html> </html>

View file

@ -17,7 +17,7 @@ a:hover {
div.info { div.info {
position: absolute; position: absolute;
top: 50%; top: 45%;
left: 10%; left: 10%;
width: 300px; width: 300px;
} }
@ -34,3 +34,14 @@ div.info p {
margin: 0em auto; margin: 0em auto;
margin-bottom: 10px; margin-bottom: 10px;
} }
@media (max-width: 1000px) {
div.info {
position: relative !important;
top: auto;
left: auto;
width: 300px;
margin: 0em auto;
margin-top: 50px;
}
}