Skip to content

Commit

Permalink
Fix a few styles, add agenc link
Browse files Browse the repository at this point in the history
  • Loading branch information
xypnox committed Jul 28, 2024
1 parent bac9c2f commit aac489e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/components/themeManager/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ const ManagerWrapper = styled('div')`
const Button = styled('button')`
padding: 0.5rem 1rem;
border-radius: ${theme.border.radius};
font-size: ${theme.font.size.base};
border: 1px solid transparent;
background: ${theme.surface};
color: ${theme.text};
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/MainLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ const props = Astro.props;
sans-serif;
color: var(--text);
background-color: var(--background);
font-size: var(--font-size-base);
min-height: 100vh;
scroll-behavior: smooth;
}

body {
margin: 0;
padding: 1rem;
font-size: var(--font-size-base);
min-height: 100vh;
}

Expand Down
5 changes: 3 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ import LatestBlog from "../components/latestBlog.astro";
color="var(--colors-dev)"
links={[
{ title: "Projects", href: "/projects/", desc: "Software I have worked on" },
{ title: "agenc", href: "https://agenc.xyp.one", desc: "A system for online services" },
{ title: "Tools", href: "/tools/", desc: "A collection of utilities" },
{ title: "Experiments", href: "https://xypnox.studio", desc: "A place to experiment with frontend" },
{ title: "Github", href: "https://github.com/xypnox", desc: "Repositories and open code" },
// { title: "Experiments", href: "https://xypnox.studio", desc: "A place to experiment with frontend" },
{ title: "Repositories", href: "https://github.com/xypnox?tab=repositories", desc: "Repositories and open code" },
{ title: "dotfiles", href: "https://github.com/xypnox/dotfiles", desc: "Configuration files for system" },
]}
>
Expand Down
14 changes: 11 additions & 3 deletions src/styles/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@ html {
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
margin-block-end: 0;
}

Expand All @@ -30,7 +38,7 @@ h3,
h4,
h5,
h6 {
margin: 1rem 0;
margin: 1em 0;
}

h1,
Expand Down

0 comments on commit aac489e

Please sign in to comment.