add github ribbon
This commit is contained in:
parent
f5a4add797
commit
fd9f444133
@ -12,6 +12,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#container {
|
#container {
|
||||||
|
position: relative;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -60,6 +61,13 @@
|
|||||||
background-color: rgba(27,31,35,0.05);
|
background-color: rgba(27,31,35,0.05);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.github-ribbon {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -71,6 +79,10 @@
|
|||||||
<h1>Marked.js Documentation</h1>
|
<h1>Marked.js Documentation</h1>
|
||||||
</header>
|
</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 id="content"></div>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user