Преглед на файлове

style: 更新背景色、字体、标题样式并展示完整博文

Co-authored-by: aider (deepseek/deepseek-chat) <aider@aider.chat>
Your Name преди 3 дни
родител
ревизия
a3c5d4ee3d
променени са 1 файла, в които са добавени 17 реда и са изтрити 2 реда
  1. 17 2
      static/css/style.css

+ 17 - 2
static/css/style.css

@@ -13,8 +13,8 @@ html {
 }
 
 body {
-    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
-    background-color: #f5f5f5;
+    font-family: "Courier New", Courier, monospace;
+    background-color: #fef7e8;
     color: #333;
     line-height: 1.6;
     min-height: 100vh;
@@ -73,6 +73,19 @@ body {
     flex-direction: column;
 }
 
+.card-body h1,
+.card-body h2,
+.card-body h3,
+.card-body h4,
+.card-body h5,
+.card-body h6 {
+    border-left: 5px solid #b22222;
+    padding-left: 0.75rem;
+    margin-left: 0;
+    margin-top: 1rem;
+    margin-bottom: 0.5rem;
+}
+
 .card-title {
     font-size: 1.25rem;
     font-weight: 700;
@@ -103,6 +116,8 @@ body {
     line-height: 1.6;
     flex: 1;
     margin-bottom: 1rem;
+    max-height: none;
+    overflow: visible;
 }
 
 .card-link {