Advertisement
Guest User

CSS Stylish

a guest
Sep 2nd, 2023
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.08 KB | Gaming | 0 0
  1. @-moz-document url-prefix("https://act.hoyolab.com/app/community-game-records-sea/index.html") {
  2. /**
  3. # Genshin community game records
  4. */
  5.  
  6. /**
  7. Make site wider
  8. */
  9.  div.pc-root-layout__container {
  10.     min-width: 1024px;
  11.     max-width: 2000px;
  12.     margin: 0 auto;
  13.     padding-top: 56px;
  14.     display: flow-root;
  15. }
  16. /**
  17. Red UID to check if style was loaded
  18. */
  19.  html body div.pc-root-layout div.pc-root-layout__container div.game-nav div.account-block div.account-right div.account-btm p.uid {
  20.     color: red
  21. }
  22. }
  23.  
  24. @-moz-document url-prefix("https://act.hoyolab.com/app/community-game-records-sea/index.html") {
  25. /** Characters
  26.  
  27. */
  28.  body div.pc-root-layout div.pc-root-layout__container {
  29.     min-width: 1024px;
  30.     max-width: 2000px;
  31.     margin: 0 auto;
  32.     padding-top: 56px;
  33.     display: flow-root;
  34. }
  35. body div.pc-root-layout div.pc-root-layout__container div.pc-root-layout__content div.pc-ys-layout-wrapper div#anchor_character.pc-swiper-block-layout.swiper-block div.pc-swiper-block-layout__content div.container {
  36.     position: relative;
  37.     width: 1100px;
  38.     max-height: 100%;
  39.     overflow-y: auto;
  40.     overflow-y: overlay;
  41.     -webkit-box-flex: 0;
  42.     -ms-flex: none;
  43.     flex: none;
  44. }
  45. /**
  46. Characters list and preview height
  47. */
  48.  html body div.pc-root-layout div.pc-root-layout__container div.pc-root-layout__content div.pc-ys-layout-wrapper div#anchor_character.pc-swiper-block-layout.swiper-block div.pc-swiper-block-layout__content {
  49.     min-height: 800px;
  50.     max-height: 1200px
  51. }
  52. /**
  53. Characters list, single line size
  54. */
  55.  body div.pc-root-layout div.pc-root-layout__container div.pc-root-layout__content div.pc-ys-layout-wrapper div#anchor_character.pc-swiper-block-layout.swiper-block div.pc-swiper-block-layout__content div.container div.role-cards {
  56.     grid-template-columns: repeat(10, 1fr);
  57.     gap: 12px;
  58. }
  59. /** Character overview size
  60. */
  61.  html body div.pc-root-layout div.pc-root-layout__container div.pc-root-layout__content div.pc-ys-layout-wrapper div#anchor_character.pc-swiper-block-layout.swiper-block div.pc-swiper-block-layout__content div.pc-role-container div.role-layout--container div.container {
  62.     width: 800px;
  63. }
  64. /**
  65. Weapon description
  66. */
  67.  html body div.pc-root-layout div.pc-root-layout__container div.pc-root-layout__content div.pc-ys-layout-wrapper div#anchor_character.pc-swiper-block-layout.swiper-block div.pc-swiper-block-layout__content div.pc-role-container div.role-layout--container div.container:nth-child(4) {
  68.     width: 785px;
  69.     overflow: hidden;
  70.     padding: 32px 0;
  71. }
  72. html body div.pc-root-layout div.pc-root-layout__container div.pc-root-layout__content div.pc-ys-layout-wrapper div#anchor_character.pc-swiper-block-layout.swiper-block div.pc-swiper-block-layout__content div.pc-role-container div.role-layout--container div.container div.tip {
  73.     left: 31px;
  74.     -webkit-transform: translateY(100%);
  75.     -ms-transform: translateY(100%);
  76.     transform: translateY(100%);
  77.     font-size: 12px;
  78.     font-family: Microsoft YaHei, sans-serif;
  79.     font-weight: 400;
  80.     line-height: 16px;
  81.     color: hsla(0, 0%, 100%, .45);
  82. }
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement