2024-08-08 10:34:58 -07:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
<link rel="icon" href="icons/icon_128.png">
|
2024-08-08 15:48:57 -07:00
|
|
|
<title>SGDB Button on Steam</title>
|
2024-08-08 10:34:58 -07:00
|
|
|
<style>
|
|
|
|
body {
|
2024-08-08 14:49:18 -07:00
|
|
|
text-align: center;
|
2024-08-08 10:34:58 -07:00
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
|
background-color: #32414c;
|
|
|
|
color: #8ecaf4;
|
|
|
|
}
|
2024-08-08 13:38:37 -07:00
|
|
|
.btn {
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 1px;
|
|
|
|
display: inline-block;
|
|
|
|
text-decoration: none;
|
|
|
|
color: #67c1f5;
|
|
|
|
background: rgba(103, 193, 245, 0.2);
|
|
|
|
}
|
|
|
|
.btn:hover {
|
|
|
|
text-decoration: none !important;
|
|
|
|
color: #fff !important;
|
|
|
|
|
|
|
|
background: #417a9b;
|
|
|
|
background: -webkit-linear-gradient( 150deg, #417a9b 5%,#67c1f5 95%);
|
|
|
|
background: linear-gradient( -60deg, #417a9b 5%,#67c1f5 95%);
|
|
|
|
}
|
|
|
|
.btn > span {
|
|
|
|
padding: 0 15px;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
.icon {
|
|
|
|
margin: 7px;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
2024-08-08 10:34:58 -07:00
|
|
|
</style>
|
2024-08-08 14:49:18 -07:00
|
|
|
<script>
|
2024-08-08 15:36:14 -07:00
|
|
|
document.addEventListener("DOMContentLoaded", function() {
|
2024-08-08 15:50:35 -07:00
|
|
|
const headerIcon = document.querySelector("#sgdb-icon");
|
2024-08-08 15:36:14 -07:00
|
|
|
const nesIcon = document.querySelector("#nes-icon");
|
|
|
|
const giteaIcon = document.createElement("#gitea-icon");
|
|
|
|
headerIcon.src = browser.runtime.getURL("icons/icon_32.png");
|
|
|
|
nesIcon.src = browser.runtime.getURL("icons/nes_32.png");
|
|
|
|
giteaIcon.src = browser.runtime.getURL("icons/gitea_32.png");
|
|
|
|
});
|
2024-08-08 14:49:18 -07:00
|
|
|
</script>
|
2024-08-08 10:34:58 -07:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-08-08 14:49:18 -07:00
|
|
|
<h2>
|
|
|
|
<img id="header-icon" src="" style="vertical-align: middle; display: inline"> SGBD Button on Steam
|
|
|
|
</h2>
|
2024-08-08 13:38:37 -07:00
|
|
|
<a class="btn" href="https://www.steamgriddb.com/profile/76561198274324627">
|
|
|
|
<span data-tooltip-text="View my profile">
|
2024-08-08 14:49:18 -07:00
|
|
|
<img id="nes-icon" class="icon" src="">Created by <span style="color: #FC2A7C">Nes</span>
|
2024-08-08 13:38:37 -07:00
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
<a class="btn" href="https://gitea.goblincave.synology.me/Nes/SGDB-Extension">
|
|
|
|
<span data-tooltip-text="View source">
|
2024-08-08 14:49:18 -07:00
|
|
|
<img id="gitea-icon" class="icon" src="">View Source
|
2024-08-08 13:38:37 -07:00
|
|
|
</span>
|
|
|
|
</a>
|
2024-08-08 10:34:58 -07:00
|
|
|
</body>
|
|
|
|
</html>
|