Skip to content

Instantly share code, notes, and snippets.

@ZipFile
Last active March 22, 2019 19:38
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 ZipFile/0f53d7307ede2585692da0ae4915dcaa to your computer and use it in GitHub Desktop.
Save ZipFile/0f53d7307ede2585692da0ae4915dcaa to your computer and use it in GitHub Desktop.
Old EH category buttons
.cs, .cn {
text-shadow: unset !important;
border: 1px solid var(--category-bg-color) !important;
color: black !important;
box-sizing: border-box !important;
letter-spacing: unset !important;
background:
linear-gradient(
to bottom,
white -25px,
var(--category-bg-color),
white 65%
)
!important;
box-shadow:
inset 0 4px 4px -2px white,
inset 30px 0 10px -30px var(--category-bg-color),
inset -30px 0 10px -30px var(--category-bg-color),
inset 0 -2px 5px 0px var(--category-bg-color),
inset 0 1px 2px white
!important;
/* ADJUST THIS: */
font-family: "Anime Ace", "Comic Sans MS", cursive !important;
font-size: 9px !important;
font-style: normal !important;
}
.cs {
border-radius: 25px / 20px !important;
line-height: 18px !important;
width: 100px !important;
height: 20px !important;
}
.cn {
border-radius: 37.5px / 30px !important;
line-height: 33px !important;
width: 110px !important;
height: 35px !important;
}
.ct0 {
/* Private */
border: 1px solid black !important;
color: red !important;
background: black !important;
box-shadow: inset 0 4px 4px -2px white !important;
}
.ct1 {
/* Misc */
--category-bg-color: #d3d3d3;
}
.ct2 {
/* Doujinshi */
--category-bg-color: #ff2525;
}
.ct3 {
/* Manga */
--category-bg-color: #ffb225;
}
.ct4 {
/* Artist CG */
--category-bg-color: #e8d825;
}
.ct5 {
/* Game CG */
--category-bg-color: #259225;
}
.ct6 {
/* Image Set */
--category-bg-color: #2525ff;
}
.ct7 {
/* Cosplay */
--category-bg-color: #652594;
}
.ct8 {
/* Asian Porn */
--category-bg-color: #f2a7f2;
}
.ct9 {
/* Non-H */
--category-bg-color: #38acff;
}
.cta {
/* Western */
--category-bg-color: #9aff38;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment