Merge pull request #1034 from taigaio/enhancement/4198/wysiwyg-style

Enhancement/4198/wysiwyg style
stable
Alejandro 2016-06-09 08:49:10 +02:00
commit a98a9a6f7f
1 changed files with 33 additions and 7 deletions

View File

@ -6,23 +6,40 @@
h1 { h1 {
@include font-size(xlarge); @include font-size(xlarge);
@include font-type(text); @include font-type(text);
line-height: 2.5rem; font-size: 2.25em;
line-height: 1.2;
margin-bottom: 1rem;
margin-top: 1rem;
padding-bottom: .5rem;
text-transform: uppercase; text-transform: uppercase;
} }
h2 { h2 {
@include font-size(large); @include font-size(larger);
@include font-type(bold); @include font-type(bold);
margin-bottom: .5rem; line-height: 1.225;
text-transform: uppercase; margin-bottom: 1rem;
margin-top: 1rem;
padding-bottom: .5rem;
} }
h3 { h3 {
@include font-size(large);
@include font-type(bold); @include font-type(bold);
text-transform: uppercase; margin-bottom: 1rem;
margin-top: 1rem;
padding-bottom: .5rem;
}
h4 {
@include font-type(bold);
margin-bottom: 1rem;
margin-top: 1rem;
} }
ul, ul,
ol { ol {
line-height: 1.5;
list-style-position: outside; list-style-position: outside;
margin-left: 1rem; margin-bottom: 0;
margin-top: 0;
padding-left: 2em;
} }
ul { ul {
list-style-type: disc; list-style-type: disc;
@ -53,6 +70,11 @@
.codehilite { .codehilite {
overflow: auto; overflow: auto;
} }
blockquote {
p {
margin: 0;
}
}
pre, pre,
code { code {
@include font-size(small); @include font-size(small);
@ -64,10 +86,11 @@
overflow: auto; overflow: auto;
unicode-bidi: embed; unicode-bidi: embed;
white-space: pre-wrap; white-space: pre-wrap;
} }
pre { pre {
line-height: 1.4rem; line-height: 1.4rem;
padding: .5rem; padding: 1rem;
} }
table { table {
border: $gray-light 1px solid; border: $gray-light 1px solid;
@ -103,4 +126,7 @@
background: $white; background: $white;
max-height: none; max-height: none;
} }
hr {
border: 1px solid $whitish;
}
} }