Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'src/styles/utility';
- .root {
- @include container();
- background-color: #fff;
- padding-bottom: 35px;
- padding-top: 35px;
- }
- .article {
- h5 {
- @include base-font();
- font-size: 1.125rem;
- font-weight: 400;
- line-height: 1.4;
- margin-left: auto;
- margin-right: auto;
- max-width: $article-width;
- text-transform: uppercase;
- }
- p {
- @include base-font();
- font-size: 1.125rem;
- font-weight: 400;
- line-height: 1.5;
- margin-left: auto;
- margin-right: auto;
- margin-top: 0;
- margin-bottom: 18px;
- max-width: $article-width;
- }
- h2 {
- @include base-font();
- font-weight: 600;
- margin-left: auto;
- margin-right: auto;
- max-width: $article-width;
- }
- strong {
- @include base-font();
- display: inline-block;
- font-size: 1.125rem;
- font-weight: 600;
- line-height: 1.4;
- }
- img {
- height: auto;
- max-width: 100%;
- @media (max-width: $md) {
- left: 50%;
- margin-left: -50vw;
- max-width: initial;
- position: relative;
- width: 100vw;
- }
- }
- blockquote {
- color: #8b8b8b;
- font-style: italic;
- -webkit-margin-end: 0;
- -webkit-margin-start: 0;
- p {
- padding-left: 2rem;
- position: relative;
- &:before {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- left: 0;
- content: '';
- height: 90%;
- width: 3px;
- background-color: #00d280;
- }
- @media (max-width: $sm) {
- &:before {
- height: 100%;
- }
- }
- }
- }
- a {
- color: #000;
- &:hover {
- color: royalblue;
- }
- }
- ul {
- max-width: $article-width;
- margin: 0 auto 18px;
- }
- }
- .meta {
- margin-top: 2rem;
- }
- .meta,
- .buttonContainer {
- max-width: $article-width;
- @media (max-width: $container) {
- margin-left: auto;
- margin-right: auto;
- }
- @media (max-width: $md) {
- margin-left: 0;
- }
- }
- .author,
- .photographer {
- margin-top: 25px;
- span {
- @include base-font();
- font-size: 1rem;
- font-weight: 400;
- line-height: 1.3;
- }
- @media (max-width: $md) {
- strong {
- display: block;
- margin-bottom: 5px;
- }
- span {
- display: inline-block;
- margin-bottom: 5px;
- }
- @media (max-width: 768px) {
- display: flex;
- flex-direction: column;
- }
- }
- strong {
- display: inline-block;
- font-size: 1.125rem;
- font-style: normal;
- font-weight: 700;
- min-width: 200px;
- text-transform: uppercase;
- }
- }
- .inner {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- @media (max-width: $xl) {
- flex-flow: column-reverse;
- }
- }
- .ad {
- position: sticky;
- height: 150vh;
- width: 390px;
- max-width: 100%;
- @media (max-width: $xl) {
- flex-basis: 100%;
- margin: auto;
- width: $article-width;
- height: auto;
- }
- @media (max-width: $md) {
- width: auto;
- }
- }
- .buttonContainer {
- margin-top: 40px;
- position: relative;
- }
- .button {
- display: flex;
- border: 0;
- justify-content: center;
- align-items: center;
- width: 100%;
- max-width: 320px;
- background: black;
- color: #00d280;
- height: 74px;
- font-size: 1rem;
- font-weight: 600;
- cursor: pointer;
- letter-spacing: 0.1rem;
- &:last-child {
- margin: 0;
- }
- &:active {
- transform: translateY(1px);
- filter: saturate(150%);
- }
- &:focus {
- outline: none;
- }
- @media (max-width: 700px) {
- margin-right: 0;
- margin-bottom: 20px;
- }
- }
- .buttonText {
- margin-right: 15px;
- text-transform: uppercase;
- }
- .share {
- position: static;
- }
- .offline-mode {
- pointer-events: none;
- opacity: 0.3;
- }
- .sticky {
- height: auto;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement