From b56be33e5bc712f156400203f2c1e066ce434a71 Mon Sep 17 00:00:00 2001 From: nomind60s Date: Fri, 10 Mar 2017 11:42:50 -0700 Subject: [PATCH] [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 --- phpBB/styles/prosilver/theme/bidi.css | 4 +--- phpBB/styles/prosilver/theme/content.css | 12 ------------ 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 */ +} +