yahtzee.scss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. @import "../../sass/base/mixins";
  2. .page-yahtzee{
  3. position: fixed;
  4. top: 0;
  5. right: 0;
  6. bottom: 0;
  7. left: 0;
  8. text-align: center;
  9. background: url(../../img/yahtzee/bg_shop.png) 0 0 / cover repeat-x;
  10. &:before{
  11. content: "";
  12. display: block;
  13. width: 100%;
  14. height: px2rem(530);
  15. background: url(../../img/yahtzee/bg_role.png) 0 0 / cover repeat-x;
  16. }
  17. .box-shop-wrap{
  18. background: #986145;
  19. border: 1px solid #592913;
  20. border-radius: px2rem(24);
  21. padding: px2rem(9);
  22. margin: px2rem(-150) px2rem(15) 0 px2rem(15);
  23. }
  24. .box-shop{
  25. background: #efe2bf;
  26. border: 1px solid #592913;
  27. border-radius: px2rem(24);
  28. min-height: px2rem(900);
  29. }
  30. h1{
  31. font-size: px2rem(48);
  32. color: #986145;
  33. padding: px2rem(21) 0;
  34. }
  35. .list-gold{
  36. display: flex;
  37. flex-wrap: wrap;
  38. margin-left: px2rem(18);
  39. }
  40. .gold-item{
  41. width: px2rem(206);
  42. height: px2rem(287);
  43. margin: 0 px2rem(18) px2rem(24) 0;
  44. background: url(../../img/yahtzee/bg_item.png) center/100% no-repeat;
  45. &:hover{
  46. opacity: 0.8;
  47. }
  48. .item-bd{
  49. color: #FFFFFF;
  50. font-weight: 700;
  51. font-size: px2rem(36);
  52. height: px2rem(200);
  53. img{
  54. width: px2rem(90);
  55. height: px2rem(90);
  56. margin: px2rem(24) 0;
  57. }
  58. }
  59. .item-ft{
  60. display: flex;
  61. height: px2rem(90);
  62. color: #5e4542;
  63. font-size: px2rem(30);
  64. align-items: center;
  65. justify-content: center;
  66. img{
  67. width: px2rem(37);
  68. height: px2rem(27);
  69. margin: 0 px2rem(9);
  70. }
  71. }
  72. }
  73. }