styles.module.scss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @import "../../styles/vars";
  2. .container{
  3. //padding-top: 1.5rem;
  4. position: relative;
  5. & .game_tabs{
  6. display: flex;
  7. align-items: center;
  8. flex-wrap: wrap;
  9. gap: .75rem;
  10. & .tab_item{
  11. background: var(--nav-item-bg);
  12. padding: .75rem 1.125rem;
  13. border-radius: var(--border-radius);
  14. //margin-right: .75rem;
  15. //margin-top: .625rem;
  16. width: auto;
  17. font-weight: 400;
  18. white-space: nowrap;
  19. display: flex;
  20. align-items: center;
  21. justify-content: center;
  22. color: var(--text);
  23. &:hover,&.active{
  24. background: var(--nav-item-hover);
  25. color: var(--header);
  26. font-weight: 600;
  27. & .icon{
  28. fill: var(--header);
  29. }
  30. }
  31. & .icon{
  32. margin-right: .375rem;
  33. width: 1.4em;
  34. height: 1.4em;
  35. fill: var(--text);
  36. }
  37. }
  38. @media screen and (max-width: $width-mobile-max) {
  39. flex-wrap: nowrap;
  40. width: 100%;
  41. overflow-x: auto;
  42. scroll-snap-type: x mandatory;
  43. scroll-behavior: smooth;
  44. }
  45. }
  46. }