From c331fbd77ea1af589f7d6b10ff65c7fba5f62b1f Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 8 Nov 2018 18:19:43 -0600 Subject: [PATCH] border text class --- app/assets/stylesheets/text.scss | 3 +++ app/views/cards/intros/_content_type_intro.html.erb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 app/assets/stylesheets/text.scss diff --git a/app/assets/stylesheets/text.scss b/app/assets/stylesheets/text.scss new file mode 100644 index 00000000..5e91a59d --- /dev/null +++ b/app/assets/stylesheets/text.scss @@ -0,0 +1,3 @@ +.bordered-text { + text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -2px black; +} diff --git a/app/views/cards/intros/_content_type_intro.html.erb b/app/views/cards/intros/_content_type_intro.html.erb index 1ff8d87c..b9471dce 100644 --- a/app/views/cards/intros/_content_type_intro.html.erb +++ b/app/views/cards/intros/_content_type_intro.html.erb @@ -6,7 +6,7 @@
<%= image_tag "card-headers/#{content_name.pluralize}.jpg", height: 300, width: 300 %> - Create <%= content_name == "magic" ? 'magic' : content_name.pluralize %> + Create <%= content_name == "magic" ? 'magic' : content_name.pluralize %>