Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
87 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'Raleway', sans-serif; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
color: inherit; | ||
} | ||
|
||
section.front-section { | ||
width: 90%; | ||
padding: 0% 5%; | ||
height: 100vh; | ||
color: #eaeaea; | ||
background: black; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
section.front-section > * { | ||
max-width: 100%; | ||
} | ||
|
||
div.logo { | ||
height: 30vh; | ||
} | ||
div.logo img { | ||
height: 100%; | ||
filter: brightness(2); | ||
} | ||
div.logo-name { | ||
font-family: 'Josefin Sans', sans-serif; | ||
font-size: 3em; | ||
margin: 20px; | ||
border-bottom: 2px solid #c397d8; | ||
} | ||
div.shortdesc { | ||
text-align: center; | ||
} | ||
a.github { | ||
margin: 20px; | ||
display: block; | ||
font-size: 1.2em; | ||
line-height: 1.5em; | ||
border-bottom: 2px solid #e78c45; | ||
transition: all 0.25s; | ||
} | ||
a.github:hover { | ||
color: #e78c45; | ||
} | ||
pre.npm { | ||
border-bottom: 2px solid #d54e53; | ||
} | ||
pre.unpkg { | ||
border-bottom: 2px solid #b9ca4a; | ||
} |
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,28 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<link href="https://fonts.googleapis.com/css?family=Raleway|Josefin+Sans" rel="stylesheet"> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/tomorrow-night-bright.min.css" rel="stylesheet"> | ||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> | ||
<link href="./index.css" rel="stylesheet"> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> | ||
<title>Wretch - The fetch wrapper</title> | ||
</head> | ||
<body> | ||
<section class="front-section"> | ||
<div class="logo"> | ||
<img src="https://cdn.rawgit.com/elbywan/wretch/08831345/wretch.svg" alt="wretch-logo"> | ||
</div> | ||
<div class="logo-name">Wretch</div> | ||
<div class="shortdesc"><p>A tiny (< 2.2Kb g-zipped) wrapper built around fetch with an intuitive syntax.</p></div> | ||
<a class="github" href="https://github.com/elbywan/wretch"><i class="fa fa-github" aria-hidden="true"></i> Github</a> | ||
<a href="https://www.npmjs.com/package/wretch"><pre class="npm"><code class="bash">npm i wretch</code></pre></a> | ||
<a href="https://unpkg.com/wretch"><pre class="unpkg"><code class="html"><script src="https://unpkg.com/wretch"></script></code></pre></a> | ||
</section> | ||
|
||
<script>hljs.initHighlightingOnLoad()</script> | ||
</body> | ||
</html> |