Commit 0a05c8dd8d648f5cc58508b70e0aff3d6a67ff32

Authored by Dmitriy Zaporozhets
1 parent 99a9d97c

Improve md typography

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/generic/typography.scss
@@ -88,9 +88,6 @@ a:focus { @@ -88,9 +88,6 @@ a:focus {
88 .wiki { 88 .wiki {
89 @include md-typography; 89 @include md-typography;
90 90
91 - font-size: 14px;  
92 - line-height: 1.6;  
93 -  
94 /* Link to current header. */ 91 /* Link to current header. */
95 h1, h2, h3, h4, h5, h6 { 92 h1, h2, h3, h4, h5, h6 {
96 position: relative; 93 position: relative;
app/assets/stylesheets/main/mixins.scss
@@ -84,6 +84,9 @@ @@ -84,6 +84,9 @@
84 } 84 }
85 85
86 @mixin md-typography { 86 @mixin md-typography {
  87 + font-size: 14px;
  88 + line-height: 1.6;
  89 +
87 img { 90 img {
88 max-width: 100%; 91 max-width: 100%;
89 } 92 }