Skip to content

Commit

Permalink
homepage devamp
Browse files Browse the repository at this point in the history
why did I code it as a separate page from the rest of the site layout again
  • Loading branch information
a-flyleaf committed May 3, 2021
1 parent 50a5a79 commit e3e46b1
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 38 deletions.
47 changes: 9 additions & 38 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>a-flyleaf</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="style.css" type="text/css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Alegreya+Sans+SC|Alegreya+Sans:400,400i,700,800" rel="stylesheet">
<style>
body {background: #fff;}
#img {height: 200px; background: #d7ecf3;}
#wrap {padding: 1rem;}
h1 {font-weight: 800; font-size: 3em; position: fixed; margin: -4rem 0 0 1rem;}
p {text-align: left; margin: .25em 0;}
span {font-size: 0.8em; font-family: 'Alegreya Sans SC','Alegreya Sans',Helvetica,'Trebuchet MS',sans-serif; display: block; margin: 2em 0;}
span a {margin-right: 1em;}

@media only screen and (min-width:575px) {
h1, #wrap {margin-left: 25%;} #wrap {padding: 1rem 5rem 0 0;}
}

@media only screen and (min-width: 800px) {
h1 {font-size: 5em; margin: -6rem 0 0 25%;}
#wrap {font-size: 1.2em; line-height: 135%; max-width: 700px;}
}
</style>
</head>

<body>
<div id="img"></div>
<h1>a-flyleaf</h1>
<div id="wrap">
<p>Some nerd who lives under a rock. Can occasionally be spotted carrying too many books around the local library.</p>
<span><a href="/about">about</a><a href="/projects">projects</a><a href="/blog">blog</a></span>
</div>
</body>
</html>
<!doctype html>
<html>
<head><title>a-flyleaf needs to update the website</title></head>
<body>
<h1>web site</h1>
<p>hypothetically, if I make it look empty on purpose, I will be more motivated to overhaul it from scratch</p>
<p>if you’re looking for something, <a href="https://github.com/a-flyleaf/a-flyleaf.github.io">here’s the repository</a></p>
</body>
</html>
38 changes: 38 additions & 0 deletions shriblets/2019-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>a-flyleaf</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="style.css" type="text/css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Alegreya+Sans+SC|Alegreya+Sans:400,400i,700,800" rel="stylesheet">
<style>
body {background: #fff;}
#img {height: 200px; background: #d7ecf3;}
#wrap {padding: 1rem;}
h1 {font-weight: 800; font-size: 3em; position: fixed; margin: -4rem 0 0 1rem;}
p {text-align: left; margin: .25em 0;}
span {font-size: 0.8em; font-family: 'Alegreya Sans SC','Alegreya Sans',Helvetica,'Trebuchet MS',sans-serif; display: block; margin: 2em 0;}
span a {margin-right: 1em;}

@media only screen and (min-width:575px) {
h1, #wrap {margin-left: 25%;} #wrap {padding: 1rem 5rem 0 0;}
}

@media only screen and (min-width: 800px) {
h1 {font-size: 5em; margin: -6rem 0 0 25%;}
#wrap {font-size: 1.2em; line-height: 135%; max-width: 700px;}
}
</style>
</head>

<body>
<div id="img"></div>
<h1>a-flyleaf</h1>
<div id="wrap">
<p>Some nerd who lives under a rock. Can occasionally be spotted carrying too many books around the local library.</p>
<span><a href="/about">about</a><a href="/projects">projects</a><a href="/blog">blog</a></span>
</div>
</body>
</html>

0 comments on commit e3e46b1

Please sign in to comment.