From 03a1b17b9dea3a81e9610e961b99b2465c4e7c57 Mon Sep 17 00:00:00 2001 From: Doge Date: Mon, 10 May 2021 00:33:00 +0800 Subject: Fix incorrect position --- layout/post.ejs | 4 ++-- source/css/style.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layout/post.ejs b/layout/post.ejs index 4a9b2f1..4b16008 100644 --- a/layout/post.ejs +++ b/layout/post.ejs @@ -1,6 +1,6 @@
-
+
<% if (page.thumbnail) { %>
@@ -12,7 +12,7 @@
<% } %> -
+

<%= page.title %>

diff --git a/source/css/style.css b/source/css/style.css index 2c54268..73dd579 100644 --- a/source/css/style.css +++ b/source/css/style.css @@ -19,7 +19,7 @@ pre { padding-top: 0px !important; } .post-card { - padding: 0 0 0 0 !important; + margin: 0 0 0 0 !important; } } @@ -28,7 +28,7 @@ pre { } .post-card { - padding: 0 1rem 1rem 1rem; + margin: 0 1rem 0rem 1rem; } .navbar-brand .navbar-item:hover { -- cgit v1.2.3