Browse Source

style(simple-demo): 增强 memos 页面的视觉效果

- 为 strong 元素添加更粗的字体和内边距,提升加粗效果
- 保留原有的字体设置和重要性规则
tianyun 5 months ago
parent
commit
c4a6837fd2
1 changed files with 5 additions and 1 deletions
  1. 5 1
      simple-demo/memos.css

+ 5 - 1
simple-demo/memos.css

@@ -1,7 +1,11 @@
 body {
   font-family: Lyon-Text, Georgia, "Songti SC", SimSun, serif;
 }
-
+/* 增强加粗、颜色、背景等 */
+strong {
+  font-weight: 900; /* 更粗的字体(如果有可用字重) */
+  padding: 1px; /* 增加内边距 */
+}
 .vditor-reset {
   font-family: Lyon-Text, Georgia, "Songti SC", SimSun, serif !important;
   padding: 10px 30px !important;