代码区缺少背景
cailiwei opened this issue · comments
cailiwei commented
暂时没有实现代码区的标识
cailiwei commented
问题已经修复, 主要主要对<code>
区实现样式设置, 修改点如下:
+/* code backlight */
+#entry pre {
+ border: 1px solid #ddd;
+ background-color: #eef;
+ padding: 0 .4em;
+}
+#entry code {
+ border: 1px solid #ddd;
+ background-color: #eef;
+ padding: 0 .2em;
+}
+#entry pre code {
+ border: none;
+}
+
+/* terminal */
+#entry pre.terminal {
+ border: 1px solid #000;
+ background-color: #333;
+ color: #FFF;
+}
+#entry pre.terminal code {
+ background-color: #333;
+}