Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd9f444

Browse files
committed
add github ribbon
1 parentf5a4add commitfd9f444

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+
<ahref="https://github.com/markedjs/marked">
83+
<imgclass="github-ribbon"src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"alt="Fork me on GitHub">
84+
</a>
85+
7486
<divid="content"></div>
7587
</div>
7688
<scriptsrc="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)

[8]ページ先頭

©2009-2025 Movatter.jp