Skip to content

Commit

Permalink
- make heading/code styles consistent between the composer and the to…
Browse files Browse the repository at this point in the history
…pic view
  • Loading branch information
BenLubar committed Aug 7, 2016
1 parent cfc8f53 commit c807ac8
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions plugins/nodebb-plugin-tdwtf-customizations/custom.less
Expand Up @@ -94,6 +94,49 @@ kbd, kbd kbd {
text-decoration: overline;
}

/* From nodebb-theme-persona */
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
margin-top: 0px;
}

h1 {
font-size: 22px;
margin: 10px 0;
}

h2 {
font-size: 20px;
}

h3 {
text-transform: uppercase;
font-size: 16px;
font-weight: 900;
}

h4 {
font-size: 17px;
}

h5 {
font-weight: 800;
text-transform: uppercase;
}

h4, h5, h6 {
margin-top: 15px;
}

pre {
max-height: 350px;

code {
white-space: pre;
word-wrap: normal;
min-width: 100%;
}
}

/* Show abbr and a title contents on mobile */
@media screen and (max-width: 991px) {
abbr[title]:after {
Expand Down

0 comments on commit c807ac8

Please sign in to comment.