rubiku-theme 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38853f168059ffd45e5185f34f503207ba933374e6071585bc45b65bbf2f872b
4
- data.tar.gz: 1ebf9001221b4cf35b5343431f9197ce67e7611e5151ab4560f67331bd112a6c
3
+ metadata.gz: 63293c073c48b2edf3d3bf6cc561719c2b303e2e38151ae96ca8833512805858
4
+ data.tar.gz: 43bb0474bfe89bb0a761090a5ae0e312377941bb950cff6e24e51cec95294157
5
5
  SHA512:
6
- metadata.gz: 0106e3440f2408545809010536808e68f4bf433be31720b6697ae9264594e9196fc89341b703cba40c568fe7db3fa8fa0a8f722f5460ad38d210549bd57d502f
7
- data.tar.gz: 03cea947795ea5f56bdcf6599759c7d730e3a55eb3cadf8e614bbbc3d4667f8d54c35472c76262f97b1b1263eab27c8cf02282478efc5cc5adc480af44d96a51
6
+ metadata.gz: 2904015814b4bff2cca8e375fa0d16a04daccf212ded6cc247ead03865ab05b0415d1dd42b50ddb3c1f17cf052c95cfd5d62fdd5dce49519efd58d4e50ed68fa
7
+ data.tar.gz: aa2c78c79252fa926d5696be7b88ef413070e18e1bc0c81dfeed19f1af1eb0f3cdbf4d1f3b6be1e02b54c1eed17578371ee0a7ac07c5fc1e71ba9a85ac7fa9fd
data/README.md CHANGED
@@ -6,7 +6,8 @@ A blog website built using Jekyll, a Ruby bundle for static side generators. I c
6
6
  # Features
7
7
  - Devlog
8
8
  - Tutorial
9
- - Comment (on-going)
9
+ - Comment
10
+ - RSS (on-going)
10
11
 
11
12
  # Usage
12
13
  1. At the top of this page, select **Use this template** > **Create a new repository** to clone the template to your account.
data/_includes/head.html CHANGED
@@ -8,7 +8,7 @@
8
8
  <meta name="author" content="Rubiriku">
9
9
  <meta property="og:tittle" content="Blog Jekyll">
10
10
  <meta property="og:description" content="blog website untuk devlog/tutorial buatan Rubikuriku">
11
- <meta property="og:image" content="/assets/uploads/Screenshot 2025-08-17 154328.png">
11
+ <meta property="og:image" content="/assets/uploads/og_img.png">
12
12
  <meta property="og:url" content="https://rubiku-theme.netlify.app/">
13
13
  <meta property="og:type" content="website - https://rubiku-theme.netlify.app/">
14
14
  <meta name="twitter:card" content="summary_large_image" />
data/_layouts/author.html CHANGED
@@ -6,19 +6,18 @@ layout: default
6
6
  <section class="text_left">
7
7
  <h2>{{ page.position }}</h2>
8
8
 
9
- {{ content }}
9
+ <div class="text_basic" style="margin: auto 0;">
10
+ {{ content }}
11
+ </div>
10
12
 
11
13
  <h2>Posts</h2>
12
14
  </section>
13
- <ul class="parent_card-author">
15
+ <ul class="parent_card-author" style="padding-left: 30px;">
14
16
  {% assign filtered_posts = site.posts | where: 'author', page.name %} {% for post in
15
17
  filtered_posts %}
16
18
  <div class="card">
17
19
  <a href="{{ site.baseurl }}{{ post.url }}">
18
20
  {{ post.title }}
19
- {% if post.wakatime %}
20
- <img style="vertical-align: middle" src="{{ post.wakatime }}" alt="wakatime badge">
21
- {% endif %}
22
21
  </a>
23
22
  </div>
24
23
  {% endfor %}
data/_layouts/post.html CHANGED
@@ -1,27 +1,35 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ <div class="blog_main">
5
+ <div class="mainTitle_blog">
6
+ <h1 class="title_blog">{{ page.title }}</h1>
7
+ <p class="subTitle_blog">
8
+ {{ page.date | date_to_string }} {% assign author = site.authors | where: 'name', page.author |
9
+ first %} {% if author %} - <a class="text_link" href="{{ author.url }}">{{ author.display_name }}</a>
10
+ {% endif %}
11
+ </p>
12
+ </div>
13
+
14
+ <div class="text_basic">
15
+ {{ content }}
16
+ </div>
4
17
 
5
- <h1 class="title_page">{{ page.title }}</h1>
6
-
7
- <p class="text_left">
8
- {{ page.date | date_to_string }} {% assign author = site.authors | where: 'name', page.author |
9
- first %} {% if author %} - <a class="text_link" href="{{ author.url }}">{{ author.display_name }}</a>
10
- {% endif %}
11
- </p>
12
-
13
- <div class="text_left">
14
- {% if page.github %}
15
- <img class="vertical-align: baseline" src="https://unpkg.com/lucide-static/icons/link.svg" height="15px" width="15px"/>
16
- <a href="{{ page.github }}">Reporisitory Github</a>
17
- {% endif %}
18
- <a href="{{ page.github | default:'#' }}">
19
- {% if page.wakatime %}
20
- <img style="vertical-align: middle" src="{{ page.wakatime }}" alt="wakatime badge">
21
- {% endif %}
22
- </a>
23
- </div>
24
-
25
- <div class="text_basic">
26
- {{ content }}
18
+ <div class="comment">
19
+ <script src="https://giscus.app/client.js"
20
+ data-repo="kyubiner/rubiku-theme"
21
+ data-repo-id="R_kgDOOlWqnw"
22
+ data-category="General"
23
+ data-category-id="DIC_kwDOOlWqn84CxDZE"
24
+ data-mapping="pathname"
25
+ data-strict="0"
26
+ data-reactions-enabled="1"
27
+ data-emit-metadata="0"
28
+ data-input-position="bottom"
29
+ data-theme="gruvbox_light"
30
+ data-lang="en"
31
+ crossorigin="anonymous"
32
+ async>
33
+ </script>
34
+ </div>
27
35
  </div>
data/_sass/author.scss CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  a {
18
18
  text-decoration: none;
19
- color: #8D0B41;
19
+ color: var(--accent);
20
20
  display: flex;
21
21
  align-items: center;
22
22
  justify-content: space-between;
data/_sass/base.scss CHANGED
@@ -1,41 +1,78 @@
1
- @font-face {
2
- font-family: pixelFont;
3
- src: url("/assets/font/HomeVideo-BLG6G.ttf");
1
+ :root {
2
+ --content-size: 720px;
3
+ --bg: #FAF3DD;
4
+ --bg-secondary: #F5E9D0;
5
+ --text: #2B1E1E;
6
+ --heading: #800000;
7
+ --accent: #A63C3C;
8
+ --border: #CBB69D;
4
9
  }
5
-
6
- @keyframes fadeOut {
7
- 0% {opacity: 1;}
8
- 100% {opacity: 0;}
10
+ [data-theme="dark"] {
11
+ --bg: #1E0E0E;
12
+ --bg-secondary: #2C1A1A;
13
+ --text: #F5E8C7;
14
+ --heading: #E09C9C;
15
+ --accent: #D46A6A;
16
+ --border: #5C4040;
9
17
  }
10
18
 
11
- @keyframes fadeIn {
12
- 0% {opacity: 0;}
13
- 100% {opacity: 1;}
14
- }
19
+ // vanilla Section
15
20
 
16
21
  body {
17
- background-color: #FFF8E6;
22
+ background-color: var(--bg);
18
23
  font-family: pixelFont;
19
24
  margin: 0;
20
- color: #8D0B41;
25
+ padding: 0;
26
+ color: var(--text);
21
27
 
22
- font-family:'Franklin Gothic Medium',
23
- 'Arial Narrow',
28
+ font-family: "Franklin Gothic Medium",
29
+ "Arial Narrow",
24
30
  Arial,
25
31
  sans-serif main {
26
32
  margin-left: 1.5vw;
27
33
  }
28
34
 
35
+ img {
36
+ max-width: 90%;
37
+ height: auto;
38
+ display: block;
39
+ margin: auto auto;
40
+ border: 1px solid rgba(0, 0, 0, 0.1);
41
+ border-radius: 8px;
42
+ }
43
+
44
+ p {
45
+ font-size: 1rem;
46
+ line-height: 1.55;
47
+ margin: 1px 0;
48
+ color: var(--text);
49
+ }
50
+
51
+ h4 {
52
+ margin: 7px 0;
53
+ color: var(--heading);
54
+ }
55
+
56
+ h2{
57
+ color: var(--heading);
58
+ }
59
+
60
+ table,
61
+ th,
62
+ td {
63
+ border: solid;
64
+ }
29
65
 
66
+ // class Section
30
67
 
31
68
  .text_link {
32
69
  text-decoration: none;
33
- color: #8D0B41;
70
+ color: var(--accent);
34
71
  transition: 300ms;
35
72
  border-bottom: none;
36
73
 
37
74
  &:hover {
38
- border-bottom: solid #8D0B41;
75
+ border-bottom: solid #a74a4a;
39
76
  transition: 300ms;
40
77
  }
41
78
  }
@@ -43,11 +80,12 @@ body {
43
80
  .title_page {
44
81
  position: relative;
45
82
  margin: 1em auto 1.5em 1em;
83
+ color: var(--heading);
46
84
 
47
85
  &::before {
48
86
  content: "> ";
49
87
  }
50
-
88
+
51
89
  &::before,
52
90
  &::after {
53
91
  transition: opacity 0.3s ease;
@@ -57,19 +95,19 @@ body {
57
95
  content: "> ";
58
96
  animation: fadeOut 1s infinite alternate;
59
97
  -webkit-animation: fadeOut 1s infinite alternate;
60
- }
98
+ }
61
99
 
62
100
  &:hover::after {
63
101
  content: " ";
64
102
  animation: fadeIn 1s infinite alternate;
65
103
  -webkit-animation: fadeIn 1s infinite alternate;
66
- }
104
+ }
67
105
  }
68
106
 
69
-
70
107
  .text_basic {
71
108
  margin: 0 3rem;
72
109
  font-size: 16px;
110
+ font-family: pixelFontBasic;
73
111
  }
74
112
 
75
113
  .text_left {
@@ -78,6 +116,12 @@ body {
78
116
  }
79
117
  }
80
118
 
119
+ .padding_card {
120
+ padding: 0 1rem;
121
+ }
122
+
123
+ // @ Section
124
+
81
125
  @mixin card_base {
82
126
  margin: 0;
83
127
  padding: 0.5rem;
@@ -85,46 +129,30 @@ body {
85
129
  border: solid;
86
130
  max-width: 60vw;
87
131
  margin-bottom: 1rem;
88
- background-color: #D39D55;
89
- color: #8D0B41;
132
+ background-color: var(--bg);
133
+ color: var(--border);
90
134
  box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 1);
91
135
  scale: 100%;
92
136
  transition: 300ms;
93
137
  border-radius: 5px;
94
-
138
+
95
139
  &:hover {
96
140
  scale: 101%;
97
141
  transition: 300ms;
98
142
  }
99
143
  }
100
144
 
101
- .padding_card {
102
- padding-left: 1.5rem;
103
- }
104
-
105
- p {
106
- font-size: 1rem;
107
- line-height: 1.6;
108
- margin-bottom: 1em;
109
- }
110
-
111
- table,
112
- th,
113
- td {
114
- border: solid;
115
- }
116
-
117
145
  @media (max-width: 768px) {
118
146
  body {
119
147
  margin-bottom: 8.5rem;
120
148
 
121
149
  main {
122
- margin-left: 2vw;
150
+ justify-content: center;
123
151
  }
124
152
 
125
153
  .title_page {
126
154
  text-align: center;
127
- margin: 1.5rem;
155
+ margin-left: 0;
128
156
 
129
157
  &:hover::before,
130
158
  &:hover::after {
@@ -145,4 +173,34 @@ td {
145
173
  margin-left: 2rem;
146
174
  }
147
175
  }
176
+ }
177
+
178
+ @font-face {
179
+ font-family: pixelFont;
180
+ src: url("/assets/font/HomeVideo-BLG6G.ttf");
181
+ }
182
+
183
+ @font-face {
184
+ font-family: pixelFontBasic;
185
+ src: url("/assets/font/VCR_OSD_MONO.ttf");
186
+ }
187
+
188
+ @keyframes fadeOut {
189
+ 0% {
190
+ opacity: 1;
191
+ }
192
+
193
+ 100% {
194
+ opacity: 0;
195
+ }
196
+ }
197
+
198
+ @keyframes fadeIn {
199
+ 0% {
200
+ opacity: 0;
201
+ }
202
+
203
+ 100% {
204
+ opacity: 1;
205
+ }
148
206
  }
data/_sass/blog.scss ADDED
@@ -0,0 +1,67 @@
1
+ @use "base.scss" as base;
2
+
3
+ .parent_card-blog {
4
+ padding-left: 0;
5
+ display: grid;
6
+ grid-template-columns: 27vw 27vw 27vw;
7
+ gap: 4vw;
8
+ justify-content: center;
9
+
10
+ .card_blog {
11
+ color: var(--text);
12
+ @include base.card_base;
13
+ text-decoration: none;
14
+ a {
15
+ text-decoration: none;
16
+ color: var(--accent);
17
+ }
18
+ h3 {
19
+ text-align: center;
20
+ }
21
+ }
22
+ }
23
+
24
+ .blog_main {
25
+ max-width: var(--content-size);
26
+ margin: 0 auto;
27
+ }
28
+
29
+ .mainTitle_blog {
30
+ margin: 3em 0 1em 0;
31
+ }
32
+
33
+ .title_blog {
34
+ margin: 1em auto 2px 1em;
35
+ }
36
+
37
+ .subTitle_blog {
38
+ margin-left: 32px;
39
+ }
40
+
41
+ .comment {
42
+ font-family: pixelFontBasic;
43
+ max-width: 90%;
44
+ margin: 2rem auto;
45
+ }
46
+
47
+ @media (max-width: 768px) {
48
+ .parent_card-blog {
49
+ justify-content: center;
50
+ display: grid;
51
+ grid-template-columns: auto;
52
+ place-content: center;
53
+ padding: 0 5%;
54
+ max-width: 100%;
55
+
56
+ .card_blog {
57
+ max-width: 100%;
58
+ h2 {
59
+ text-align: center;
60
+ }
61
+ }
62
+
63
+ .card_blog:hover {
64
+ scale: 105%;
65
+ }
66
+ }
67
+ }
@@ -1,5 +1,5 @@
1
1
  nav {
2
- background-color: #D39D55;
2
+ background-color: var(--border);
3
3
  display: flex;
4
4
  justify-content: space-around;
5
5
  width: 100wh;
@@ -17,7 +17,7 @@ nav {
17
17
  align-content: center;
18
18
  align-items: center;
19
19
  text-decoration: none;
20
- color: #8D0B41;
20
+ color: var(--accent);
21
21
  transition: 300ms;
22
22
  }
23
23
  a:hover {
data/_sass/staff.scss CHANGED
@@ -3,20 +3,21 @@
3
3
  .parent_card-staff {
4
4
  padding-left: 0;
5
5
  display: grid;
6
- grid-template-columns: 30vw 30vw 30vw;
7
- gap: 2vw;
6
+ justify-content: center;
7
+ grid-template-columns: 20vw 20vw;
8
+ gap: 15vw;
8
9
  place-content: left;
9
- margin-left: 3rem;
10
-
10
+
11
11
  .card_staff {
12
- color: #8D0B41;
12
+ color: var(--text);
13
13
  @include base.card_base;
14
14
  text-decoration: none;
15
+
15
16
  a {
16
17
  text-decoration: none;
17
- color: #8D0B41;
18
+ color: var(--accent);
18
19
  }
19
- h2 {
20
+ h3 {
20
21
  text-align: center;
21
22
  }
22
23
  }
@@ -25,8 +26,9 @@
25
26
 
26
27
  @media (max-width: 768px) {
27
28
  .parent_card-staff {
29
+ gap: 10vw;
28
30
  display: grid;
29
- grid-template-columns: 70vw;
31
+ grid-template-columns: auto;
30
32
  place-content: center;
31
33
  padding: auto;
32
34
  margin-left: 0;
@@ -4,4 +4,5 @@
4
4
  @import "base.scss";
5
5
  @import "navigation.scss";
6
6
  @import "staff.scss";
7
- @import "author.scss";
7
+ @import "author.scss";
8
+ @import "blog.scss";
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubiku-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubikuriku
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-10-25 00:00:00.000000000 Z
10
+ date: 2025-10-26 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: jekyll
@@ -52,11 +52,15 @@ files:
52
52
  - _layouts/post.html
53
53
  - _sass/author.scss
54
54
  - _sass/base.scss
55
+ - _sass/blog.scss
55
56
  - _sass/navigation.scss
56
57
  - _sass/staff.scss
57
58
  - assets/Rubiku-theme.scss
58
59
  - assets/font/HomeVideo-BLG6G.ttf
59
- - assets/uploads/Screenshot 2025-08-17 154328.png
60
+ - assets/font/VCR_OSD_MONO.ttf
61
+ - assets/uploads/lacie.jpg
62
+ - assets/uploads/og_img.png
63
+ - assets/uploads/rubiku.png
60
64
  - assets/uploads/schematic.png
61
65
  - assets/uploads/screenshot_20250802-112920_1~2.jpg
62
66
  - assets/uploads/wireframe.png