Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
baku89 committed Apr 4, 2024
1 parent a8e9c32 commit 2933efd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
9 changes: 1 addition & 8 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,8 @@ export default defineUserConfig({
'link',
{rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: true},
],
[
'link',
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap',
crossorigin: 'anonymous',
},
],
['link', {rel: 'icon', href: '/logo.svg'}],
['link', {rel: 'stylesheet', href: 'https://use.typekit.net/xhr6teg.css'}],
[
'link',
{
Expand Down
16 changes: 11 additions & 5 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
--c-border-dark: var(--c-border);
--code-bg-color: black;
--code-ln-color: white;
--font-family: 'Work Sans', '游ゴシック体', YuGothic, '游ゴシック',
'Yu Gothic', sans-serif;
--font-family: 'aktiv-grotesk', '游ゴシック体', YuGothic, '游ゴシック',
'Yu Gothic', 'Hiragino Kaku Gothic ProN', Osaka, sans-serif;
--font-family-code: 'IBM Plex Mono', monospace;

--border-radius: 6px;
Expand Down Expand Up @@ -40,9 +40,8 @@ h6 {
font-weight: 500;
}

#main-title,
.site-name {
letter-spacing: -0.06em;
h3 {
font-size: 1.15em;
}

.theme-default-content {
Expand Down Expand Up @@ -186,6 +185,7 @@ main {
display: inline-block;
width: 1em;
margin-left: -1em;
margin-right: 0.2em;
}
}
}
Expand All @@ -207,9 +207,15 @@ main {
font-weight: 500;
}

.sidebar-item:not(.sidebar-heading) {
padding-left: 1.25rem;
}

// Code
code {
border-radius: var(--border-radius);
padding: 0.25em;
background: transparent;
}

p strong code {
Expand Down

0 comments on commit 2933efd

Please sign in to comment.