Skip to content

Commit

Permalink
fix: revert, and change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 committed Jan 27, 2025
1 parent 2dd0315 commit 6efe93f
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/starter/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/configure-pages@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@v1.214.0
with:
ruby-version: 3.3
bundler-cache: true
Expand Down
18 changes: 9 additions & 9 deletions _sass/base/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
}

.highlight {
@extend %rounded !optional;
@extend %code-snippet-bg !optional;
@extend %rounded;
@extend %code-snippet-bg;

overflow: auto;
padding-bottom: 0.75rem;

@at-root figure#{&} {
@extend %code-snippet-bg !optional;
@extend %code-snippet-bg;
}

pre {
Expand Down Expand Up @@ -93,7 +93,7 @@ code {
}

td.rouge-code {
@extend %code-snippet-padding !optional;
@extend %code-snippet-padding;

/*
Prevent some browser extends from
Expand All @@ -107,8 +107,8 @@ td.rouge-code {
}

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

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

Expand Down Expand Up @@ -175,7 +175,7 @@ div {
}

.code-header {
@extend %no-cursor !optional;
@extend %no-cursor;

display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -215,8 +215,8 @@ div {

/* clipboard */
button {
@extend %cursor-pointer !optional;
@extend %rounded !optional;
@extend %cursor-pointer;
@extend %rounded;

border: 1px solid transparent;
height: v.$code-header-height;
Expand Down
8 changes: 4 additions & 4 deletions _sass/pages/_archives.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
margin-left: -$timeline-width;

&::before {
@extend %timeline !optional;
@extend %timeline;

height: 72px;
left: 79px;
bottom: 16px;
}

&:first-child::before {
@extend %timeline !optional;
@extend %timeline;

height: 32px;
top: 24px;
Expand Down Expand Up @@ -66,7 +66,7 @@
font-size: 1.1rem;
line-height: 3rem;

@extend %text-ellipsis !optional;
@extend %text-ellipsis;

&:nth-child(odd) {
background-color: var(--main-bg, #ffffff);
Expand All @@ -81,7 +81,7 @@
}

&::before {
@extend %timeline !optional;
@extend %timeline;

top: 0;
left: 77px;
Expand Down
2 changes: 1 addition & 1 deletion _sass/pages/_categories.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

&.card,
.list-group {
@extend %rounded !optional;
@extend %rounded;
}

.card-header {
Expand Down
4 changes: 2 additions & 2 deletions _sass/pages/_category-tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

/* post's title */
> a {
@extend %no-bottom-border !optional;
@extend %no-bottom-border;

font-size: 1.1rem;

Expand All @@ -56,7 +56,7 @@
#page-tag,
#access-lastmod {
a:hover {
@extend %link-hover !optional;
@extend %link-hover;

margin-bottom: -1px; /* Avoid jumping */
}
Expand Down
12 changes: 6 additions & 6 deletions _sass/pages/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
}

.preview-img {
@extend %img-radius !optional;
@extend %img-radius;

img {
@extend %img-radius !optional;
@extend %img-radius;
}
}

Expand All @@ -48,7 +48,7 @@
}

.card-title {
@extend %text-clip !optional;
@extend %text-clip;

color: var(--heading-color) !important;
font-size: 1.25rem;
Expand Down Expand Up @@ -76,7 +76,7 @@
}

.post-meta {
@extend %muted !optional;
@extend %muted;

i {
&:not(:first-child) {
Expand All @@ -89,15 +89,15 @@
}

em {
@extend %normal-font-style !optional;
@extend %normal-font-style;

color: inherit;
}

> div:first-child {
display: block;

@extend %text-ellipsis !optional;
@extend %text-ellipsis;
}
}
}
Expand Down
42 changes: 21 additions & 21 deletions _sass/pages/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

header {
.post-desc {
@extend %heading !optional;
@extend %heading;

font-size: 1.125rem;
line-height: 1.6;
Expand All @@ -30,7 +30,7 @@ header {

em,
time {
@extend %text-highlight !optional;
@extend %text-highlight;
}

em {
Expand All @@ -46,7 +46,7 @@ header {
}

.post-tail-wrapper {
@extend %text-sm !optional;
@extend %text-sm;

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

> a {
@extend %text-highlight !optional;
@extend %text-highlight;

&:hover {
@extend %link-hover !optional;
@extend %link-hover;
}
}

span:last-child {
@extend %text-sm !optional;
@extend %text-sm;
}
} /* .license-wrapper */

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

.share-wrapper {
Expand All @@ -88,17 +88,17 @@ header {
i {
color: var(--btn-share-color);

@extend %icon-size !optional;
@extend %icon-size;
}

> * {
@extend %icon-size !optional;
@extend %icon-size;

margin-left: 0.5rem;

&:hover {
i {
@extend %btn-share-hover !optional;
@extend %btn-share-hover;
}
}
}
Expand All @@ -108,7 +108,7 @@ header {
border: none;
line-height: inherit;

@extend %cursor-pointer !optional;
@extend %cursor-pointer;
}
} /* .share-icons */
} /* .share-wrapper */
Expand Down Expand Up @@ -143,9 +143,9 @@ header {

.post-tag {
&:hover {
@extend %link-hover !optional;
@extend %tag-hover !optional;
@extend %no-bottom-border !optional;
@extend %link-hover;
@extend %tag-hover;
@extend %no-bottom-border;
}
}
}
Expand Down Expand Up @@ -282,7 +282,7 @@ header {
.toc-link {
display: block;

@extend %text-ellipsis !optional;
@extend %text-ellipsis;

&:hover {
color: var(--toc-highlight);
Expand Down Expand Up @@ -349,14 +349,14 @@ header {
border-bottom: 1px solid var(--main-border-color);
transition: all 0.2s ease-in-out;

@extend %btn-color !optional;
@extend %btn-color;

@include bp.xl {
display: none !important;
}

.label {
@extend %heading !optional;
@extend %heading;

margin-left: 0.375rem;
padding: 0 0.75rem;
Expand Down Expand Up @@ -437,14 +437,14 @@ header {
}

time {
@extend %normal-font-style !optional;
@extend %text-xs !optional;
@extend %normal-font-style;
@extend %text-xs;

color: var(--text-muted-color);
}

p {
@extend %text-ellipsis !optional;
@extend %text-ellipsis;

font-size: 0.9rem;
margin-bottom: 0.5rem;
Expand All @@ -456,7 +456,7 @@ header {

.card {
h4 {
@extend %text-clip !optional;
@extend %text-clip;
}
}
}
Expand Down

0 comments on commit 6efe93f

Please sign in to comment.