-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGiscus.astro
More file actions
50 lines (42 loc) · 1.16 KB
/
Giscus.astro
File metadata and controls
50 lines (42 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<div class="giscus"></div>
<script
src="https://giscus.app/client.js"
data-repo="sourceaura/sourceaura.github.io"
data-repo-id="MDEwOlJlcG9zaXRvcnkyMDg2Nzg2NjY="
data-category="Show and tell"
data-category-id="DIC_kwDODHAvCs4Cgi0j"
data-mapping="pathname"
data-reactions-enabled="1"
data-emit-metadata="1"
data-input-position="bottom"
data-theme="preferred_color_scheme"
data-lang="en"
crossorigin="anonymous"
async></script>
<style>
#giscus-wrapper {
outline: 1px solid red;
}
.giscus {
background: transparent !important;
}
.giscus-frame {
background: transparent !important;
}
:global(html.dark) .giscus {
color: var(--dark);
}
:global(html.light) .giscus {
color: black;
}
:global(html.dark) .giscus .gsc-comment {
background: color-mix(in oklch, black 65%, transparent) !important;
border: 1px solid color-mix(in oklch, white 18%, transparent);
border-radius: 10px;
}
:global(html.light) .giscus .gsc-comment {
background: color-mix(in oklch, white 75%, transparent) !important;
border: 1px solid color-mix(in oklch, black 18%, transparent);
border-radius: 10px;
}
</style>