summaryrefslogtreecommitdiff
path: root/www/src
diff options
context:
space:
mode:
authorGravatar Nate Moore <nate@skypack.dev> 2021-06-08 14:14:47 -0500
committerGravatar Nate Moore <nate@skypack.dev> 2021-06-08 14:14:52 -0500
commitde5fc1de200fe0981d1c87e1fe31d54a437f01ed (patch)
tree5b07f84781db8efb0941fd09d93013c57298c706 /www/src
parentc269c0f23cac85e83cb83c968870d9246fe013f2 (diff)
downloadastro-de5fc1de200fe0981d1c87e1fe31d54a437f01ed.tar.gz
astro-de5fc1de200fe0981d1c87e1fe31d54a437f01ed.tar.zst
astro-de5fc1de200fe0981d1c87e1fe31d54a437f01ed.zip
feat: fix www styles
Diffstat (limited to 'www/src')
-rw-r--r--www/src/components/BlogHeader.astro2
-rw-r--r--www/src/components/BlogPost.astro1
-rw-r--r--www/src/pages/blog/index.astro2
-rw-r--r--www/src/pages/blog/introducing-astro.astro4
4 files changed, 4 insertions, 5 deletions
diff --git a/www/src/components/BlogHeader.astro b/www/src/components/BlogHeader.astro
index 75130722f..40d030a4c 100644
--- a/www/src/components/BlogHeader.astro
+++ b/www/src/components/BlogHeader.astro
@@ -41,7 +41,7 @@
header {
padding-top: 1rem;
padding-bottom: 1rem;
- height: 4.5rem;
+ height: 5rem;
}
article {
display: flex;
diff --git a/www/src/components/BlogPost.astro b/www/src/components/BlogPost.astro
index 56b1f5ebc..0f43f00d9 100644
--- a/www/src/components/BlogPost.astro
+++ b/www/src/components/BlogPost.astro
@@ -33,7 +33,6 @@ export let heroImage: string;
margin-bottom: 4rem;
}
.content {
- margin-top: 2rem;
margin-bottom: 8rem;
}
diff --git a/www/src/pages/blog/index.astro b/www/src/pages/blog/index.astro
index c46b1ade9..8eafa927a 100644
--- a/www/src/pages/blog/index.astro
+++ b/www/src/pages/blog/index.astro
@@ -11,7 +11,7 @@ let permalink = 'https://astro.build/blog';
<html>
<head>
<BaseHead title={title} description={description} permalink={permalink} />
- <link rel="stylesheet" href="/blog/index.css" />
+ <link rel="stylesheet" href="/blog.css" />
<style>
body {
diff --git a/www/src/pages/blog/introducing-astro.astro b/www/src/pages/blog/introducing-astro.astro
index 1f24c93dc..3c5d7f39e 100644
--- a/www/src/pages/blog/introducing-astro.astro
+++ b/www/src/pages/blog/introducing-astro.astro
@@ -11,14 +11,14 @@ let title = 'Introducing Astro: Ship Less JavaScript';
let description = `We're excited to announce Astro as a new way to build static websites and deliver lightning-fast performance without sacrificing a modern developer experience.`;
let publishDate = 'Tuesday, June 8 2021';
let author = 'fred';
-let heroImage = '/assets/blog/introducing-astro.jpg';
+let heroImage = '/social.png';
let permalink = 'https://astro.build/blog/introducing-astro';
---
<html>
<head>
<BaseHead title={title} description={description} permalink={permalink} />
- <link rel="stylesheet" href="/blog/index.css" />
+ <link rel="stylesheet" href="/blog.css" />
</head>
<body>