|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- h5 {
- font-weight: 600;
- font-size: 1.6rem;
- margin: 0 0 var(--standard-vertical-spacing-between-sections) 0;
- }
-
- .stories {
- list-style: none;
- width: calc(100% + 2rem);
- overflow-x: auto;
- overflow-y: hidden;
- height: var(--stories-height);
- white-space: nowrap;
- margin: var(--standard-vertical-spacing-between-sections) 0;
-
- li {
- display: inline-block;
- margin: 0rem 0.5rem;
- height: 100%;
-
- img {
- border: 0.2rem solid var(--brand-red);
- width: var(--stories-height);
- height: var(--stories-height);
- border-radius: 50%;
- overflow: hidden;
- object-fit: cover;
- display: block;
- object-position: center;
- }
- }
- }
-
- .card {
- border-radius: var(--card-radius);
- overflow: hidden;
- background-color: white;
- margin: var(--standard-vertical-spacing-between-sections) 0;
-
- h5, p {
- margin-bottom: 1rem;
- }
-
- p {
- font-size: 1.2rem;
- }
-
- button {
- padding: 0.7rem;
- width: auto;
- border-radius: 3rem;
- font-size: 1.2rem;
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: 600;
-
- ion-icon {
- margin-right: 0.3rem;
- font-size: 2.4rem;
- }
- }
- }
-
- .action-card {
- padding: var(--standard-vertical-spacing-between-sections);
- display: grid;
- grid-template-columns: 0.6fr 0.4fr;
- background-image: url('../../assets/sample-images/pattern.png');
- background-repeat: repeat;
- background-size: 70%;
- box-shadow: 0px 0px 1rem var(--brand-orange-shade2);
- align-items: center;
-
- button {
- color: white;
- background-color: var(--brand-orange-shade1);
- }
-
- figure {
- display: block;
-
- img {
- display: block;
- width: 100%;
- height: 100%;
- object-fit: contain;
- }
- }
- }
-
- .image-action-card {
- box-shadow: 0px 0px 1rem var(--brand-red);
- background-color: var(--brand-red);
-
- figure {
- height: 20rem;
- display: block;
-
- img {
- display: block;
- width: 100%;
- height: 100%;
- object-fit: cover;
- object-position: top;
- border-radius: var(--card-radius);
- }
- }
-
- .action-items {
- padding: 0.5rem;
- }
-
- button {
- margin: 0 auto;
- background-color: var(--brand-red);
- color: white;
- }
- }
-
- header {
- display: grid;
- grid-template-columns: 0.7fr 0.3fr;
- }
-
- .card-collections {
- header {
- h5 {
- margin: 0;
- }
- a {
- text-align: right;
- font-size: 1.2rem;
- background-color: transparent;
- color: var(--brand-orange-shade1);
- font-weight: 600;
- }
- }
- }
-
- .horizontal-card-list {
- list-style: none;
- width: calc(100% + 2rem);
- overflow-x: auto;
- overflow-y: hidden;
- white-space: nowrap;
- padding: var(--standard-vertical-spacing-between-sections);
- margin: var(--standard-vertical-spacing-between-sections) 0;
- margin-left: -var(--standard-vertical-spacing-between-sections);
-
- li {
- display: inline-block;
- margin-right: 2rem;
- position: relative;
-
- &::before {
- content: '';
- width: 90%;
- height: 100%;
- left: 5%;
- position: absolute;
- top: -1rem;
- background-color: var(--brand-red);
- opacity: 0.1;
- border-radius: var(--card-radius);
- }
-
- &::after {
- content: '';
- width: 100%;
- height: 100%;
- left: 0;
- position: absolute;
- top: 0rem;
- background-color: var(--brand-red);
- opacity: 0.2;
- border-radius: var(--card-radius);
- z-index: 1;
- }
- }
-
- figure {
- position: relative;
- z-index: 0;
- width: 15rem;
- height: 20rem;
-
- img {
- border-radius: var(--card-radius);
- width: 100%;
- height: 100%;
- object-fit: cover;
- object-position: center;
- }
- }
- }
|