瀏覽代碼

Add rule for literal class generated in reST

This class uses the same declarations that are defined for `code` in
bootstrap.

Fix #38
Talha Mansoor 11 年之前
父節點
當前提交
fb82eec002
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      static/css/elegant.css

+ 8 - 0
static/css/elegant.css

@@ -352,6 +352,14 @@ ul.list-all-articles li time {
     font-family: 'PT Sans','Helvetica Neue',Arial,sans-serif;
     font-size: .9em;
 }
+/* reST specific rules*/
+.literal {
+    background-color: #f7f7f9;
+    border: 1px solid #e1e1e8;
+    color: #d14;
+    padding: 2px 4px;
+    white-space: nowrap;
+}
 .amp {
     font-family: 'Warnock Pro','Goudy Old Style','Palatino','Book Antiqua',serif;
     font-style: italic;