This repository has been archived on 2019-04-23. You can view files and clone it, but cannot push or open issues or pull requests.
GitHub-Widget/index.html

80 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="A widget showing your GitHub details that you can easily embed in your portfolio website." />
<title>GitHub Widget</title>
<style>
* {
font-family: 'Roboto Slab', serif;
border: 0;
margin: 0;
padding: 0;
box-sizing: border-box;
color: #675741;
}
html {
width: 100%;
height: 100%;
text-align: center;
}
body {
top: 50%;
position: relative;
transform: translateY(-50%);
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
}
h1 {
margin: 16px 0 0;
font-size: 28px;
line-height: 48px;
}
p {
margin: 0 0 12px;
}
a, span {
margin: 0 6px;
}
a {
color: #994F49;
text-decoration: none;
}
.github-widget {
margin: 0 auto;
max-width: auto;
}
#create-card {
margin-top: 15px;
}
#create-card input {
padding: 10px 15px;
border-radius: 5px;
border: 1px solid #CCC;
}
#create-card button {
padding: 13px 10px 12px;
border-radius: 5px;
line-height: 1em;
cursor: pointer;
border: 1px solid #CCC;
}
</style>
<script type="text/javascript" src="dist/widget.js"></script>
<body>
<div id="github-widget">
<div class="github-widget" data-username="HorlogeSkynet"></div>
</div>
<h1>GitHub Widget</h1>
<p>A widget showing your GitHub details that you can easily embed in your portfolio website.</p>
<nav>
<a href="https://labs.pixelswap.fr/HorlogeSkynet/github-widget">Visit Project on Gogs</a>
</nav>
</body>
</html>