Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'src/styles/utility';
- .root {
- height: 50vh;
- position: sticky;
- top: 0;
- right: 0;
- left: 0;
- font-size: 3.75rem;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- justify-content: center;
- @media (max-width: $md) {
- position: relative;
- min-height: 50vh;
- }
- @media (max-width: $sm) {
- position: relative;
- height: auto;
- }
- }
- .generalWrapper {
- position: relative;
- }
- .inner {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- margin-left: 150px;
- max-width: 900px;
- z-index: 5;
- @media (max-width: $md) {
- margin-left: 0;
- position: unset;
- left: auto;
- top: auto;
- transform: none;
- padding-left: 2rem;
- padding-right: 2rem;
- }
- @media (max-width: $md) {
- padding: 2rem;
- }
- }
- .categoryTitle {
- @include base-transition();
- position: relative;
- font-size: 1.125rem;
- font-weight: 600;
- text-transform: uppercase;
- width: max-content;
- &:after {
- @include base-transition();
- position: absolute;
- content: '';
- bottom: -6px;
- left: 0;
- height: 2px;
- width: 0;
- background-color: #353533;
- }
- &:hover {
- &:after {
- content: '';
- width: 100%;
- }
- }
- @media (max-width: $md) {
- margin-top: 0;
- }
- }
- .title {
- @include reset-webkit-margin();
- @include base-font();
- margin: 0;
- position: relative;
- font-size: 3rem;
- margin-bottom: 20px;
- font-weight: 700;
- word-break: break-word;
- text-decoration: none;
- color: #161616;
- padding-top: 20px;
- @media (max-width: $sm) {
- font-size: 2rem;
- }
- }
- .visible-wrapper {
- position: relative;
- }
- .adviceCategoryLink {
- text-decoration: none;
- }
- .link {
- @include base-transition();
- text-decoration: none;
- font-size: 1rem;
- display: block;
- font-size: 1.125rem;
- text-transform: uppercase;
- font-weight: 600;
- padding: 20px 30px;
- border-radius: 3px;
- max-width: 215px;
- text-align: center;
- border: 2px solid transparent;
- margin-top: 20px;
- &:hover {
- background: transparent !important;
- color: #353533 !important;
- border: 2px solid #353533;
- }
- }
- .isFirstItem {
- height: 85vh;
- z-index: 0;
- }
- .visibleWrapper {
- @media (max-width: $md) {
- display: none;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment