Advertisement
tawnyCollar

Beetle Books Adjustment Code

Nov 10th, 2024 (edited)
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. /* beetle book adjustment code by tawnyCollar#251887. may be used in commissions, personal CSS, and free CSS. do NOT remove credit, or reupload claiming it as your own. */
  2. /* change beetle book image */
  3. img[src$="beetlebook-front.png"] {
  4. background:none!important;
  5. content:url('IMAGE LINK HERE');
  6. }
  7.  
  8. /* fits all elements on one line */
  9. body > div.container.main > div > div.col-md-9.col-xs-12 > center {
  10. flex-wrap: nowrap;
  11. justify-content: space-between;
  12. }
  13. .dynastylist {
  14. flex: 1 1 auto;
  15. max-width: 20%;
  16. box-sizing: border-box;
  17. }
  18. /* resizes all images to fit the new layout */
  19. .dynastylist img {
  20. width: 100%!important;
  21. }
  22.  
  23. /* font option 1 - apply font size to all headers at once. */
  24. .dynastylist h3 {
  25. font-size: 20px !important; /* Adjust font size for all headers */
  26. }
  27.  
  28. /* font option 2 - targets individual headers. delete this code if you're using font option one. */
  29. .dynastylist:nth-child(1) h3 {
  30. font-size: 14px !important; /* king dynasty */
  31. }
  32. .dynastylist:nth-child(2) h3 {
  33. font-size: 14px !important; /* pride dynasty */
  34. }
  35. .dynastylist:nth-child(3) h3 {
  36. font-size: 14px !important; /* achievements */
  37. }
  38. .dynastylist:nth-child(4) h3 {
  39. font-size: 14px !important; /* showcase */
  40. }
  41. .dynastylist:nth-child(5) h3 {
  42. font-size: 14px !important; /* beetle book */
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement