aboutsummaryrefslogtreecommitdiffstats
path: root/src/layouts/Layout.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Layout.astro')
-rw-r--r--src/layouts/Layout.astro97
1 files changed, 97 insertions, 0 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
new file mode 100644
index 0000000..827dc43
--- /dev/null
+++ b/src/layouts/Layout.astro
@@ -0,0 +1,97 @@
+---
+interface Props {
+ title: string;
+}
+
+const { title } = Astro.props;
+---
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="description" content="Astro description" />
+ <meta name="viewport" content="width=device-width" />
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
+ <link rel="stylesheet" href="style.css" />
+ <meta name="generator" content={Astro.generator} />
+ <title>{title}</title>
+ </head>
+ <body>
+ <slot />
+ </body>
+</html>
+<style is:global>
+/*
+ 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: 85ch;
+ text-align: left;
+ background-color: #1A1A1A;
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ line-height: 1.65;
+ color: #f0f0f0;
+}
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+strong,
+b {
+ color: #ffffff;
+}
+a {
+ color: #4ca6ff;
+}
+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%;
+ height: auto;
+}
+code {
+ padding: 2px 5px;
+ background-color: #646464;
+}
+td,th {
+ border: 1px solid white;
+ padding: 8px;
+ }
+pre {
+ padding: 1rem;
+}
+pre > code {
+ all: unset;
+}
+blockquote {
+ border: 1px solid #666;
+ color: #ccc;
+ padding: 10px 20px;
+ margin: 0;
+ font-style: italic;
+ }
+
+</style>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage