diff --git a/package.json b/package.json index 0fe97da..fd61bc9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.34", + "version": "0.2.0-pre.35", "private": true, "scripts": { "dev": "astro dev", diff --git a/src/components/cards/blogCard.astro b/src/components/cards/blogCard.astro index 1838ed5..f6fd8e8 100644 --- a/src/components/cards/blogCard.astro +++ b/src/components/cards/blogCard.astro @@ -72,9 +72,14 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date) padding: 10px; text-align: center; min-height: 100%; + border: 2px solid var(--c-primary-background); border-radius: 1.25rem; } + a:hover article { + border-color: var(--c-accent-1); + } + @media (min-width: 900px) { .circle { margin: 1rem 0.5rem 1rem 0.5rem; @@ -98,15 +103,8 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date) margin-right: 4px; } - a:hover article { - border-color: var(--c-accent-1); - transform: none; - } - article { - border-style: solid; - border-width: 2px; - border-color: var(--c-primary-background); + border: 2px solid var(--c-primary-background); align-items: flex-start; align-content: flex-start; margin-left: 0.5rem; diff --git a/src/components/cards/favouriteCard.astro b/src/components/cards/favouriteCard.astro index cae92ee..6421c67 100644 --- a/src/components/cards/favouriteCard.astro +++ b/src/components/cards/favouriteCard.astro @@ -41,7 +41,7 @@ const loadedImage = plsLoadImage(images, imagePath) color: var(--c-primary-text); max-width: 200px; padding-bottom: 0.3rem; - font-weight: bold; + font-weight: 500; margin: 0px; justify-content: center; align-items: center; @@ -88,7 +88,7 @@ const loadedImage = plsLoadImage(images, imagePath) .subtext { color: var(--c-primary-text); font-size: 16px; - font-weight: 600; + font-weight: 400; margin: 0.5rem; line-height: 20px; } diff --git a/src/components/cards/taCard.astro b/src/components/cards/taCard.astro index fe9103f..70ff6b3 100644 --- a/src/components/cards/taCard.astro +++ b/src/components/cards/taCard.astro @@ -131,7 +131,7 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none' color: var(--c-primary-text); font-size: 1rem; font-weight: 400; - margin: 0.5rem 0px 0.25rem 0px; + margin: 0.5rem 0px 0.625rem 0px; } .expand-on-hover { @@ -147,7 +147,7 @@ const hasuser = user !== undefined ? 'display: flex' : 'display: none' transform: scaleY(0); transform-origin: top; position: absolute; - top: 90%; + top: 87.5%; padding-top: 0.5rem; margin-top: 0.2rem; color: var(--c-primary-text); diff --git a/src/components/titles/title.astro b/src/components/titles/title.astro index 692e20d..022634a 100644 --- a/src/components/titles/title.astro +++ b/src/components/titles/title.astro @@ -36,7 +36,7 @@ .sub { font-size: 1rem; - font-weight: 500; + font-weight: 400; font-family: 'Work Sans Variable', sans-serif; } diff --git a/src/layouts/baseSection.astro b/src/layouts/baseSection.astro index ae4c638..9c0cf34 100644 --- a/src/layouts/baseSection.astro +++ b/src/layouts/baseSection.astro @@ -35,16 +35,24 @@ const { title } = Astro.props line-height: 48px; letter-spacing: -1px; color: var(--c-primary-text); - margin-top: 2rem; margin-bottom: 0px; margin-left: auto; margin-right: auto; padding: 0.25rem 1.5rem; border-radius: 0.5rem; max-width: max-content; - background-color: var(--c-primary-background); padding-bottom: 0.5rem; } + + h1:after { + content:' '; + display: block; + width: 62.5%; + margin: auto; + border: 2px solid var(--c-accent-1); + box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05); + } + @media (min-width: 512px) { div { row-gap: 1.5em; diff --git a/src/layouts/blogPost.astro b/src/layouts/blogPost.astro index 6d1fa03..2ea4f32 100644 --- a/src/layouts/blogPost.astro +++ b/src/layouts/blogPost.astro @@ -19,90 +19,12 @@ const subtext = `Written by ${frontmatter.author} • Published on ${date}` -
-
- -
-
+
+ +