promote_wpdt.css
136 lines
| 1 | .am-promote-wpdt-notice { |
| 2 | background-image: url("../../wpdt/img/wpdt-promo-bg.webp"); |
| 3 | background-repeat: no-repeat; |
| 4 | background-size: cover; |
| 5 | border: none; |
| 6 | display: block; |
| 7 | box-sizing: border-box; |
| 8 | margin: 20px 20px 20px 2px; |
| 9 | padding: 0 !important; |
| 10 | border-radius: 6px; |
| 11 | } |
| 12 | |
| 13 | #am-promote-wpdt-section { |
| 14 | display: flex; |
| 15 | flex-direction: row; |
| 16 | justify-content: space-between; |
| 17 | align-items: center; |
| 18 | width: 100%; |
| 19 | height: fit-content; |
| 20 | min-height: 150px; |
| 21 | padding: 6px 0 6px 30px; |
| 22 | box-sizing: border-box; |
| 23 | } |
| 24 | |
| 25 | #am-second-section { |
| 26 | display: flex; |
| 27 | flex-direction: column; |
| 28 | justify-content: space-evenly; |
| 29 | align-items: center; |
| 30 | } |
| 31 | |
| 32 | #am-download-it { |
| 33 | background: linear-gradient(351.76deg, #FFD601 -8.07%, #FCFF7D 123.41%); |
| 34 | width: 180px; |
| 35 | height: 36px; |
| 36 | padding: 6px 16px 6px 16px; |
| 37 | border-radius: 7px; |
| 38 | gap: 10px; |
| 39 | font-family: 'Amelia Roboto', sans-serif; |
| 40 | font-size: 15px; |
| 41 | font-weight: 500; |
| 42 | line-height: 24px; |
| 43 | letter-spacing: 0px; |
| 44 | text-align: center; |
| 45 | color: #1A2C37; |
| 46 | border: none; |
| 47 | cursor: pointer; |
| 48 | } |
| 49 | |
| 50 | .am-wpdt-message { |
| 51 | font-family: 'Amelia Roboto', sans-serif; |
| 52 | font-size: 20px; |
| 53 | font-weight: 500; |
| 54 | line-height: 24px; |
| 55 | letter-spacing: 0px; |
| 56 | text-align: center; |
| 57 | color: #FFFFFF; |
| 58 | } |
| 59 | |
| 60 | .am-wpdt-logo { |
| 61 | min-width: 128px; |
| 62 | height: auto; |
| 63 | } |
| 64 | |
| 65 | .notice-dismiss::before { |
| 66 | color: #33434C; |
| 67 | } |
| 68 | |
| 69 | #am-third-section, #am-first-section { |
| 70 | max-width: 35%; |
| 71 | } |
| 72 | |
| 73 | #am-third-section img, #am-first-section img { |
| 74 | max-width: 100%; |
| 75 | height: auto; |
| 76 | } |
| 77 | |
| 78 | .am-wpdt-logo-mobile { |
| 79 | display: none; |
| 80 | } |
| 81 | |
| 82 | @media (max-width: 1100px) { |
| 83 | .am-wpdt-message, #am-download-it { |
| 84 | font-size: 14px; |
| 85 | line-height: 22px; |
| 86 | } |
| 87 | |
| 88 | #am-second-section { |
| 89 | flex: 0; |
| 90 | } |
| 91 | |
| 92 | #am-second-section img { |
| 93 | height: 20px; |
| 94 | width: auto; |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | @media (max-width: 760px) { |
| 99 | .am-promote-wpdt-notice { |
| 100 | margin: 20px; |
| 101 | } |
| 102 | |
| 103 | #am-promote-wpdt-section { |
| 104 | flex-direction: column; |
| 105 | padding: 20px 0; |
| 106 | } |
| 107 | |
| 108 | #am-third-section, #am-first-section { |
| 109 | display: none; |
| 110 | } |
| 111 | |
| 112 | #am-second-section { |
| 113 | margin: 10px auto; |
| 114 | } |
| 115 | |
| 116 | .am-promote-wpdt-notice { |
| 117 | background: #005AEE; |
| 118 | } |
| 119 | |
| 120 | .notice-dismiss::before { |
| 121 | color: #FFFFFF; |
| 122 | } |
| 123 | |
| 124 | .am-wpdt-logo-mobile { |
| 125 | display: block; |
| 126 | } |
| 127 | |
| 128 | .am-wpdt-logo { |
| 129 | display: none; |
| 130 | } |
| 131 | |
| 132 | #am-second-section img { |
| 133 | height: 34px; |
| 134 | } |
| 135 | } |
| 136 |