mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-05 14:00:31 +02:00
This commit is contained in:
parent
4f131ff333
commit
b96f03f86f
5 changed files with 19 additions and 3 deletions
|
@ -716,7 +716,7 @@ details > summary::-webkit-details-marker {
|
|||
}
|
||||
|
||||
details > summary::before {
|
||||
content: "➤";
|
||||
content: "▶";
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
transition: transform 0.2s ease;
|
||||
|
|
|
@ -65,6 +65,8 @@ export async function writeGithubStats(targetId) {
|
|||
|
||||
const registered = data.created_at;
|
||||
document.getElementById("gh_since").innerText = `Registed on ${registered.slice(0, 10).replace(/-/g, "/")}`;
|
||||
document.getElementById("gh_since").classList.add("tooltip");
|
||||
document.getElementById("gh_since").setAttribute("data-tooltip", "In YYYY/MM/DD");
|
||||
|
||||
mainEl.appendChild(pfp);
|
||||
mainEl.appendChild(name);
|
||||
|
|
|
@ -255,6 +255,8 @@ export async function fetchWakatime(targetId) {
|
|||
|
||||
const registered = data.data.start;
|
||||
document.getElementById("stats_since").innerText = `Registered on ${registered.slice(0, 10).replace(/-/g, "/")}`;
|
||||
document.getElementById("stats_since").classList.add("tooltip");
|
||||
document.getElementById("stats_since").setAttribute("data-tooltip", "In YYYY/MM/DD");
|
||||
|
||||
const chartDetails = document.createElement("details");
|
||||
const chartSummary = document.createElement("summary");
|
||||
|
|
10
global.css
10
global.css
|
@ -176,3 +176,13 @@ svg:hover {
|
|||
border-width: 4px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
/* text */
|
||||
.h1 { font-size: 32px }
|
||||
.h2 { font-size: 24px }
|
||||
.h3 { font-size: 20.8px }
|
||||
.h4 { font-size: 16px }
|
||||
.h5 { font-size: 12.8px }
|
||||
.h6 { font-size: 11.2px }
|
||||
|
||||
|
||||
|
|
|
@ -115,8 +115,10 @@
|
|||
|
||||
|
||||
<div class="cards reviews shadow" id="User Reviews">
|
||||
<h2 class="card-header">User Reviews</h2>
|
||||
<details>
|
||||
<summary class="h2 card-header">User Reviews</summary>
|
||||
<div id="reviews"></div>
|
||||
</details>
|
||||
</div>
|
||||
|
||||
<div class="music">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue