Skip to content

Instantly share code, notes, and snippets.

@planetarian
Last active February 6, 2019 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save planetarian/573cb4109ab2f29693e6ad9704a4fa0b to your computer and use it in GitHub Desktop.
Save planetarian/573cb4109ab2f29693e6ad9704a4fa0b to your computer and use it in GitHub Desktop.
shipgirl renaming + shadow code
/* this creates a slightly darker border around ship names, adjust to taste */
.ship_name, .ship_name::before {
text-shadow:
-1px -1px 0 #00000044,
1px -1px 0 #00000044,
-1px 1px 0 #00000044,
1px 1px 0 #00000044;
}
/* this hides the original name; change 7877 to whatever the ship ID is */
#ShipBox7877 .ship_name {
color: transparent;
text-shadow: none;
}
/* change the ID here too */
#ShipBox7877 .ship_name::before {
/* change "My Waifu" to whatever name you want to use */
content: "My Waifu";
/* change #ddd to whatever color you want your waifu's name to be */
color: #ddd;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment