Skip to content

Commit fd9f444

Browse files
committed
add github ribbon
1 parent f5a4add commit fd9f444

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/index.html

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
}
1313

1414
#container {
15+
position: relative;
1516
max-width: 800px;
1617
margin: auto;
1718
padding: 10px;
@@ -60,6 +61,13 @@
6061
background-color: rgba(27,31,35,0.05);
6162
border-radius: 3px;
6263
}
64+
65+
.github-ribbon {
66+
position: absolute;
67+
top: 0;
68+
right: 0;
69+
border: 0;
70+
}
6371
</style>
6472
</head>
6573
<body>
@@ -71,6 +79,10 @@
7179
<h1>Marked.js Documentation</h1>
7280
</header>
7381

82+
<a href="https://github.com/markedjs/marked">
83+
<img class="github-ribbon" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub">
84+
</a>
85+
7486
<div id="content"></div>
7587
</div>
7688
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
@@ -102,8 +114,8 @@ <h1>Marked.js Documentation</h1>
102114
+ '<p>' + e.message + '</p>';
103115
});
104116
}
105-
117+
106118
fetchPage('README.md');
107119
</script>
108120
</body>
109-
</html>
121+
</html>

0 commit comments

Comments
 (0)