Commit bd8ae6c1b26253148aa2a8e37a4d1ef395f3490c
1 parent
8d889f08
Exists in
master
and in
29 other branches
Better style for code elements
(ActionItem2222)
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
public/stylesheets/application.css
@@ -1100,6 +1100,15 @@ code input { | @@ -1100,6 +1100,15 @@ code input { | ||
1100 | 1100 | ||
1101 | #article pre { | 1101 | #article pre { |
1102 | white-space: pre-wrap; | 1102 | white-space: pre-wrap; |
1103 | + padding: 5px; | ||
1104 | + border: 1px solid #d3d7cf; | ||
1105 | + border-radius: 5px; | ||
1106 | + -moz-border-radius: 5px; | ||
1107 | + -webkit-border-radius: 5px; | ||
1108 | +} | ||
1109 | +#article pre, #article code { | ||
1110 | + background: #eeeeec; | ||
1111 | + color: #2e3436; | ||
1103 | } | 1112 | } |
1104 | 1113 | ||
1105 | #article .article-body a.icon { | 1114 | #article .article-body a.icon { |