diff --git a/src/app.html b/src/app.html
index 4729b90..663fbc4 100644
--- a/src/app.html
+++ b/src/app.html
@@ -6,7 +6,12 @@
-
+
%sveltekit.head%
diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte
index a08bab3..8d1f26e 100644
--- a/src/lib/Nav.svelte
+++ b/src/lib/Nav.svelte
@@ -17,11 +17,6 @@
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index f40d283..e523059 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -13,7 +13,7 @@
footer {
display: flex;
justify-content: space-between;
- border-top: 2px solid var(--border);
+ border-top: 2px solid var(--border-color);
color: var(--text);
margin-top: 30px;
margin-bottom: 30px;
diff --git a/static/css/styles.css b/static/css/styles.css
index a0a1988..c445a3f 100755
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -1,16 +1,16 @@
-/* theming */
:root {
--text: #ededed;
- --background: #1f2124;
+ --background: #1a1e22;
+ --primary: #133b6e;
+ --secondary: #3869b3;
+ --accent: #cc99ff;
+ --highlight: #cc99ff;
}
:root {
- --headings: var(--text);
- --link: var(--highlight);
- --border: #b5b5b5;
- --line: #ffffff;
- --link: #cc99ff;
- --link-hover: #ffffff;
+ --border-color: var(--accent);
+ --headings-color: var(--text);
+ --link-color: var(--highlight);
}
body {
@@ -25,19 +25,9 @@ body {
margin: 0 auto;
}
-h1,
-h2,
-h3,
-h4,
-h5 {
- font-weight: 700;
-}
-
-html {
- font-size: 100%;
-} /* 16px */
-
html {
+ min-height: 100%;
+ scroll-behavior: smooth;
font-size: 100%;
} /* 16px */
@@ -65,55 +55,52 @@ small {
font-size: 0.667rem; /* 10.72px */
}
-hr {
- background-color: var(--line);
-}
-
-/* layout */
-body {
- background-color: var(--background);
- line-height: 1.6;
-}
-
h1,
h2,
h3,
h4,
-h5 {
- color: var(--headings);
- line-height: 1.2;
+h5,
+h6 {
margin-top: 24px;
margin-bottom: 8px;
-
- color: var(--headings);
- font-weight: bold;
+ color: var(--headings-color);
line-height: 1.2;
- margin-top: 0;
- margin-bottom: 0.5rem;
+ font-weight: 700;
}
-header {
- padding-top: 4px;
- padding-bottom: 4px;
+p {
+ margin-top: 8px;
}
-a {
- text-decoration: none;
- color: var(--link);
- transition: color 0.1s linear;
+table {
+ margin-bottom: 1rem;
+ width: 100%;
+ border: 0 solid var(--border-color);
+ border-collapse: collapse;
}
-a:hover {
- color: var(--link-hover);
- text-decoration: none;
+td,
+th {
+ padding: 0.25rem 0.5rem;
+ border-color: inherit;
+ border-style: solid;
+ border-width: 1px;
+}
+
+th {
+ text-align: left;
+}
+
+thead th {
+ border-bottom-color: currentColor;
}
.container {
+ max-width: 800px;
width: 100%;
- padding-right: 15px;
- padding-left: 15px;
margin-right: auto;
margin-left: auto;
+ padding: 10px;
}
@media (min-width: 576px) {
@@ -140,18 +127,39 @@ a:hover {
}
}
-.link {
- text-decoration: none;
- transition: color 0.1s linear;
- padding: 4px 12px;
+hr {
+ background-color: var(--border-color);
}
-.link:hover {
- border-bottom: 2px solid var(--line);
+blockquote {
+ border-left: 4px solid var(--border-color);
+ margin-left: 0px;
+ padding-left: 10px;
+}
+
+a {
+ border-bottom: 2px solid transparent;
+ color: var(--link-color);
+ text-decoration: none;
+}
+
+a:hover {
+ border-bottom: 2px solid var(--link-color);
+ text-decoration: none;
}
main {
- margin-top: 20px;
+ color: var(--text);
+ font-size: 1rem;
+}
+
+main img {
+ max-width: 100%;
+}
+
+header {
+ padding-top: 4px;
+ padding-bottom: 4px;
}
section {
diff --git a/static/images/favicon.ico b/static/images/favicon.ico
deleted file mode 100755
index d5e84c7..0000000
Binary files a/static/images/favicon.ico and /dev/null differ
diff --git a/static/images/favicon.png b/static/images/favicon.png
new file mode 100644
index 0000000..9e4287d
Binary files /dev/null and b/static/images/favicon.png differ