border text class

This commit is contained in:
Andrew Brown 2018-11-08 18:19:43 -06:00
parent 293f381e4e
commit c331fbd77e
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
.bordered-text {
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -2px black;
}

View File

@ -6,7 +6,7 @@
<div class="card hoverable" style="min-height: 330px;">
<div class="card-image">
<%= image_tag "card-headers/#{content_name.pluralize}.jpg", height: 300, width: 300 %>
<span class="card-title">Create <%= content_name == "magic" ? 'magic' : content_name.pluralize %></span>
<span class="card-title bordered-text">Create <%= content_name == "magic" ? 'magic' : content_name.pluralize %></span>
</div>
<div class="card-content fixed-card-content">
<p>