Skip to content

Commit

Permalink
feat: enhanced consistency in CSS theming and layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Jun 11, 2024
1 parent f30fd56 commit 90b8bf2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
--ifm-heading-font-weight: 500;
--ifm-font-weight-bold: 520;
--ifm-border-color: #e5e7eb;
--ifm-toc-border-color: var(--ifm-border-color);

--content-background: #fdfdfd;

Expand All @@ -63,6 +64,7 @@
--ifm-text-color: var(--ifm-menu-color);
--ifm-secondary-text-color: #eee;
--ifm-border-color: #313131;
--ifm-toc-border-color: var(--ifm-border-color);

--content-background: #18181b;
--blog-item-background-color: linear-gradient(180deg, #171717, #18181b);
Expand Down
2 changes: 2 additions & 0 deletions src/pages/project/_components/ShowcaseCard/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ html[data-theme='dark'] .showcaseCardSrcBtn:hover {
.cardFooter {
display: flex;
flex-wrap: wrap;

margin: 0;
}

.tag {
Expand Down
2 changes: 1 addition & 1 deletion src/theme/BlogPostItem/Container/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ html[data-theme='dark'] {

.article {
position: relative;
padding: 1em 1.25em 0.75em;
@apply px-4 pt-4 pb-3 lg:px-6;
/* border: 1px solid var(--border-color); */
}

Expand Down

0 comments on commit 90b8bf2

Please sign in to comment.