Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @-moz-document url-prefix("https://act.hoyolab.com/app/community-game-records-sea/index.html") {
- /**
- # Genshin community game records
- */
- /**
- Make site wider
- */
- div.pc-root-layout__container {
- min-width: 1024px;
- max-width: 2000px;
- margin: 0 auto;
- padding-top: 56px;
- display: flow-root;
- }
- /**
- Red UID to check if style was loaded
- */
- 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 {
- color: red
- }
- }
- @-moz-document url-prefix("https://act.hoyolab.com/app/community-game-records-sea/index.html") {
- /** Characters
- */
- body div.pc-root-layout div.pc-root-layout__container {
- min-width: 1024px;
- max-width: 2000px;
- margin: 0 auto;
- padding-top: 56px;
- display: flow-root;
- }
- 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 {
- position: relative;
- width: 1100px;
- max-height: 100%;
- overflow-y: auto;
- overflow-y: overlay;
- -webkit-box-flex: 0;
- -ms-flex: none;
- flex: none;
- }
- /**
- Characters list and preview height
- */
- 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 {
- min-height: 800px;
- max-height: 1200px
- }
- /**
- Characters list, single line size
- */
- 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 {
- grid-template-columns: repeat(10, 1fr);
- gap: 12px;
- }
- /** Character overview size
- */
- 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 {
- width: 800px;
- }
- /**
- Weapon description
- */
- 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) {
- width: 785px;
- overflow: hidden;
- padding: 32px 0;
- }
- 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 {
- left: 31px;
- -webkit-transform: translateY(100%);
- -ms-transform: translateY(100%);
- transform: translateY(100%);
- font-size: 12px;
- font-family: Microsoft YaHei, sans-serif;
- font-weight: 400;
- line-height: 16px;
- color: hsla(0, 0%, 100%, .45);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement