0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

website: updagre text size (#2363)

* updagre text size

* try latest pnpm

* Update website.yml

* Update website.yml
This commit is contained in:
Juan Picado 2021-08-12 08:20:54 +02:00 committed by GitHub
parent 8a8f2b6774
commit 2f033888e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 7 deletions

View file

@ -145,4 +145,4 @@ jobs:
number: ${{ github.event.issue.number }} number: ${{ github.event.issue.number }}
header: lighthouse header: lighthouse
message: | message: |
${{ steps.format_lighthouse_score.outputs.comment }} ${{ steps.format_lighthouse_score.outputs.comment }}

View file

@ -22,7 +22,7 @@ .featureCard {
p { p {
color: var(--p-color); color: var(--p-color);
font-size: 0.875rem; font-size: var(--font-size);
} }
} }

View file

@ -1,7 +1,7 @@
.link { .link {
font-weight: 600; font-weight: 600;
padding: 0.575rem; padding: 0.575rem;
font-size: 0.875rem; font-size: var(--font-size);
width: 100%; width: 100%;
border-radius: 1rem; border-radius: 1rem;
text-decoration: none; text-decoration: none;

View file

@ -15,7 +15,17 @@ h3 {
font-size: var(--ifm-h3-font-size); font-size: var(--ifm-h3-font-size);
} }
p { p,
li,
a {
color: var(--p-color); 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);
}
} }

View file

@ -20,8 +20,8 @@ :root {
--twitter-color: #1595de; --twitter-color: #1595de;
--red: #cd4001; --red: #cd4001;
--p-color: #5c5c5c; --p-color: #5c5c5c;
--font-size: 0.875rem;
--ifm-code-font-size: 95%; --font-size-big: calc(var(--font-size) * 1.2);
} }
html[data-theme='dark']:root { html[data-theme='dark']:root {