Skip to content

Commit

Permalink
Merge branch 'main' into add-copy-button
Browse files Browse the repository at this point in the history
  • Loading branch information
BernatBC authored Sep 9, 2024
2 parents 562c783 + aab2b39 commit 1cd97ca
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 84 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autoprefixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "15.x"
node-version: "20.x"

- name: Run autoprefixer
run: |
Expand Down
6 changes: 4 additions & 2 deletions assets/styles/components/cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
}

.card-img-top {
object-fit: cover;
-o-object-fit: cover;
object-fit: cover;
@include transition();
}

Expand Down Expand Up @@ -61,7 +62,8 @@
&:focus {
.card-img-top {
transform: scale(1.2);
object-fit: cover;
-o-object-fit: cover;
object-fit: cover;
@include transition();
}
}
Expand Down
6 changes: 4 additions & 2 deletions assets/styles/components/links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ a {

&:hover,
&:focus {
text-decoration: get-light-color('hover-over-accent-color') underline;
-webkit-text-decoration: get-light-color('hover-over-accent-color') underline;
text-decoration: get-light-color('hover-over-accent-color') underline;
color: get-light-color('hover-over-accent-color');
@include transition();
}
Expand Down Expand Up @@ -66,7 +67,8 @@ html[data-theme='dark'] {

&:hover,
&:focus {
text-decoration: get-dark-color('hover-over-accent-color') underline;
-webkit-text-decoration: get-dark-color('hover-over-accent-color') underline;
text-decoration: get-dark-color('hover-over-accent-color') underline;
color: get-dark-color('hover-over-accent-color');
}
}
Expand Down
4 changes: 4 additions & 0 deletions assets/styles/components/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ html[data-theme='dark'] {
}
}
.gist {
&::-moz-selection{
background: get-dark-color('text-color');
color: get-dark-color('inverse-text-color');
}
&::selection{
background: get-dark-color('text-color');
color: get-dark-color('inverse-text-color');
Expand Down
6 changes: 3 additions & 3 deletions assets/styles/layouts/list.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// in Hugo, Page kind can be either "section" or "page".
// if it is section, then it's a page with a list of items, for example /posts
// if it is page, then it is a single page.
/* in Hugo, Page kind can be either "section" or "page".*/
/* if it is section, then it's a page with a list of items, for example /posts*/
/* if it is page, then it is a single page.*/
body.kind-section,
body.kind-term,
body.kind-page {
Expand Down
1 change: 0 additions & 1 deletion assets/styles/layouts/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ body {
ol > ol,
li > ol,
li > ul {
-webkit-padding-start: 1rem;
padding-inline-start: 1rem;
}
}
Expand Down
6 changes: 4 additions & 2 deletions assets/styles/sections/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
@include transition();
&:hover {
margin-left: 5px;
text-decoration: get-light-color('muted-text-color') underline;
-webkit-text-decoration: get-light-color('muted-text-color') underline;
text-decoration: get-light-color('muted-text-color') underline;
@include transition();
}
}
Expand Down Expand Up @@ -79,7 +80,8 @@ html[data-theme='dark'] {
a {
color: get-dark-color('muted-text-color');
&:hover {
text-decoration: get-dark-color('muted-text-color') underline;
-webkit-text-decoration: get-dark-color('muted-text-color') underline;
text-decoration: get-dark-color('muted-text-color') underline;
}
}

Expand Down
3 changes: 0 additions & 3 deletions assets/styles/sections/pdf-viewer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,4 @@
@keyframes spin {
to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
to { -webkit-transform: rotate(360deg); }
}
}
144 changes: 74 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1cd97ca

Please sign in to comment.