0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-11 11:12:44 +00:00

Adding sub and sup support

This commit is contained in:
Scott Tolksdorf
2016-02-29 20:25:26 -05:00
parent d2424d839a
commit 0379bf1720
3 changed files with 24 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
# changelog # changelog
### Monday, 29/02/2016 ### Monday, 29/02/2016 - v1.3.1
* Removng the changelog button from the Share page * Removng the changelog button from the Share page
* Added a A4 page size snippet (thanks guppy42!)
* Added support for `<sup>` and `<sub>` tags (thanks crashinworld14!)
### Saturday, 20/02/2016 ### Saturday, 20/02/2016
* Fixed h1 headers not going full width (thanks McToomin27) * Fixed h1 headers not going full width (thanks McToomin27)

View File

@@ -84,6 +84,17 @@
em{ em{
font-style : italic; font-style : italic;
} }
sup{
vertical-align: super;
font-size: smaller;
line-height: 0;
}
sub{
vertical-align: sub;
font-size: smaller;
line-height: 0;
}
//***************************** //*****************************
// * HEADERS // * HEADERS
// *****************************/ // *****************************/

View File

@@ -232,6 +232,16 @@ table {
.phb em { .phb em {
font-style: italic; font-style: italic;
} }
.phb sup {
vertical-align: super;
font-size: smaller;
line-height: 0;
}
.phb sub {
vertical-align: sub;
font-size: smaller;
line-height: 0;
}
.phb h1, .phb h1,
.phb h2, .phb h2,
.phb h3, .phb h3,