Skip to content

Commit

Permalink
fix: some styles
Browse files Browse the repository at this point in the history
  • Loading branch information
moebiusmania committed Jun 22, 2024
1 parent e74ce20 commit 2e5ca41
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,15 @@ header {
flex-wrap: wrap;
font-size: 1rem;
line-height: 1.5rem;
gap: var(--sp-3);
justify-content: center;
@media (min-width: 768px) {
margin-left: auto;
}
&>a.navitem {
margin-right: var(--sp-3);
/* margin-right: var(--sp-3); */
color: var(--text-base-content);
&:hover {
Expand Down
4 changes: 4 additions & 0 deletions globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,8 @@ a {
padding-left: var(--sp-2);
border-left: 4px solid var(--primary);
}

& iframe.w-full {
width: 100%;
}
}
2 changes: 2 additions & 0 deletions pages/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ article {
}
& hr {
border: 0;
border-top: 1px solid rgb(229, 231, 235);
margin: var(--sp-4) 0;
}
Expand Down
1 change: 1 addition & 0 deletions pages/post/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ div {
}
&>hr {
border: 0;
border-top: 1px solid rgb(229, 231, 235);
margin: var(--sp-3) 0;
}
Expand Down

0 comments on commit 2e5ca41

Please sign in to comment.