Skip to content

Commit

Permalink
add github ribbon
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Mar 22, 2018
1 parent f5a4add commit fd9f444
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
}

#container {
position: relative;
max-width: 800px;
margin: auto;
padding: 10px;
Expand Down Expand Up @@ -60,6 +61,13 @@
background-color: rgba(27,31,35,0.05);
border-radius: 3px;
}

.github-ribbon {
position: absolute;
top: 0;
right: 0;
border: 0;
}
</style>
</head>
<body>
Expand All @@ -71,6 +79,10 @@
<h1>Marked.js Documentation</h1>
</header>

<a href="https://github.com/markedjs/marked">
<img class="github-ribbon" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub">
</a>

<div id="content"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
Expand Down Expand Up @@ -102,8 +114,8 @@ <h1>Marked.js Documentation</h1>
+ '<p>' + e.message + '</p>';
});
}

fetchPage('README.md');
</script>
</body>
</html>
</html>

0 comments on commit fd9f444

Please # to comment.