From d54588c7a4adfa05969713111d36673f3a9b988e Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Sat, 13 Aug 2022 00:09:40 -0700 Subject: Update: blog template (#4283) * add new blog template * update placeholder images * use svg favicon * Update examples/blog/src/pages/blog/using-mdx.mdx Co-authored-by: Sarah Rainsberger * fred pass * more fred pass Co-authored-by: Nate Moore Co-authored-by: Sarah Rainsberger --- examples/blog/src/styles/global.css | 66 +++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 examples/blog/src/styles/global.css (limited to 'examples/blog/src/styles/global.css') diff --git a/examples/blog/src/styles/global.css b/examples/blog/src/styles/global.css new file mode 100644 index 000000000..0f544009d --- /dev/null +++ b/examples/blog/src/styles/global.css @@ -0,0 +1,66 @@ +/* + The CSS in this style tag is based off of Bear Blog's default CSS. + https://github.com/HermanMartinus/bearblog/blob/297026a877bc2ab2b3bdfbd6b9f7961c350917dd/templates/styles/blog/default.css + License MIT: https://github.com/HermanMartinus/bearblog/blob/master/LICENSE.md + */ +body { + font-family: Verdana, sans-serif; + margin: auto; + padding: 20px; + max-width: 65ch; + text-align: left; + background-color: #fff; + word-wrap: break-word; + overflow-wrap: break-word; + line-height: 1.5; + color: #444; +} +h1, +h2, +h3, +h4, +h5, +h6, +strong, +b { + color: #222; +} +a { + color: #3273dc; +} +nav a { + margin-right: 10px; +} +textarea { + width: 100%; + font-size: 16px; +} +input { + font-size: 16px; +} +content { + line-height: 1.6; +} +table { + width: 100%; +} +img { + max-width: 100%; +} +code { + padding: 2px 5px; + background-color: #f2f2f2; +} +pre { + padding: 1rem; +} +pre > code { + all: unset; +} +blockquote { + border: 1px solid #999; + color: #222; + padding: 2px 0px 2px 20px; + margin: 0px; + font-style: italic; +} -- cgit v1.2.3