Skip to content

Commit

Permalink
website: updagre text size (verdaccio#2363)
Browse files Browse the repository at this point in the history
* updagre text size

* try latest pnpm

* Update website.yml

* Update website.yml
  • Loading branch information
juanpicado authored Aug 12, 2021
1 parent 8a8f2b6 commit 2f03388
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ jobs:
number: ${{ github.event.issue.number }}
header: lighthouse
message: |
${{ steps.format_lighthouse_score.outputs.comment }}
${{ steps.format_lighthouse_score.outputs.comment }}
2 changes: 1 addition & 1 deletion website/src/components/FeatureCard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

p {
color: var(--p-color);
font-size: 0.875rem;
font-size: var(--font-size);
}
}

Expand Down
2 changes: 1 addition & 1 deletion website/src/css/_buttons.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.link {
font-weight: 600;
padding: 0.575rem;
font-size: 0.875rem;
font-size: var(--font-size);
width: 100%;
border-radius: 1rem;
text-decoration: none;
Expand Down
14 changes: 12 additions & 2 deletions website/src/css/_headers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ h3 {
font-size: var(--ifm-h3-font-size);
}

p {
p,
li,
a {
color: var(--p-color);
font-size: 0.875rem;
font-size: var(--font-size);
}

@media (min-width: 1000px) {
p,
li,
a {
font-size: var(--font-size-big);
}
}
4 changes: 2 additions & 2 deletions website/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
--twitter-color: #1595de;
--red: #cd4001;
--p-color: #5c5c5c;

--ifm-code-font-size: 95%;
--font-size: 0.875rem;
--font-size-big: calc(var(--font-size) * 1.2);
}

html[data-theme='dark']:root {
Expand Down

0 comments on commit 2f03388

Please sign in to comment.