Last active
February 6, 2019 22:28
-
-
Save planetarian/573cb4109ab2f29693e6ad9704a4fa0b to your computer and use it in GitHub Desktop.
shipgirl renaming + shadow code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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