-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
why did I code it as a separate page from the rest of the site layout again
- Loading branch information
Showing
2 changed files
with
47 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |