From 8d934059f8d56d3d304cb9575c907654bf03b3ea Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Wed, 24 Nov 2021 11:10:12 -0800 Subject: move styles to src (#2003) --- .../src/components/MainHead.astro | 2 +- .../blog-multiple-authors/src/styles/global.css | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 examples/blog-multiple-authors/src/styles/global.css (limited to 'examples/blog-multiple-authors/src') diff --git a/examples/blog-multiple-authors/src/components/MainHead.astro b/examples/blog-multiple-authors/src/components/MainHead.astro index c780d24c3..0bf1ec4b0 100644 --- a/examples/blog-multiple-authors/src/components/MainHead.astro +++ b/examples/blog-multiple-authors/src/components/MainHead.astro @@ -18,7 +18,7 @@ const { title, description, image, type, next, prev, canonicalURL } = Astro.prop - + diff --git a/examples/blog-multiple-authors/src/styles/global.css b/examples/blog-multiple-authors/src/styles/global.css new file mode 100644 index 000000000..d5891f6b4 --- /dev/null +++ b/examples/blog-multiple-authors/src/styles/global.css @@ -0,0 +1,25 @@ +body { + font-family: 'Spectral', serif; + line-height: 1.4; +} + +p { + line-height: 2; +} + +a { + color: crimson; +} + +img { + max-width: 100%; + height: auto; +} + +.wrapper { + max-width: 60rem; + margin-left: auto; + margin-right: auto; + padding-left: 2rem; + padding-right: 2rem; +} -- cgit v1.2.3