Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'src/styles/utility';
- .root {
- @include container;
- align-items: center;
- }
- .inner {
- margin-top: 40px;
- display: flex;
- @media (max-width: $lg) {
- flex-direction: column;
- }
- }
- .content {
- margin-right: 40px;
- @media (max-width: 1024px) {
- margin-right: 20px;
- }
- @media (max-width: $lg) {
- margin-right: 0;
- }
- }
- .ad {
- flex-basis: 30%;
- max-width: 100%;
- width: 390px;
- img {
- display: block;
- position: sticky;
- top: 0;
- height: auto;
- max-width: 100%;
- }
- // @media (max-width: $container) {
- // flex-basis: 70%;
- // padding-bottom: 40px;
- // }
- @media (max-width: $lg) {
- flex-basis: 100%;
- width: 100%;
- }
- }
- .respond {
- overflow: visible;
- width: 100%;
- background-color: #00dc85;
- border: none;
- overflow: visible;
- padding: 0;
- height: 60px;
- color: #fff;
- font-size: 1.125rem;
- font-weight: bold;
- margin: 0 auto;
- cursor: pointer;
- margin-bottom: 20px;
- position: sticky;
- top: 16px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement