From 0379bf1720db133e39e8c79333c87ce723450ffd Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Mon, 29 Feb 2016 20:25:26 -0500 Subject: [PATCH] Adding sub and sup support --- changelog.md | 4 +++- client/homebrew/phbStyle/phb.style.less | 11 +++++++++++ phb.standalone.css | 10 ++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 8e4daeec1..f150c1d5e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ # changelog -### Monday, 29/02/2016 +### Monday, 29/02/2016 - v1.3.1 * Removng the changelog button from the Share page +* Added a A4 page size snippet (thanks guppy42!) +* Added support for `` and `` tags (thanks crashinworld14!) ### Saturday, 20/02/2016 * Fixed h1 headers not going full width (thanks McToomin27) diff --git a/client/homebrew/phbStyle/phb.style.less b/client/homebrew/phbStyle/phb.style.less index 82afcf98c..809fe5d03 100644 --- a/client/homebrew/phbStyle/phb.style.less +++ b/client/homebrew/phbStyle/phb.style.less @@ -84,6 +84,17 @@ em{ font-style : italic; } + sup{ + vertical-align: super; + font-size: smaller; + line-height: 0; + } + sub{ + vertical-align: sub; + font-size: smaller; + line-height: 0; + } + //***************************** // * HEADERS // *****************************/ diff --git a/phb.standalone.css b/phb.standalone.css index f7a6af385..8381eae06 100644 --- a/phb.standalone.css +++ b/phb.standalone.css @@ -232,6 +232,16 @@ table { .phb em { 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 h2, .phb h3,