From fd9f25a0f3fb532b520992cbd26e9b87f8df952d Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 25 Feb 2018 13:08:23 +0100 Subject: [PATCH] Consistent styling --- mixins/Quote.pixy | 2 -- pages/quote/quote.scarlet | 2 +- pages/quotes/quotes.scarlet | 49 +++++++++++++++++-------------------- 3 files changed, 23 insertions(+), 30 deletions(-) diff --git a/mixins/Quote.pixy b/mixins/Quote.pixy index 3a2851fc..da4eef90 100644 --- a/mixins/Quote.pixy +++ b/mixins/Quote.pixy @@ -12,8 +12,6 @@ component QuoteContent(quote *arn.Quote) if quote.CharacterID != "" && quote.Character() != nil footer.quote-character - span= "by" - a.ajax(href=quote.Character().Link())= quote.Character().Name CharacterSmall(quote.Character()) component QuoteFooter(quote *arn.Quote) diff --git a/pages/quote/quote.scarlet b/pages/quote/quote.scarlet index d46ebe77..e2982a2e 100644 --- a/pages/quote/quote.scarlet +++ b/pages/quote/quote.scarlet @@ -1,4 +1,4 @@ -quote-full-page +.quote-full-page vertical .quote-main-column diff --git a/pages/quotes/quotes.scarlet b/pages/quotes/quotes.scarlet index 99e99da8..b24ee551 100644 --- a/pages/quotes/quotes.scarlet +++ b/pages/quotes/quotes.scarlet @@ -10,8 +10,8 @@ .quote-content vertical - border-radius 3px - border-left 5px solid quote-side-border-color + ui-element + border-left 5px solid quote-side-border-color !important overflow hidden box-shadow shadow-light align-items stretch @@ -55,33 +55,28 @@ blockquote p line-height 2em - q - quotes "\201C""\201D" + q + quotes "\201C""\201D" + color text-color + text-shadow none - :before - color quote-color - content open-quote - font-size 4em - line-height 0.1em - margin-right 0.25em - vertical-align -0.4em + :before + color quote-color + content open-quote + font-size 4em + line-height 0.1em + margin-right 0.25em + vertical-align -0.4em - :after - color quote-color - content close-quote - font-size 4em - line-height 0.1em - margin-left 0.25em - vertical-align -0.4em + :after + color quote-color + content close-quote + font-size 4em + line-height 0.1em + margin-left 0.25em + vertical-align -0.4em .character - display none !important - -> 800px - .character - margin 0.5em 0 0 0.5em !important - display block !important - - .quote-character a - display none \ No newline at end of file + margin 0.5em 0 0 0.5em !important + display block !important \ No newline at end of file