Update css
This commit is contained in:
parent
18ad462281
commit
4b2562379e
7 changed files with 67 additions and 69 deletions
|
@ -44,8 +44,10 @@ const { page, title = page, description } = Astro.props
|
|||
<title>Henry Hiles - {page}</title>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<Nav />
|
||||
<slot />
|
||||
<Top />
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -11,9 +11,7 @@ import "../styles/Home.css"
|
|||
title="Henry Hiles"
|
||||
description="Full Stack Web Developer and Discord Bot Developer"
|
||||
>
|
||||
<main>
|
||||
<Jumbo />
|
||||
<Portfolio />
|
||||
<About />
|
||||
</main>
|
||||
</Layout>
|
||||
|
|
|
@ -17,7 +17,6 @@ if (project == null) return
|
|||
---
|
||||
|
||||
<Layout page={project.name} description={project.description}>
|
||||
<main>
|
||||
<section id={styles.jumbo}>
|
||||
<h1 class={styles.title}>{project.name}</h1>
|
||||
<Divider />
|
||||
|
@ -49,10 +48,7 @@ if (project == null) return
|
|||
}
|
||||
{
|
||||
project.customLink && (
|
||||
<ButtonLink
|
||||
href={project.customLink.link}
|
||||
newTab
|
||||
>
|
||||
<ButtonLink href={project.customLink.link} newTab>
|
||||
{project.customLink.name}
|
||||
</ButtonLink>
|
||||
)
|
||||
|
@ -68,5 +64,4 @@ if (project == null) return
|
|||
/>
|
||||
</article>
|
||||
</section>
|
||||
</main>
|
||||
</Layout>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
main > section {
|
||||
min-height: 80vh;
|
||||
}
|
||||
|
||||
main > section > :is(h1, h2) {
|
||||
font-size: 2.5rem;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
main > section {
|
||||
min-height: 80vh;
|
||||
}
|
||||
|
|
|
@ -34,23 +34,29 @@ img {
|
|||
|
||||
main {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
gap: 3rem;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding-bottom: 10em;
|
||||
}
|
||||
|
||||
main > section {
|
||||
scroll-margin-top: 9rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 1rem;
|
||||
background: rgb(0 0 0 / 0.3);
|
||||
padding: 2rem;
|
||||
width: 90%;
|
||||
scroll-margin: 1rem;
|
||||
transition: scale 0.2s;
|
||||
}
|
||||
|
||||
main > section:hover {
|
||||
scale: 1.03;
|
||||
}
|
||||
|
||||
@media (min-width: 500px) {
|
||||
main > section {
|
||||
scroll-margin: 6rem;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
.nav {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-weight: bold;
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
main {
|
||||
padding: 2em 0;
|
||||
}
|
||||
|
||||
.overview {
|
||||
width: 100%;
|
||||
padding: 20px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue