[Notice] Announcing the End of Demo Server [Read me]
css: Adjust markdown some css to match github
- remove image shadow - remove image border (only in README) - add bottom line of H2 header See: Yona Github issue #402
@688b83a08456d7e7310d6c7b4d9c8d72f12e4e41
--- app/assets/stylesheets/less/_markdown.less
+++ app/assets/stylesheets/less/_markdown.less
... | ... | @@ -90,6 +90,7 @@ |
90 | 90 |
margin: 1em 0 5px; |
91 | 91 |
font-size:1.5em; |
92 | 92 |
width: 95%; |
93 |
+ border-bottom: 1px solid #eaecef; |
|
93 | 94 |
.anchor(); |
94 | 95 |
} |
95 | 96 |
|
... | ... | @@ -121,7 +122,7 @@ |
121 | 122 |
} |
122 | 123 |
|
123 | 124 |
p { |
124 |
- margin : 15px 0; |
|
125 |
+ margin : 10px 0; |
|
125 | 126 |
line-height: 1.6em; |
126 | 127 |
} |
127 | 128 |
|
... | ... | @@ -153,12 +154,12 @@ |
153 | 154 |
li > img { |
154 | 155 |
max-width:80%; |
155 | 156 |
} |
157 |
+ |
|
156 | 158 |
img{ |
157 | 159 |
max-width:100%; |
158 | 160 |
margin:10px 0; |
159 | 161 |
padding: 5px; |
160 | 162 |
border:1px solid rgba(0,0,0,0.1); |
161 |
- .box-shadow(2px 2px 5px rgba(0,0,0,0.15)); |
|
162 | 163 |
.box-sizing(border-box); |
163 | 164 |
max-height: 300px; |
164 | 165 |
} |
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
... | ... | @@ -2632,6 +2632,17 @@ |
2632 | 2632 |
font-size: 1.2em; |
2633 | 2633 |
} |
2634 | 2634 |
} |
2635 |
+ |
|
2636 |
+ .markdown-wrap { |
|
2637 |
+ img { |
|
2638 |
+ box-sizing: content-box; |
|
2639 |
+ background-color: #fff; |
|
2640 |
+ border-style: none; |
|
2641 |
+ box-shadow: none; |
|
2642 |
+ margin: 5px 0; |
|
2643 |
+ padding: 0; |
|
2644 |
+ } |
|
2645 |
+ } |
|
2635 | 2646 |
} |
2636 | 2647 |
|
2637 | 2648 |
.project-overview-home { |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?