-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88dd97b
commit 7a83acf
Showing
3 changed files
with
113 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="ja"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>埋め込みコード</title> | ||
<link rel="icon" type="image/vnd.microsoft.icon" href="https://share-tool.vercel.app/src/share.jpg"> | ||
<link href="style.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<img src="https://share-tool.vercel.app/src/share.jpg"> | ||
<h1 id="text">埋め込みコード</h1> | ||
<h2 id="text">以下のHTMLコードを自身のページに貼り付けてください。</h2> | ||
<code> | ||
<a href='https://share-tool.vercel.app?text=ここに共有したいテキストを入力'><img src='https://share-tool.vercel.app/src/share.jpg' style='border-radius: 50px;'></a> | ||
</code> | ||
<div> | ||
<nobr> | ||
<a href="https://github.com/webfullsympathy/share-tool/blob/main/README.md"><h3>README・使い方</h3></a> | ||
</nobr> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
@media (prefers-color-scheme: light) { | ||
body{ | ||
background-color: #ffffff; | ||
text-align: center; | ||
} | ||
|
||
div{ | ||
background-color: black; | ||
position: fixed; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
color: white; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
a{ | ||
outline: none; | ||
text-decoration: none; | ||
color: white; | ||
} | ||
|
||
h3{ | ||
display: inline; | ||
margin: 30px; | ||
} | ||
|
||
#text{ | ||
text-align: center; | ||
-webkit-text-stroke: 1px #000; | ||
text-stroke: 1px #000; | ||
} | ||
|
||
code{ | ||
background-color: #000; | ||
border-radius: 3px; | ||
font-family: courier, monospace; | ||
border: 1px black solid; | ||
} | ||
} | ||
@media (prefers-color-scheme: dark) { | ||
body{ | ||
background-color: #1B1B1F; | ||
text-align: center; | ||
} | ||
|
||
div{ | ||
background-color: #ffffff; | ||
position: fixed; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
color: black; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
a{ | ||
outline: none; | ||
text-decoration: none; | ||
color: black; | ||
} | ||
|
||
h3{ | ||
display: inline; | ||
margin: 30px; | ||
} | ||
|
||
#text{ | ||
text-align: center; | ||
-webkit-text-stroke: 1px #FFF; | ||
text-stroke: 1px #FFF; | ||
} | ||
|
||
code{ | ||
background-color: #eee; | ||
border-radius: 3px; | ||
font-family: courier, monospace; | ||
border: 1px #fff solid; | ||
} | ||
} | ||
|
||
img{ | ||
display: block; | ||
margin: 0 auto; | ||
width: 20%; | ||
border-radius: 50px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters