Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
baku89 committed Jun 13, 2024
1 parent 34db122 commit 61c00ba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default defineUserConfig({
'link',
{rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: true},
],
['link', {rel: 'stylesheet', href: 'https://use.typekit.net/xhr6teg.css'}],
[
'link',
{
Expand Down
18 changes: 13 additions & 5 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
--c-border-dark: var(--c-border);
--code-bg-color: black;
--code-ln-color: white;
--font-family: 'Work Sans', 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 @@ -39,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 @@ -102,7 +102,7 @@ h6 {
height: 1.4em;
background: currentColor;
margin-bottom: 0.2em;
mask: url('/linearly/github-mark.svg') no-repeat;
mask: url('./github-mark.svg') no-repeat;
mask-size: 100% 100%;
vertical-align: middle;
}
Expand Down Expand Up @@ -177,13 +177,15 @@ main {
// List
li {
list-style: none;
margin-bottom: 0.5em;

&:before {
content: '';
color: var(--c-text-quote);
display: inline-block;
width: 1em;
margin-left: -1em;
margin-right: 0.2em;
}
}
}
Expand All @@ -205,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 61c00ba

Please sign in to comment.