aboutsummaryrefslogtreecommitdiffstats
path: root/static/css/blog.css
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-08-05 21:11:48 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-08-05 21:11:48 +0100
commit18cc5f69129615850e48a995f7c3406b74d8d2f4 (patch)
tree1fdc6eadae4b0a6da69319f9b6733379ced2e4c2 /static/css/blog.css
parent64c36dcef8ab1c0b985d79da627cecd30fd50336 (diff)
Redesign website
Diffstat (limited to 'static/css/blog.css')
-rw-r--r--static/css/blog.css63
1 files changed, 63 insertions, 0 deletions
diff --git a/static/css/blog.css b/static/css/blog.css
new file mode 100644
index 0000000..2b52dff
--- /dev/null
+++ b/static/css/blog.css
@@ -0,0 +1,63 @@
+#title {
+ margin: 0 0 3rem 0;
+}
+
+#title > h1 {
+ margin-bottom: 0.4rem;
+}
+
+figure {
+ text-align: center;
+ font-style: italic;
+ font-size: 0.8rem;
+}
+
+figure img {
+ max-width: 100%;
+ border-radius: 10px;
+}
+
+.blog-post, .blog-post-header {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+}
+
+.blog-post-title {
+ flex-grow: 1;
+}
+
+.blog-post {
+ padding: 0.2rem 0;
+}
+
+.blog-post-header {
+ padding: 0.5rem 0;
+ color: var(--color-text-muted);
+}
+
+.blog-post-header, .blog-post:last-of-type {
+ border-bottom: 1px dotted var(--color-text-muted);
+}
+
+#content {
+ position: relative;
+}
+
+#back-header {
+ position: relative;
+ font-size: 1rem;
+ top: -2rem;
+ font-family: var(--font-monospace);
+ width: 700px;
+}
+
+#back-container {
+ position: absolute;
+ height: 0;
+ width: 0;
+}
+
+#back-footer {
+ margin-top: 4rem;
+}