style.module.scss
89 lines
| 1 | .productRecommendation { |
| 2 | display: flex; |
| 3 | align-items: center; |
| 4 | justify-content: space-between; |
| 5 | width: 100%; |
| 6 | padding: .5rem .875rem; |
| 7 | background: #F9F9F9; |
| 8 | font-size: 0.875rem; |
| 9 | color: #707070; |
| 10 | box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15); |
| 11 | |
| 12 | |
| 13 | .container { |
| 14 | display: flex; |
| 15 | align-items: center; |
| 16 | flex-wrap: wrap; |
| 17 | |
| 18 | strong { |
| 19 | margin: 0 4px 0 10px; |
| 20 | font-weight: 700; |
| 21 | white-space: nowrap; |
| 22 | } |
| 23 | |
| 24 | p { |
| 25 | display: inline-flex; |
| 26 | flex-wrap: wrap; |
| 27 | margin-right: 1rem; |
| 28 | padding: 0; |
| 29 | font-weight: 500; |
| 30 | } |
| 31 | |
| 32 | a { |
| 33 | display: flex; |
| 34 | gap: .55rem; |
| 35 | flex-wrap: wrap; |
| 36 | font-size: 0.875rem; |
| 37 | font-weight: 600; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | button { |
| 42 | display: flex; |
| 43 | align-items: center; |
| 44 | background: none; |
| 45 | border: none; |
| 46 | cursor: pointer; |
| 47 | padding: 0; |
| 48 | margin-right: 1.375rem; |
| 49 | |
| 50 | img { |
| 51 | transform: scale(140%); |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | |
| 57 | @media (max-width: 1100px) { |
| 58 | .productRecommendation { |
| 59 | position: relative; |
| 60 | display: flex; |
| 61 | justify-content: center; |
| 62 | align-items: center; |
| 63 | flex-direction: column-reverse; |
| 64 | width: 100%; |
| 65 | text-align: center; |
| 66 | |
| 67 | .container { |
| 68 | display: inline; |
| 69 | } |
| 70 | |
| 71 | a { |
| 72 | display: flex; |
| 73 | justify-content: center; |
| 74 | width: 100%; |
| 75 | text-align: center; |
| 76 | } |
| 77 | |
| 78 | button { |
| 79 | position: absolute; |
| 80 | top: 1rem; |
| 81 | right: 0; |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | .wp-die-message, p { |
| 87 | font-size: .875rem; |
| 88 | } |
| 89 |