tangled
alpha
login
or
join now
holly.mlem.systems
/
devins.page
forked from
devins.page/devins.page
0
fork
atom
my website, hosted on wisp.place
0
fork
atom
overview
issues
pulls
pipelines
fix: giscus theme
devins.page
6 months ago
fdab87fc
71bd68e1
+153
-141
4 changed files
expand all
collapse all
unified
split
public
gt.css
gtheme.css
src
components
Comments.astro
styles
global.css
-135
public/gt.css
···
1
1
-
/* modified Fro theme */
2
2
-
3
3
-
:host, html {
4
4
-
--font-family-serif: Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
5
5
-
--font-family-default: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
6
6
-
}
7
7
-
8
8
-
main {
9
9
-
--color-prettylights-syntax-comment: #66707b;
10
10
-
--color-prettylights-syntax-constant: #023b95;
11
11
-
--color-prettylights-syntax-entity: #622cbc;
12
12
-
--color-prettylights-syntax-storage-modifier-import: #0e1116;
13
13
-
--color-prettylights-syntax-entity-tag: #024c1a;
14
14
-
--color-prettylights-syntax-keyword: #a0111f;
15
15
-
--color-prettylights-syntax-string: #032563;
16
16
-
--color-prettylights-syntax-variable: #702c00;
17
17
-
--color-prettylights-syntax-brackethighlighter-unmatched: #6e011a;
18
18
-
--color-prettylights-syntax-invalid-illegal-text: #fff;
19
19
-
--color-prettylights-syntax-invalid-illegal-bg: #6e011a;
20
20
-
--color-prettylights-syntax-carriage-return-text: #fff;
21
21
-
--color-prettylights-syntax-carriage-return-bg: #a0111f;
22
22
-
--color-prettylights-syntax-string-regexp: #024c1a;
23
23
-
--color-prettylights-syntax-markup-list: #2e1800;
24
24
-
--color-prettylights-syntax-markup-heading: #023b95;
25
25
-
--color-prettylights-syntax-markup-italic: #0e1116;
26
26
-
--color-prettylights-syntax-markup-bold: #0e1116;
27
27
-
--color-prettylights-syntax-markup-deleted-text: #6e011a;
28
28
-
--color-prettylights-syntax-markup-deleted-bg: #fff0ee;
29
29
-
--color-prettylights-syntax-markup-inserted-text: #024c1a;
30
30
-
--color-prettylights-syntax-markup-inserted-bg: #d2fedb;
31
31
-
--color-prettylights-syntax-markup-changed-text: #702c00;
32
32
-
--color-prettylights-syntax-markup-changed-bg: #ffc67b;
33
33
-
--color-prettylights-syntax-markup-ignored-text: #e7ecf0;
34
34
-
--color-prettylights-syntax-markup-ignored-bg: #023b95;
35
35
-
--color-prettylights-syntax-meta-diff-range: #622cbc;
36
36
-
--color-prettylights-syntax-brackethighlighter-angle: #4b535d;
37
37
-
--color-prettylights-syntax-sublimelinter-gutter-mark: #88929d;
38
38
-
--color-prettylights-syntax-constant-other-reference-link: #032563;
39
39
-
--text-muted-color: #744253;
40
40
-
--text-normal-color: #744253;
41
41
-
--color-segmented-control-bg: transparent;
42
42
-
}
43
43
-
44
44
-
@media (prefers-color-scheme: dark) {
45
45
-
main {
46
46
-
--color-prettylights-syntax-comment: #bdc4cc;
47
47
-
--color-prettylights-syntax-constant: #91cbff;
48
48
-
--color-prettylights-syntax-entity: #dbb7ff;
49
49
-
--color-prettylights-syntax-storage-modifier-import: #f0f3f6;
50
50
-
--color-prettylights-syntax-entity-tag: #72f088;
51
51
-
--color-prettylights-syntax-keyword: #ff9492;
52
52
-
--color-prettylights-syntax-string: #addcff;
53
53
-
--color-prettylights-syntax-variable: #ffb757;
54
54
-
--color-prettylights-syntax-brackethighlighter-unmatched: #ff6a69;
55
55
-
--color-prettylights-syntax-invalid-illegal-text: #fff;
56
56
-
--color-prettylights-syntax-invalid-illegal-bg: #e82a2f;
57
57
-
--color-prettylights-syntax-carriage-return-text: #fff;
58
58
-
--color-prettylights-syntax-carriage-return-bg: #ff4445;
59
59
-
--color-prettylights-syntax-string-regexp: #72f088;
60
60
-
--color-prettylights-syntax-markup-list: #fbd669;
61
61
-
--color-prettylights-syntax-markup-heading: #409eff;
62
62
-
--color-prettylights-syntax-markup-italic: #f0f3f6;
63
63
-
--color-prettylights-syntax-markup-bold: #f0f3f6;
64
64
-
--color-prettylights-syntax-markup-deleted-text: #ffdedb;
65
65
-
--color-prettylights-syntax-markup-deleted-bg: #cc1421;
66
66
-
--color-prettylights-syntax-markup-inserted-text: #acf7b6;
67
67
-
--color-prettylights-syntax-markup-inserted-bg: #007728;
68
68
-
--color-prettylights-syntax-markup-changed-text: #ffe1b4;
69
69
-
--color-prettylights-syntax-markup-changed-bg: #a74c00;
70
70
-
--color-prettylights-syntax-markup-ignored-text: #f0f3f6;
71
71
-
--color-prettylights-syntax-markup-ignored-bg: #318bf8;
72
72
-
--color-prettylights-syntax-meta-diff-range: #dbb7ff;
73
73
-
--color-prettylights-syntax-brackethighlighter-angle: #bdc4cc;
74
74
-
--color-prettylights-syntax-sublimelinter-gutter-mark: #7a828e;
75
75
-
--color-prettylights-syntax-constant-other-reference-link: #addcff;
76
76
-
--text-muted-color: #f3d9dc;
77
77
-
--text-normal-color: #f3d9dc;
78
78
-
--color-segmented-control-bg: transparent;
79
79
-
}
80
80
-
}
81
81
-
82
82
-
.gsc-comments .gsc-header .gsc-left-header em a {
83
83
-
color: var(--text-muted-color);
84
84
-
text-underline-offset: 4px;
85
85
-
transition: all 0.2s;
86
86
-
}
87
87
-
88
88
-
.gsc-comments .gsc-header .gsc-left-header em a:hover {
89
89
-
color: var(--text-normal-color);
90
90
-
}
91
91
-
92
92
-
.gsc-right-header {
93
93
-
border-radius: none;
94
94
-
}
95
95
-
96
96
-
.gsc-right-header li:not(.BtnGroup-item--selected) {
97
97
-
border-top: none;
98
98
-
border-left: none;
99
99
-
border-right: none;
100
100
-
}
101
101
-
102
102
-
.gsc-right-header li:not(.BtnGroup-item--selected) .btn:hover {
103
103
-
background-color: transparent;
104
104
-
color: var(--text-normal-color);
105
105
-
}
106
106
-
107
107
-
.gsc-comment-box-tabs {
108
108
-
display: none;
109
109
-
}
110
110
-
111
111
-
.gsc-comment-box {
112
112
-
border: none;
113
113
-
background-color: transparent;
114
114
-
}
115
115
-
116
116
-
.gsc-comment-box-main .gsc-comment-box-write textarea.gsc-comment-box-textarea {
117
117
-
border-radius: 0;
118
118
-
border-bottom-style: solid;
119
119
-
}
120
120
-
121
121
-
.gsc-comment-box-buttons button {
122
122
-
border-radius: 0;
123
123
-
}
124
124
-
125
125
-
.gsc-comment-box-bottom button:hover {
126
126
-
color: var(--text-normal-color);
127
127
-
}
128
128
-
129
129
-
.gsc-comment-box-buttons .btn-primary {
130
130
-
color: var(--text-normal-color);
131
131
-
}
132
132
-
133
133
-
.gsc-comment-box-buttons .btn-primary:disabled {
134
134
-
color: var(--text-muted-color);
135
135
-
}
+146
public/gtheme.css
···
1
1
+
/* modified Fro theme */
2
2
+
3
3
+
:host,
4
4
+
html {
5
5
+
--font-family-serif:
6
6
+
Superclarendon, "Bookman Old Style", "URW Bookman", "URW Bookman L",
7
7
+
"Georgia Pro", Georgia, serif;
8
8
+
--font-family-default:
9
9
+
Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro,
10
10
+
sans-serif;
11
11
+
}
12
12
+
13
13
+
main {
14
14
+
--color-prettylights-syntax-comment: #66707b;
15
15
+
--color-prettylights-syntax-constant: #023b95;
16
16
+
--color-prettylights-syntax-entity: #622cbc;
17
17
+
--color-prettylights-syntax-storage-modifier-import: #0e1116;
18
18
+
--color-prettylights-syntax-entity-tag: #024c1a;
19
19
+
--color-prettylights-syntax-keyword: #a0111f;
20
20
+
--color-prettylights-syntax-string: #032563;
21
21
+
--color-prettylights-syntax-variable: #702c00;
22
22
+
--color-prettylights-syntax-brackethighlighter-unmatched: #6e011a;
23
23
+
--color-prettylights-syntax-invalid-illegal-text: #fff;
24
24
+
--color-prettylights-syntax-invalid-illegal-bg: #6e011a;
25
25
+
--color-prettylights-syntax-carriage-return-text: #fff;
26
26
+
--color-prettylights-syntax-carriage-return-bg: #a0111f;
27
27
+
--color-prettylights-syntax-string-regexp: #024c1a;
28
28
+
--color-prettylights-syntax-markup-list: #2e1800;
29
29
+
--color-prettylights-syntax-markup-heading: #023b95;
30
30
+
--color-prettylights-syntax-markup-italic: #0e1116;
31
31
+
--color-prettylights-syntax-markup-bold: #0e1116;
32
32
+
--color-prettylights-syntax-markup-deleted-text: #6e011a;
33
33
+
--color-prettylights-syntax-markup-deleted-bg: #fff0ee;
34
34
+
--color-prettylights-syntax-markup-inserted-text: #024c1a;
35
35
+
--color-prettylights-syntax-markup-inserted-bg: #d2fedb;
36
36
+
--color-prettylights-syntax-markup-changed-text: #702c00;
37
37
+
--color-prettylights-syntax-markup-changed-bg: #ffc67b;
38
38
+
--color-prettylights-syntax-markup-ignored-text: #e7ecf0;
39
39
+
--color-prettylights-syntax-markup-ignored-bg: #023b95;
40
40
+
--color-prettylights-syntax-meta-diff-range: #622cbc;
41
41
+
--color-prettylights-syntax-brackethighlighter-angle: #4b535d;
42
42
+
--color-prettylights-syntax-sublimelinter-gutter-mark: #88929d;
43
43
+
--color-prettylights-syntax-constant-other-reference-link: #032563;
44
44
+
--text-muted-color: #744253;
45
45
+
--text-normal-color: #744253;
46
46
+
--color-border-primary: #744253;
47
47
+
--color-text-primary: #744253;
48
48
+
--color-text-link: #bc6364;
49
49
+
--color-segmented-control-bg: transparent;
50
50
+
}
51
51
+
52
52
+
@media (prefers-color-scheme: dark) {
53
53
+
main {
54
54
+
--color-prettylights-syntax-comment: #bdc4cc;
55
55
+
--color-prettylights-syntax-constant: #91cbff;
56
56
+
--color-prettylights-syntax-entity: #dbb7ff;
57
57
+
--color-prettylights-syntax-storage-modifier-import: #f0f3f6;
58
58
+
--color-prettylights-syntax-entity-tag: #72f088;
59
59
+
--color-prettylights-syntax-keyword: #ff9492;
60
60
+
--color-prettylights-syntax-string: #addcff;
61
61
+
--color-prettylights-syntax-variable: #ffb757;
62
62
+
--color-prettylights-syntax-brackethighlighter-unmatched: #ff6a69;
63
63
+
--color-prettylights-syntax-invalid-illegal-text: #fff;
64
64
+
--color-prettylights-syntax-invalid-illegal-bg: #e82a2f;
65
65
+
--color-prettylights-syntax-carriage-return-text: #fff;
66
66
+
--color-prettylights-syntax-carriage-return-bg: #ff4445;
67
67
+
--color-prettylights-syntax-string-regexp: #72f088;
68
68
+
--color-prettylights-syntax-markup-list: #fbd669;
69
69
+
--color-prettylights-syntax-markup-heading: #409eff;
70
70
+
--color-prettylights-syntax-markup-italic: #f0f3f6;
71
71
+
--color-prettylights-syntax-markup-bold: #f0f3f6;
72
72
+
--color-prettylights-syntax-markup-deleted-text: #ffdedb;
73
73
+
--color-prettylights-syntax-markup-deleted-bg: #cc1421;
74
74
+
--color-prettylights-syntax-markup-inserted-text: #acf7b6;
75
75
+
--color-prettylights-syntax-markup-inserted-bg: #007728;
76
76
+
--color-prettylights-syntax-markup-changed-text: #ffe1b4;
77
77
+
--color-prettylights-syntax-markup-changed-bg: #a74c00;
78
78
+
--color-prettylights-syntax-markup-ignored-text: #f0f3f6;
79
79
+
--color-prettylights-syntax-markup-ignored-bg: #318bf8;
80
80
+
--color-prettylights-syntax-meta-diff-range: #dbb7ff;
81
81
+
--color-prettylights-syntax-brackethighlighter-angle: #bdc4cc;
82
82
+
--color-prettylights-syntax-sublimelinter-gutter-mark: #7a828e;
83
83
+
--color-prettylights-syntax-constant-other-reference-link: #addcff;
84
84
+
--text-muted-color: #f3d9dc;
85
85
+
--text-normal-color: #f3d9dc;
86
86
+
--color-border-primary: #f3d9dc;
87
87
+
--color-text-primary: #f3d9dc;
88
88
+
--color-text-link: #cf8182;
89
89
+
--color-segmented-control-bg: transparent;
90
90
+
}
91
91
+
}
92
92
+
93
93
+
.gsc-comments .gsc-header .gsc-left-header em a {
94
94
+
color: var(--text-muted-color);
95
95
+
text-underline-offset: 4px;
96
96
+
transition: all 0.2s;
97
97
+
}
98
98
+
99
99
+
.gsc-comments .gsc-header .gsc-left-header em a:hover {
100
100
+
color: var(--text-normal-color);
101
101
+
}
102
102
+
103
103
+
.gsc-right-header {
104
104
+
border-radius: none;
105
105
+
}
106
106
+
107
107
+
.gsc-right-header li:not(.BtnGroup-item--selected) {
108
108
+
border-top: none;
109
109
+
border-left: none;
110
110
+
border-right: none;
111
111
+
}
112
112
+
113
113
+
.gsc-right-header li:not(.BtnGroup-item--selected) .btn:hover {
114
114
+
background-color: transparent;
115
115
+
color: var(--text-normal-color);
116
116
+
}
117
117
+
118
118
+
.gsc-comment-box-tabs {
119
119
+
display: none;
120
120
+
}
121
121
+
122
122
+
.gsc-comment-box {
123
123
+
border: none;
124
124
+
background-color: transparent;
125
125
+
}
126
126
+
127
127
+
.gsc-comment-box-main .gsc-comment-box-write textarea.gsc-comment-box-textarea {
128
128
+
border-radius: 0;
129
129
+
border-bottom-style: solid;
130
130
+
}
131
131
+
132
132
+
.gsc-comment-box-buttons button {
133
133
+
border-radius: 0;
134
134
+
}
135
135
+
136
136
+
.gsc-comment-box-bottom button:hover {
137
137
+
color: var(--text-normal-color);
138
138
+
}
139
139
+
140
140
+
.gsc-comment-box-buttons .btn-primary {
141
141
+
color: var(--text-normal-color);
142
142
+
}
143
143
+
144
144
+
.gsc-comment-box-buttons .btn-primary:disabled {
145
145
+
color: var(--text-muted-color);
146
146
+
}
+1
-4
src/components/Comments.astro
···
14
14
script.setAttribute("data-reactions-enabled", "0");
15
15
script.setAttribute("data-emit-metadata", "1");
16
16
script.setAttribute("data-input-position", "bottom");
17
17
-
script.setAttribute(
18
18
-
"data-theme",
19
19
-
"https://devins.page/gt.css",
20
20
-
);
17
17
+
script.setAttribute("data-theme", "https://devins.page/gtheme.css");
21
18
script.setAttribute("data-lang", "en");
22
19
script.setAttribute("data-loading", "lazy");
23
20
script.crossOrigin = "anonymous";
+6
-2
src/styles/global.css
···
17
17
}
18
18
19
19
:root {
20
20
-
--sc-font: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
20
20
+
--sc-font:
21
21
+
Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro,
22
22
+
sans-serif;
21
23
}
22
24
23
25
h1,
···
26
28
h4,
27
29
h5,
28
30
h6 {
29
29
-
font-family: Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
31
31
+
font-family:
32
32
+
Superclarendon, "Bookman Old Style", "URW Bookman", "URW Bookman L",
33
33
+
"Georgia Pro", Georgia, serif;
30
34
}
31
35
32
36
body {