浏览代码

Preview with draft background added to all themes

master
Dirk Alders 2 个月前
父节点
当前提交
83b0297d43
共有 3 个文件被更改,包括 33 次插入0 次删除
  1. 11
    0
      templates/themes/clear-digits/base.css
  2. 11
    0
      templates/themes/clear-green/base.css
  3. 11
    0
      templates/themes/clear-red/base.css

+ 11
- 0
templates/themes/clear-digits/base.css 查看文件

@@ -79,6 +79,17 @@ a {
79 79
   font-weight: bold;
80 80
 }
81 81
 
82
+.preview {
83
+  background-image: url("{% static 'themes/draft.png' %}");
84
+  padding: 40px;
85
+  padding-top: 75px;
86
+  min-height: 300px;
87
+}
88
+
89
+.preview-spacer {
90
+  min-height: 35px;
91
+}
92
+
82 93
 a:hover {
83 94
   background: #01D0DA;
84 95
 }

+ 11
- 0
templates/themes/clear-green/base.css 查看文件

@@ -79,6 +79,17 @@ a {
79 79
   font-weight: bold;
80 80
 }
81 81
 
82
+.preview {
83
+  background-image: url("{% static 'themes/draft.png' %}");
84
+  padding: 40px;
85
+  padding-top: 75px;
86
+  min-height: 300px;
87
+}
88
+
89
+.preview-spacer {
90
+  min-height: 35px;
91
+}
92
+
82 93
 a:hover {
83 94
   background: #cafec7;
84 95
 }

+ 11
- 0
templates/themes/clear-red/base.css 查看文件

@@ -79,6 +79,17 @@ a {
79 79
   font-weight: bold;
80 80
 }
81 81
 
82
+.preview {
83
+  background-image: url("{% static 'themes/draft.png' %}");
84
+  padding: 40px;
85
+  padding-top: 75px;
86
+  min-height: 300px;
87
+}
88
+
89
+.preview-spacer {
90
+  min-height: 35px;
91
+}
92
+
82 93
 a:hover {
83 94
   background: #ffe2e2;
84 95
 }

正在加载...
取消
保存