goofmint 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +17 -0
- package/.github/workflows/deploy.yml +44 -0
- package/.nvmrc +1 -0
- package/.ruby-version +1 -0
- package/DEPLOYMENT.md +111 -0
- package/Gemfile +10 -0
- package/README.md +118 -0
- package/_config.yml +77 -0
- package/_data/i18n.yml +86 -0
- package/_data/social.yml +19 -0
- package/_includes/footer.html +18 -0
- package/_includes/header.html +42 -0
- package/_includes/i18n.html +2 -0
- package/_layouts/default.html +25 -0
- package/_layouts/post.html +18 -0
- package/_layouts/project.html +37 -0
- package/_posts/2025-01-03-welcome.md +62 -0
- package/_posts/en/2025-01-03-welcome.md +61 -0
- package/_projects/bug-sniper.md +28 -0
- package/_projects/caiz.md +29 -0
- package/_projects/drowl.md +28 -0
- package/_projects/incho-app.md +32 -0
- package/_projects/moongift.md +33 -0
- package/_projects/review-game.md +28 -0
- package/_projects/sheetdb.md +30 -0
- package/_projects/text2cal.md +49 -0
- package/_projects_en/bug-sniper.md +28 -0
- package/_projects_en/caiz.md +29 -0
- package/_projects_en/drowl.md +28 -0
- package/_projects_en/incho-app.md +32 -0
- package/_projects_en/moongift.md +33 -0
- package/_projects_en/review-game.md +28 -0
- package/_projects_en/sheetdb.md +30 -0
- package/_projects_en/text2cal.md +49 -0
- package/_sass/_base.scss +58 -0
- package/_sass/_components.scss +113 -0
- package/_sass/_layout.scss +140 -0
- package/_sass/_syntax.scss +137 -0
- package/_sass/_theme.scss +261 -0
- package/about.md +182 -0
- package/assets/css/main.scss +68 -0
- package/assets/images/atsushi.jpg +0 -0
- package/assets/images/daruma.jpeg +0 -0
- package/assets/images/icons/email.svg +1 -0
- package/assets/images/icons/github.svg +1 -0
- package/assets/images/icons/linkedin.svg +1 -0
- package/assets/images/icons/x.svg +1 -0
- package/assets/images/moveum.jpeg +0 -0
- package/assets/images/notes.jpeg +0 -0
- package/assets/js/lang-toggle.js +89 -0
- package/assets/js/theme-toggle.js +69 -0
- package/blog.html +21 -0
- package/en/about.md +180 -0
- package/en/blog.html +21 -0
- package/en/index.html +45 -0
- package/en/projects.html +26 -0
- package/index.html +45 -0
- package/index.js +321 -0
- package/package.json +43 -0
- package/projects.html +29 -0
package/_sass/_base.scss
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Base styles
|
|
2
|
+
* {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
margin: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
body {
|
|
9
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
line-height: 1.6;
|
|
12
|
+
color: #333;
|
|
13
|
+
background-color: #fff;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.wrapper {
|
|
17
|
+
max-width: 1200px;
|
|
18
|
+
margin: 0 auto;
|
|
19
|
+
padding: 0 20px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
a {
|
|
23
|
+
color: var(--link-color);
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
transition: color 0.3s ease;
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
color: var(--link-hover);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
h1, h2, h3, h4, h5, h6 {
|
|
33
|
+
margin-bottom: 0.5em;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
line-height: 1.2;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
h1 { font-size: 2.5em; }
|
|
39
|
+
h2 { font-size: 2em; }
|
|
40
|
+
h3 { font-size: 1.5em; }
|
|
41
|
+
|
|
42
|
+
p {
|
|
43
|
+
margin-bottom: 1em;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.btn {
|
|
47
|
+
display: inline-block;
|
|
48
|
+
padding: 10px 20px;
|
|
49
|
+
background-color: var(--button-bg);
|
|
50
|
+
color: #fff;
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
transition: background-color 0.3s ease;
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
background-color: var(--button-hover);
|
|
56
|
+
color: #fff;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// Component styles
|
|
2
|
+
|
|
3
|
+
// Project grid
|
|
4
|
+
.project-grid {
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
7
|
+
gap: 30px;
|
|
8
|
+
margin-bottom: 30px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.project-card {
|
|
12
|
+
padding: 20px;
|
|
13
|
+
background-color: #f8f9fa;
|
|
14
|
+
border-radius: 8px;
|
|
15
|
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
16
|
+
|
|
17
|
+
&:hover {
|
|
18
|
+
transform: translateY(-5px);
|
|
19
|
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
h2, h3 {
|
|
23
|
+
margin-bottom: 10px;
|
|
24
|
+
|
|
25
|
+
a {
|
|
26
|
+
color: #333;
|
|
27
|
+
&:hover {
|
|
28
|
+
color: #0066cc;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.project-tech {
|
|
35
|
+
margin: 10px 0;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
gap: 8px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.tech-tag {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
padding: 4px 12px;
|
|
44
|
+
background-color: #e9ecef;
|
|
45
|
+
border-radius: 12px;
|
|
46
|
+
font-size: 0.85em;
|
|
47
|
+
color: #666;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Post list
|
|
51
|
+
.post-list {
|
|
52
|
+
list-style: none;
|
|
53
|
+
|
|
54
|
+
li {
|
|
55
|
+
margin-bottom: 30px;
|
|
56
|
+
padding-bottom: 30px;
|
|
57
|
+
border-bottom: 1px solid #e9ecef;
|
|
58
|
+
|
|
59
|
+
&:last-child {
|
|
60
|
+
border-bottom: none;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
h2, h3 {
|
|
65
|
+
margin-bottom: 10px;
|
|
66
|
+
|
|
67
|
+
a {
|
|
68
|
+
color: #333;
|
|
69
|
+
&:hover {
|
|
70
|
+
color: #0066cc;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.post-meta {
|
|
76
|
+
color: #666;
|
|
77
|
+
font-size: 0.9em;
|
|
78
|
+
margin-bottom: 10px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Post/Project content
|
|
83
|
+
.post, .project {
|
|
84
|
+
max-width: 800px;
|
|
85
|
+
margin: 0 auto;
|
|
86
|
+
|
|
87
|
+
.post-header, .project-header {
|
|
88
|
+
margin-bottom: 30px;
|
|
89
|
+
|
|
90
|
+
h1 {
|
|
91
|
+
margin-bottom: 15px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.post-content, .project-content {
|
|
96
|
+
line-height: 1.8;
|
|
97
|
+
|
|
98
|
+
img {
|
|
99
|
+
max-width: 100%;
|
|
100
|
+
height: auto;
|
|
101
|
+
border-radius: 4px;
|
|
102
|
+
margin: 20px 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Code and pre styles are defined in _syntax.scss
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.project-links {
|
|
109
|
+
margin-top: 30px;
|
|
110
|
+
display: flex;
|
|
111
|
+
gap: 15px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// Layout styles
|
|
2
|
+
|
|
3
|
+
// Header
|
|
4
|
+
.site-header {
|
|
5
|
+
background-color: var(--header-bg);
|
|
6
|
+
border-bottom: 1px solid var(--header-border);
|
|
7
|
+
padding: 20px 0;
|
|
8
|
+
|
|
9
|
+
.wrapper {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.site-title {
|
|
16
|
+
font-size: 1.5em;
|
|
17
|
+
font-weight: 700;
|
|
18
|
+
color: var(--text-color);
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
color: var(--link-color);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.header-right {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
gap: 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.site-nav {
|
|
32
|
+
display: flex;
|
|
33
|
+
gap: 20px;
|
|
34
|
+
|
|
35
|
+
a {
|
|
36
|
+
color: var(--text-color);
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
opacity: 0.8;
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
color: var(--link-color);
|
|
42
|
+
opacity: 1;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Main content
|
|
49
|
+
.page-content {
|
|
50
|
+
padding: 40px 0;
|
|
51
|
+
min-height: calc(100vh - 200px);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Footer
|
|
55
|
+
.site-footer {
|
|
56
|
+
background-color: var(--header-bg);
|
|
57
|
+
border-top: 1px solid var(--header-border);
|
|
58
|
+
padding: 40px 0;
|
|
59
|
+
margin-top: 60px;
|
|
60
|
+
|
|
61
|
+
.footer-content {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
align-items: center;
|
|
65
|
+
gap: 30px;
|
|
66
|
+
text-align: center;
|
|
67
|
+
color: var(--text-color);
|
|
68
|
+
opacity: 0.8;
|
|
69
|
+
|
|
70
|
+
.footer-info {
|
|
71
|
+
p {
|
|
72
|
+
margin-bottom: 0.5em;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.social-links {
|
|
78
|
+
display: flex;
|
|
79
|
+
gap: 20px;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.social-link {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
width: 40px;
|
|
89
|
+
height: 40px;
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
background-color: transparent;
|
|
92
|
+
transition: all 0.3s ease;
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
background-color: rgba(16, 185, 129, 0.1);
|
|
96
|
+
transform: translateY(-3px);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.social-icon {
|
|
100
|
+
width: 24px;
|
|
101
|
+
height: 24px;
|
|
102
|
+
filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
|
|
103
|
+
transition: filter 0.3s ease;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:hover .social-icon {
|
|
107
|
+
filter: brightness(0) saturate(100%) invert(56%) sepia(98%) saturate(565%) hue-rotate(106deg) brightness(93%) contrast(92%);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// Hero section
|
|
113
|
+
.hero {
|
|
114
|
+
text-align: center;
|
|
115
|
+
padding: 60px 0;
|
|
116
|
+
background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
|
|
117
|
+
color: #fff;
|
|
118
|
+
margin-bottom: 40px;
|
|
119
|
+
border-radius: 8px;
|
|
120
|
+
|
|
121
|
+
h1 {
|
|
122
|
+
font-size: 3em;
|
|
123
|
+
margin-bottom: 0.3em;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
p {
|
|
127
|
+
font-size: 1.2em;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// Sections
|
|
132
|
+
section {
|
|
133
|
+
margin-bottom: 60px;
|
|
134
|
+
|
|
135
|
+
h2 {
|
|
136
|
+
margin-bottom: 30px;
|
|
137
|
+
padding-bottom: 10px;
|
|
138
|
+
border-bottom: 2px solid var(--border-color);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// Syntax highlighting for code blocks
|
|
2
|
+
// Light and dark mode support
|
|
3
|
+
|
|
4
|
+
.highlight {
|
|
5
|
+
border-radius: 2px;
|
|
6
|
+
overflow-x: auto;
|
|
7
|
+
margin: 1.5em 0;
|
|
8
|
+
|
|
9
|
+
pre {
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
code {
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
padding: 0;
|
|
18
|
+
border: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Comments
|
|
22
|
+
.c, .c1, .cm, .cp, .cs {
|
|
23
|
+
color: var(--syntax-comment);
|
|
24
|
+
font-style: italic;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Errors
|
|
28
|
+
.err {
|
|
29
|
+
color: var(--syntax-error);
|
|
30
|
+
background-color: var(--syntax-error-bg);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Keywords
|
|
34
|
+
.k, .kc, .kd, .kn, .kp, .kr, .kt {
|
|
35
|
+
color: var(--syntax-keyword);
|
|
36
|
+
font-weight: bold;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Operators
|
|
40
|
+
.o, .ow {
|
|
41
|
+
color: var(--syntax-operator);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Punctuation
|
|
45
|
+
.p {
|
|
46
|
+
color: var(--syntax-punctuation);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Names
|
|
50
|
+
.n, .nb, .nc, .ne, .nf, .ni, .nl, .nn, .nt, .nv {
|
|
51
|
+
color: var(--syntax-name);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Functions
|
|
55
|
+
.nf {
|
|
56
|
+
color: var(--syntax-function);
|
|
57
|
+
font-weight: bold;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Classes
|
|
61
|
+
.nc {
|
|
62
|
+
color: var(--syntax-class);
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Strings
|
|
67
|
+
.s, .s1, .s2, .sb, .sc, .sd, .se, .sh, .si, .sx {
|
|
68
|
+
color: var(--syntax-string);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Numbers
|
|
72
|
+
.m, .mf, .mh, .mi, .mo {
|
|
73
|
+
color: var(--syntax-number);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// Variables
|
|
77
|
+
.na, .nb, .nv, .vc, .vg, .vi {
|
|
78
|
+
color: var(--syntax-variable);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Built-ins
|
|
82
|
+
.nb, .bp {
|
|
83
|
+
color: var(--syntax-builtin);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// Constants
|
|
87
|
+
.no, .kc {
|
|
88
|
+
color: var(--syntax-constant);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Generics
|
|
92
|
+
.gd {
|
|
93
|
+
color: var(--syntax-deleted);
|
|
94
|
+
background-color: var(--syntax-deleted-bg);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.gi {
|
|
98
|
+
color: var(--syntax-inserted);
|
|
99
|
+
background-color: var(--syntax-inserted-bg);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.gh {
|
|
103
|
+
color: var(--syntax-heading);
|
|
104
|
+
font-weight: bold;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.gu {
|
|
108
|
+
color: var(--syntax-subheading);
|
|
109
|
+
font-weight: bold;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Inline code
|
|
114
|
+
code {
|
|
115
|
+
background-color: var(--inline-code-bg);
|
|
116
|
+
color: var(--inline-code-text);
|
|
117
|
+
padding: 0.2em 0.4em;
|
|
118
|
+
border-radius: 3px;
|
|
119
|
+
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
|
|
120
|
+
font-size: 0.9em;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// Pre blocks without highlight class
|
|
124
|
+
pre {
|
|
125
|
+
background-color: var(--code-bg);
|
|
126
|
+
color: var(--code-text);
|
|
127
|
+
padding: 1em;
|
|
128
|
+
border-radius: 4px;
|
|
129
|
+
overflow-x: auto;
|
|
130
|
+
margin: 1.5em 0;
|
|
131
|
+
|
|
132
|
+
code {
|
|
133
|
+
background-color: transparent;
|
|
134
|
+
padding: 0;
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
// Theme variables
|
|
2
|
+
:root {
|
|
3
|
+
// Light mode colors
|
|
4
|
+
--bg-color: #ffffff;
|
|
5
|
+
--text-color: #333333;
|
|
6
|
+
--header-bg: #f0fdf4;
|
|
7
|
+
--header-border: #d1fae5;
|
|
8
|
+
--link-color: #10b981;
|
|
9
|
+
--link-hover: #059669;
|
|
10
|
+
--card-bg: #f0fdf4;
|
|
11
|
+
--border-color: #d1fae5;
|
|
12
|
+
--hero-gradient-start: #10b981;
|
|
13
|
+
--hero-gradient-end: #14b8a6;
|
|
14
|
+
--code-bg: #f0fdf4;
|
|
15
|
+
--shadow-color: rgba(16, 185, 129, 0.1);
|
|
16
|
+
--button-bg: #10b981;
|
|
17
|
+
--button-hover: #059669;
|
|
18
|
+
--tag-bg: #d1fae5;
|
|
19
|
+
--tag-text: #047857;
|
|
20
|
+
|
|
21
|
+
// Syntax highlighting (light mode)
|
|
22
|
+
--code-text: #1f2937;
|
|
23
|
+
--inline-code-bg: #d1fae5;
|
|
24
|
+
--inline-code-text: #065f46;
|
|
25
|
+
--syntax-comment: #6b7280;
|
|
26
|
+
--syntax-error: #dc2626;
|
|
27
|
+
--syntax-error-bg: #fee2e2;
|
|
28
|
+
--syntax-keyword: #059669;
|
|
29
|
+
--syntax-operator: #0891b2;
|
|
30
|
+
--syntax-punctuation: #374151;
|
|
31
|
+
--syntax-name: #1f2937;
|
|
32
|
+
--syntax-function: #0d9488;
|
|
33
|
+
--syntax-class: #0891b2;
|
|
34
|
+
--syntax-string: #ea580c;
|
|
35
|
+
--syntax-number: #c026d3;
|
|
36
|
+
--syntax-variable: #4338ca;
|
|
37
|
+
--syntax-builtin: #0d9488;
|
|
38
|
+
--syntax-constant: #7c3aed;
|
|
39
|
+
--syntax-deleted: #dc2626;
|
|
40
|
+
--syntax-deleted-bg: #fee2e2;
|
|
41
|
+
--syntax-inserted: #16a34a;
|
|
42
|
+
--syntax-inserted-bg: #dcfce7;
|
|
43
|
+
--syntax-heading: #0891b2;
|
|
44
|
+
--syntax-subheading: #0d9488;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-theme="dark"] {
|
|
48
|
+
// Dark mode colors
|
|
49
|
+
--bg-color: #1a1a1a;
|
|
50
|
+
--text-color: #e0e0e0;
|
|
51
|
+
--header-bg: #1f2937;
|
|
52
|
+
--header-border: #374151;
|
|
53
|
+
--link-color: #34d399;
|
|
54
|
+
--link-hover: #6ee7b7;
|
|
55
|
+
--card-bg: #1f2937;
|
|
56
|
+
--border-color: #374151;
|
|
57
|
+
--hero-gradient-start: #10b981;
|
|
58
|
+
--hero-gradient-end: #14b8a6;
|
|
59
|
+
--code-bg: #1f2937;
|
|
60
|
+
--shadow-color: rgba(16, 185, 129, 0.2);
|
|
61
|
+
--button-bg: #34d399;
|
|
62
|
+
--button-hover: #6ee7b7;
|
|
63
|
+
--tag-bg: #374151;
|
|
64
|
+
--tag-text: #a7f3d0;
|
|
65
|
+
|
|
66
|
+
// Syntax highlighting (dark mode)
|
|
67
|
+
--code-text: #e0e0e0;
|
|
68
|
+
--inline-code-bg: #374151;
|
|
69
|
+
--inline-code-text: #a7f3d0;
|
|
70
|
+
--syntax-comment: #9ca3af;
|
|
71
|
+
--syntax-error: #f87171;
|
|
72
|
+
--syntax-error-bg: #7f1d1d;
|
|
73
|
+
--syntax-keyword: #34d399;
|
|
74
|
+
--syntax-operator: #22d3ee;
|
|
75
|
+
--syntax-punctuation: #d1d5db;
|
|
76
|
+
--syntax-name: #e0e0e0;
|
|
77
|
+
--syntax-function: #2dd4bf;
|
|
78
|
+
--syntax-class: #22d3ee;
|
|
79
|
+
--syntax-string: #fb923c;
|
|
80
|
+
--syntax-number: #e879f9;
|
|
81
|
+
--syntax-variable: #818cf8;
|
|
82
|
+
--syntax-builtin: #2dd4bf;
|
|
83
|
+
--syntax-constant: #a78bfa;
|
|
84
|
+
--syntax-deleted: #f87171;
|
|
85
|
+
--syntax-deleted-bg: #7f1d1d;
|
|
86
|
+
--syntax-inserted: #4ade80;
|
|
87
|
+
--syntax-inserted-bg: #14532d;
|
|
88
|
+
--syntax-heading: #22d3ee;
|
|
89
|
+
--syntax-subheading: #2dd4bf;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Apply theme colors
|
|
93
|
+
body {
|
|
94
|
+
background-color: var(--bg-color);
|
|
95
|
+
color: var(--text-color);
|
|
96
|
+
transition: background-color 0.3s ease, color 0.3s ease;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
a {
|
|
100
|
+
color: var(--link-color);
|
|
101
|
+
|
|
102
|
+
&:hover {
|
|
103
|
+
color: var(--link-hover);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.site-header {
|
|
108
|
+
background-color: var(--header-bg);
|
|
109
|
+
border-bottom: 1px solid var(--header-border);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.site-footer {
|
|
113
|
+
background-color: var(--header-bg);
|
|
114
|
+
border-top: 1px solid var(--header-border);
|
|
115
|
+
|
|
116
|
+
.footer-content {
|
|
117
|
+
color: var(--text-color);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.project-card {
|
|
122
|
+
background-color: var(--card-bg);
|
|
123
|
+
|
|
124
|
+
h2, h3 {
|
|
125
|
+
a {
|
|
126
|
+
color: var(--text-color);
|
|
127
|
+
&:hover {
|
|
128
|
+
color: var(--link-color);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.tech-tag {
|
|
135
|
+
background-color: var(--tag-bg);
|
|
136
|
+
color: var(--tag-text);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.btn {
|
|
140
|
+
background-color: var(--button-bg);
|
|
141
|
+
|
|
142
|
+
&:hover {
|
|
143
|
+
background-color: var(--button-hover);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.post-list {
|
|
148
|
+
li {
|
|
149
|
+
border-bottom: 1px solid var(--border-color);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
h2, h3 {
|
|
153
|
+
a {
|
|
154
|
+
color: var(--text-color);
|
|
155
|
+
&:hover {
|
|
156
|
+
color: var(--link-color);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
section h2 {
|
|
163
|
+
border-bottom: 2px solid var(--border-color);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// Code and pre styles are defined in _syntax.scss
|
|
167
|
+
|
|
168
|
+
// Theme toggle button
|
|
169
|
+
.theme-toggle {
|
|
170
|
+
background: none;
|
|
171
|
+
border: 2px solid var(--border-color);
|
|
172
|
+
border-radius: 50%;
|
|
173
|
+
width: 40px;
|
|
174
|
+
height: 40px;
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
transition: all 0.3s ease;
|
|
180
|
+
padding: 0;
|
|
181
|
+
|
|
182
|
+
&:hover {
|
|
183
|
+
border-color: var(--link-color);
|
|
184
|
+
transform: rotate(20deg);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
svg {
|
|
188
|
+
width: 20px;
|
|
189
|
+
height: 20px;
|
|
190
|
+
fill: var(--text-color);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.sun-icon {
|
|
194
|
+
display: none;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.moon-icon {
|
|
198
|
+
display: block;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
[data-theme="dark"] .theme-toggle {
|
|
203
|
+
.sun-icon {
|
|
204
|
+
display: block;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.moon-icon {
|
|
208
|
+
display: none;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// Language toggle button
|
|
213
|
+
.lang-toggle {
|
|
214
|
+
background: none;
|
|
215
|
+
border: 2px solid var(--border-color);
|
|
216
|
+
border-radius: 20px;
|
|
217
|
+
padding: 8px 16px;
|
|
218
|
+
cursor: pointer;
|
|
219
|
+
font-weight: 600;
|
|
220
|
+
font-size: 0.9em;
|
|
221
|
+
color: var(--text-color);
|
|
222
|
+
transition: all 0.3s ease;
|
|
223
|
+
|
|
224
|
+
&:hover {
|
|
225
|
+
border-color: var(--link-color);
|
|
226
|
+
color: var(--link-color);
|
|
227
|
+
transform: translateY(-2px);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// Header controls container
|
|
232
|
+
.header-controls {
|
|
233
|
+
display: flex;
|
|
234
|
+
align-items: center;
|
|
235
|
+
gap: 12px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// Social links dark mode support
|
|
239
|
+
.social-link {
|
|
240
|
+
.social-icon {
|
|
241
|
+
filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&:hover .social-icon {
|
|
245
|
+
filter: brightness(0) saturate(100%) invert(56%) sepia(98%) saturate(565%) hue-rotate(106deg) brightness(93%) contrast(92%);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
[data-theme="dark"] .social-link {
|
|
250
|
+
.social-icon {
|
|
251
|
+
filter: brightness(0) saturate(100%) invert(80%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&:hover {
|
|
255
|
+
background-color: rgba(52, 211, 153, 0.15);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
&:hover .social-icon {
|
|
259
|
+
filter: brightness(0) saturate(100%) invert(73%) sepia(39%) saturate(458%) hue-rotate(99deg) brightness(95%) contrast(90%);
|
|
260
|
+
}
|
|
261
|
+
}
|