diff options
author | nomind60s <nomind60s@users.noreply.github.com> | 2017-03-10 11:42:50 -0700 |
---|---|---|
committer | nomind60s <nomind60s@users.noreply.github.com> | 2017-03-10 11:42:50 -0700 |
commit | b56be33e5bc712f156400203f2c1e066ce434a71 (patch) | |
tree | 5a10e8e02fa81992dcce4996a782266b35766706 | |
parent | 6bbb7581c29b6d74e9b0449451b1fa9601253c44 (diff) | |
download | forums-b56be33e5bc712f156400203f2c1e066ce434a71.tar forums-b56be33e5bc712f156400203f2c1e066ce434a71.tar.gz forums-b56be33e5bc712f156400203f2c1e066ce434a71.tar.bz2 forums-b56be33e5bc712f156400203f2c1e066ce434a71.tar.xz forums-b56be33e5bc712f156400203f2c1e066ce434a71.zip |
[ticket/15086] Refactoring and moving to icons.css
Per hanakin's github suggestions some refactoring and moved icons into
icons.css for conistency. The RTL icons remain in bidi.css to keep all
the RTL content in a consistant location.
A number of places where setting something to zero have been removed.
PHPBB3-15086
-rw-r--r-- | phpBB/styles/prosilver/theme/bidi.css | 4 | ||||
-rw-r--r-- | phpBB/styles/prosilver/theme/content.css | 12 | ||||
-rw-r--r-- | phpBB/styles/prosilver/theme/icons.css | 17 |
3 files changed, 18 insertions, 15 deletions
diff --git a/phpBB/styles/prosilver/theme/bidi.css b/phpBB/styles/prosilver/theme/bidi.css index e2698d146f..f2c2c01cc6 100644 --- a/phpBB/styles/prosilver/theme/bidi.css +++ b/phpBB/styles/prosilver/theme/bidi.css @@ -502,15 +502,13 @@ li.breadcrumbs span:first-child > a { .rtl blockquote cite { /* Username/source of quoter */ - margin-right: 0; margin-left: 0; } .rtl blockquote cite:before, .uncited:before { - /* Font Awesome quote-right */ - content: '\f10e'; padding-right: 0; padding-left: 5px; + content: '\f10e'; /* Font Awesome quote-right */ } .rtl blockquote .codebox { diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 2ceb2b4613..1043a23cd4 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -466,26 +466,14 @@ blockquote cite { /* Username/source of quoter */ font-style: normal; font-weight: bold; - margin-left: 0; display: block; font-size: 0.9em; } -blockquote cite:before, .uncited:before { - /* Font Awesome quote-left */ - content: '\f10d'; - font-family: FontAwesome; - padding-right: 5px; -} - blockquote cite cite { font-size: 1em; } -blockquote.uncited { - padding-top: 0; -} - blockquote cite > div { float: right; font-weight: normal; diff --git a/phpBB/styles/prosilver/theme/icons.css b/phpBB/styles/prosilver/theme/icons.css index 411fecaf3b..c4aabb2b0f 100644 --- a/phpBB/styles/prosilver/theme/icons.css +++ b/phpBB/styles/prosilver/theme/icons.css @@ -85,3 +85,20 @@ line-height: .9; height: 12px; } + + +blockquote cite:before, .uncited:before { + -webkit-font-smoothing: antialiased; + -mos-osx-font-smoothing: grayscale; + font-family: FontAwesome; + font-size: 14px; + font-weight: normal; + font-style: normal; + font-variant: normal; + line-height: 1; + text-rendering: auto; + display: inline-block; + padding-right: 5px; + content: '\f10d'; /* Font Awesome quote-left */ +} + |