Created
January 31, 2019 12:58
-
-
Save tclain/19ad7b3a8545e17c35e7ab294951b524 to your computer and use it in GitHub Desktop.
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
<!-- your html code here !--> | |
<html> | |
<head> | |
<link href="https://fonts.googleapis.com/css?family=PT+Sans|Roboto+Slab" rel="stylesheet"> | |
<title>TESTING!!</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
<div class="banner"> | |
<div class="banner-content block-centered"> | |
<h1>How to copy Medium</h1> | |
<p>This is the cheap version of course</p> | |
</div> | |
</div> | |
<div class="post-content block-centered"> | |
<h2>Some title</h2> | |
<p> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias voluptas, quod ex atque, blanditiis veniam harum, quia omnis eius iure unde ullam rerum esse. Nulla assumenda atque temporibus, ab nam. | |
</p> | |
<h2>Some title</h2> | |
<p> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias voluptas, quod ex atque, blanditiis veniam harum, quia omnis eius iure unde ullam rerum esse. Nulla assumenda atque temporibus, ab nam. | |
<a href="https://www.google.com" target="_blank">LINK</a> | |
</p> | |
<h2>Some title</h2> | |
<p> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias voluptas, quod ex atque, blanditiis veniam harum, quia omnis eius iure unde ullam rerum esse. Nulla assumenda atque temporibus, ab nam. | |
</p> | |
</div> | |
</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
body { | |
margin: 0px; | |
font-family: 'PT Sans', sans-serif; | |
} | |
.banner { | |
background-image: url(https://picsum.photos/1000/500); | |
background-size: cover; | |
padding-bottom: 200px; | |
padding-top: 200px; | |
} | |
.banner-content { | |
width: 300px; | |
color: white; | |
} | |
.post-content{ | |
width: 50%; | |
} | |
h2{ | |
color: rgb(50,50,50); | |
} | |
.block-centered{ | |
margin: 0 auto; | |
} | |
.post-content { | |
line-height: 2; | |
} | |
h1, h2{ | |
font-family: 'Roboto Slab', serif; | |
} | |
a { | |
color: green; | |
} | |
a:hover { | |
color: lightgreen; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment