diff --git a/source/pages/index.astro b/source/pages/index.astro index 230deb4..5b48897 100644 --- a/source/pages/index.astro +++ b/source/pages/index.astro @@ -1,5 +1,6 @@ --- import BaseLayout, {type Props as BaseProps} from "../layouts/base.astro"; +import "../scss/index.scss"; const props: BaseProps = { frontmatter: { @@ -9,5 +10,31 @@ const props: BaseProps = { --- -

driftingnebula

+ + +
+ +
diff --git a/source/public/driftingnebula-logo-shadowed.png b/source/public/driftingnebula-logo-shadowed.png new file mode 100755 index 0000000..c292426 Binary files /dev/null and b/source/public/driftingnebula-logo-shadowed.png differ diff --git a/source/public/driftingnebula-shadowed.png b/source/public/driftingnebula-shadowed.png new file mode 100755 index 0000000..bba7a4c Binary files /dev/null and b/source/public/driftingnebula-shadowed.png differ diff --git a/source/scss/index.scss b/source/scss/index.scss new file mode 100644 index 0000000..151e76e --- /dev/null +++ b/source/scss/index.scss @@ -0,0 +1,88 @@ +body { + --spacing-1: 4px; + --spacing-2: 8px; + --spacing-3: 16px; + + background-color: black; + color: white; +} + +.page-header { + align-items: center; + background: center url("/interlinked/numbered/12.png"); + background-size: cover; + display: flex; + justify-content: center; + min-height: 400px; + height: 50vh; + padding: var(--spacing-3); + + h1 { + display: flex; + } + + img { + height: 10rem; + + &.big { + display: unset; + } + + &.small { + display: none; + } + + @media (width <= 600px) { + &.big { + display: none; + } + + &.small { + display: unset; + } + } + } +} + +.project { + align-items: center; + background-color: #303030; + display: flex; + min-height: 400px; + height: 50vh; + padding: var(--spacing-3); + + &[data-project-name="interlinked"] { + background: center url("/interlinked/numbered/15.png"); + background-size: cover; + } + + a { + background-color: #220575; + border: 1px solid black; + display: block; + padding: var(--spacing-3); + text-decoration: none; + } + + h2, + p { + color: white; + text-shadow: 2px 2px 2px black; + } + + .border-wrap { + background: conic-gradient(#ca0600, #7b68c1, #ad8f1e, #ca0600); + border: 1px solid black; + padding: var(--spacing-1); + + &:hover { + background: white; + border-color: white; + + a { + border-color: white; + } + } + } +}