Skip to content

Commit 6efe93f

Browse files
fix: revert, and change workflow
1 parent 2dd0315 commit 6efe93f

File tree

7 files changed

+44
-44
lines changed

7 files changed

+44
-44
lines changed

.github/workflows/starter/pages-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/configure-pages@v4
4141

4242
- name: Setup Ruby
43-
uses: ruby/setup-ruby@v1
43+
uses: ruby/setup-ruby@v1.214.0
4444
with:
4545
ruby-version: 3.3
4646
bundler-cache: true

_sass/base/_syntax.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
}
1111

1212
.highlight {
13-
@extend %rounded !optional;
14-
@extend %code-snippet-bg !optional;
13+
@extend %rounded;
14+
@extend %code-snippet-bg;
1515

1616
overflow: auto;
1717
padding-bottom: 0.75rem;
1818

1919
@at-root figure#{&} {
20-
@extend %code-snippet-bg !optional;
20+
@extend %code-snippet-bg;
2121
}
2222

2323
pre {
@@ -93,7 +93,7 @@ code {
9393
}
9494

9595
td.rouge-code {
96-
@extend %code-snippet-padding !optional;
96+
@extend %code-snippet-padding;
9797

9898
/*
9999
Prevent some browser extends from
@@ -107,8 +107,8 @@ td.rouge-code {
107107
}
108108

109109
div[class^='language-'] {
110-
@extend %rounded !optional;
111-
@extend %code-snippet-bg !optional;
110+
@extend %rounded;
111+
@extend %code-snippet-bg;
112112

113113
box-shadow: var(--language-border-color) 0 0 0 1px;
114114

@@ -175,7 +175,7 @@ div {
175175
}
176176

177177
.code-header {
178-
@extend %no-cursor !optional;
178+
@extend %no-cursor;
179179

180180
display: flex;
181181
justify-content: space-between;
@@ -215,8 +215,8 @@ div {
215215

216216
/* clipboard */
217217
button {
218-
@extend %cursor-pointer !optional;
219-
@extend %rounded !optional;
218+
@extend %cursor-pointer;
219+
@extend %rounded;
220220

221221
border: 1px solid transparent;
222222
height: v.$code-header-height;

_sass/pages/_archives.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
margin-left: -$timeline-width;
3131

3232
&::before {
33-
@extend %timeline !optional;
33+
@extend %timeline;
3434

3535
height: 72px;
3636
left: 79px;
3737
bottom: 16px;
3838
}
3939

4040
&:first-child::before {
41-
@extend %timeline !optional;
41+
@extend %timeline;
4242

4343
height: 32px;
4444
top: 24px;
@@ -66,7 +66,7 @@
6666
font-size: 1.1rem;
6767
line-height: 3rem;
6868

69-
@extend %text-ellipsis !optional;
69+
@extend %text-ellipsis;
7070

7171
&:nth-child(odd) {
7272
background-color: var(--main-bg, #ffffff);
@@ -81,7 +81,7 @@
8181
}
8282

8383
&::before {
84-
@extend %timeline !optional;
84+
@extend %timeline;
8585

8686
top: 0;
8787
left: 77px;

_sass/pages/_categories.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
&.card,
1313
.list-group {
14-
@extend %rounded !optional;
14+
@extend %rounded;
1515
}
1616

1717
.card-header {

_sass/pages/_category-tag.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
/* post's title */
3434
> a {
35-
@extend %no-bottom-border !optional;
35+
@extend %no-bottom-border;
3636

3737
font-size: 1.1rem;
3838

@@ -56,7 +56,7 @@
5656
#page-tag,
5757
#access-lastmod {
5858
a:hover {
59-
@extend %link-hover !optional;
59+
@extend %link-hover;
6060

6161
margin-bottom: -1px; /* Avoid jumping */
6262
}

_sass/pages/_home.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
}
3333

3434
.preview-img {
35-
@extend %img-radius !optional;
35+
@extend %img-radius;
3636

3737
img {
38-
@extend %img-radius !optional;
38+
@extend %img-radius;
3939
}
4040
}
4141

@@ -48,7 +48,7 @@
4848
}
4949

5050
.card-title {
51-
@extend %text-clip !optional;
51+
@extend %text-clip;
5252

5353
color: var(--heading-color) !important;
5454
font-size: 1.25rem;
@@ -76,7 +76,7 @@
7676
}
7777

7878
.post-meta {
79-
@extend %muted !optional;
79+
@extend %muted;
8080

8181
i {
8282
&:not(:first-child) {
@@ -89,15 +89,15 @@
8989
}
9090

9191
em {
92-
@extend %normal-font-style !optional;
92+
@extend %normal-font-style;
9393

9494
color: inherit;
9595
}
9696

9797
> div:first-child {
9898
display: block;
9999

100-
@extend %text-ellipsis !optional;
100+
@extend %text-ellipsis;
101101
}
102102
}
103103
}

_sass/pages/_post.scss

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
header {
1919
.post-desc {
20-
@extend %heading !optional;
20+
@extend %heading;
2121

2222
font-size: 1.125rem;
2323
line-height: 1.6;
@@ -30,7 +30,7 @@ header {
3030

3131
em,
3232
time {
33-
@extend %text-highlight !optional;
33+
@extend %text-highlight;
3434
}
3535

3636
em {
@@ -46,7 +46,7 @@ header {
4646
}
4747

4848
.post-tail-wrapper {
49-
@extend %text-sm !optional;
49+
@extend %text-sm;
5050

5151
margin-top: 6rem;
5252
border-bottom: 1px double var(--main-border-color);
@@ -55,20 +55,20 @@ header {
5555
line-height: 1.2rem;
5656

5757
> a {
58-
@extend %text-highlight !optional;
58+
@extend %text-highlight;
5959

6060
&:hover {
61-
@extend %link-hover !optional;
61+
@extend %link-hover;
6262
}
6363
}
6464

6565
span:last-child {
66-
@extend %text-sm !optional;
66+
@extend %text-sm;
6767
}
6868
} /* .license-wrapper */
6969

7070
.post-meta a:not(:hover) {
71-
@extend %link-underline !optional;
71+
@extend %link-underline;
7272
}
7373

7474
.share-wrapper {
@@ -88,17 +88,17 @@ header {
8888
i {
8989
color: var(--btn-share-color);
9090

91-
@extend %icon-size !optional;
91+
@extend %icon-size;
9292
}
9393

9494
> * {
95-
@extend %icon-size !optional;
95+
@extend %icon-size;
9696

9797
margin-left: 0.5rem;
9898

9999
&:hover {
100100
i {
101-
@extend %btn-share-hover !optional;
101+
@extend %btn-share-hover;
102102
}
103103
}
104104
}
@@ -108,7 +108,7 @@ header {
108108
border: none;
109109
line-height: inherit;
110110

111-
@extend %cursor-pointer !optional;
111+
@extend %cursor-pointer;
112112
}
113113
} /* .share-icons */
114114
} /* .share-wrapper */
@@ -143,9 +143,9 @@ header {
143143

144144
.post-tag {
145145
&:hover {
146-
@extend %link-hover !optional;
147-
@extend %tag-hover !optional;
148-
@extend %no-bottom-border !optional;
146+
@extend %link-hover;
147+
@extend %tag-hover;
148+
@extend %no-bottom-border;
149149
}
150150
}
151151
}
@@ -282,7 +282,7 @@ header {
282282
.toc-link {
283283
display: block;
284284

285-
@extend %text-ellipsis !optional;
285+
@extend %text-ellipsis;
286286

287287
&:hover {
288288
color: var(--toc-highlight);
@@ -349,14 +349,14 @@ header {
349349
border-bottom: 1px solid var(--main-border-color);
350350
transition: all 0.2s ease-in-out;
351351

352-
@extend %btn-color !optional;
352+
@extend %btn-color;
353353

354354
@include bp.xl {
355355
display: none !important;
356356
}
357357

358358
.label {
359-
@extend %heading !optional;
359+
@extend %heading;
360360

361361
margin-left: 0.375rem;
362362
padding: 0 0.75rem;
@@ -437,14 +437,14 @@ header {
437437
}
438438

439439
time {
440-
@extend %normal-font-style !optional;
441-
@extend %text-xs !optional;
440+
@extend %normal-font-style;
441+
@extend %text-xs;
442442

443443
color: var(--text-muted-color);
444444
}
445445

446446
p {
447-
@extend %text-ellipsis !optional;
447+
@extend %text-ellipsis;
448448

449449
font-size: 0.9rem;
450450
margin-bottom: 0.5rem;
@@ -456,7 +456,7 @@ header {
456456

457457
.card {
458458
h4 {
459-
@extend %text-clip !optional;
459+
@extend %text-clip;
460460
}
461461
}
462462
}

0 commit comments

Comments
 (0)