diff --git a/network-api/networkapi/mozfest/templates/fragments/blocks/mozfest_dark_quote.html b/network-api/networkapi/mozfest/templates/fragments/blocks/mozfest_dark_quote.html new file mode 100644 index 00000000000..3d1daaca4f2 --- /dev/null +++ b/network-api/networkapi/mozfest/templates/fragments/blocks/mozfest_dark_quote.html @@ -0,0 +1,16 @@ +{% load wagtailcore_tags wagtailimages_tags %} + +{% block block_content %} +
+
+
+
+
+ {{ self.quote|richtext }} +
+

{{ self.cite }}

+
+
+
+
+{% endblock block_content %} diff --git a/source/sass/wagtail/blocks/feature-quote.scss b/source/sass/wagtail/blocks/feature-quote.scss index aa61e642045..93c9ded9b87 100644 --- a/source/sass/wagtail/blocks/feature-quote.scss +++ b/source/sass/wagtail/blocks/feature-quote.scss @@ -18,6 +18,10 @@ content: ""; display: block; margin: 0 auto 10px; + + @at-root .tw-dark & { + opacity: 0.3; + } } .quote-content .rich-text {