| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- .section {
- &__card {
- padding: 1rem 0.75rem 2rem 0.75rem;
- position: relative;
- @media only screen and (max-width: 960px) {
- [data-mobile="false"] {
- display: none;
- }
- }
- @media only screen and (min-width: 960px) {
- [data-mobile="true"] {
- display: none;
- }
- }
- &--header {
- position: relative;
- margin: 2rem 0;
- @include flexbox();
- }
- &--title {
- z-index: z('section-title');
- font-weight: 700;
- font-family: $title-font;
- }
- &--subtitle {
- font-weight: bold;
- font-family: $title-font;
- margin-bottom: 1.5rem;
- text-align: center;
- }
- &--main {
- padding: 0.5rem 0;
- @include flexbox();
- }
- &--item {
- width: 33.33%;
- text-decoration: none;
- @include flex-grow(1);
- &:not(:first-child):not(:last-child) {
- margin: 0 1rem;
- }
- &:first-child {
- margin: 0 1rem 0 0;
- }
- &:last-child {
- margin: 0 0 0 1rem;
- }
- }
- &--img {
- margin: auto;
- display: block;
- &-wrapper {
- width: 100%;
- margin-bottom: 1rem;
- }
- }
- &--content {
- margin-bottom: 0.75rem;
- font-size: 1.125rem;
- word-wrap: break-word;
- }
- @media only screen and (max-width: 960px) {
- &--item {
- width: 100%;
- margin: 0.5rem 0 2rem 0 !important;
- @include flexbox();
- }
- &--main {
- @include flexbox();
- @include flex-direction(column);
- @include align-items(flex-start);
- }
- &--subtitle {
- text-align: left;
- }
- &--img {
- display: inline-block;
- width: 100%;
- &-wrapper {
- min-width: 112px;
- max-width: 112px;
- margin-right: 1rem;
- }
- }
- &--content {
- margin-bottom: 1.5rem;
- }
- }
- }
- &__normal {
- position: relative;
- @include flexbox();
- &--content {
- margin-bottom: 0.75rem;
- font-size: 1.125rem;
- word-wrap: break-word;
- }
- &--subtitle {
- font-weight: bold;
- font-family: $title-font;
- margin: 2rem 0;
- }
- &--img {
- width: 100%;
- min-width: 100px;
- height: 100%;
- &-wrapper {
- margin: auto 0;
- padding: 0 1rem;
- &[data-position="left"] {
- margin-right: 5rem;
- }
- &[data-position="right"] {
- margin-left: 5rem;
- }
- }
- }
- @media only screen and (max-width: 600px) {
- @include flex-direction(column);
- &--img {
- &-wrapper {
- &[data-position="left"] {
- margin: 0 2rem;
- }
- &[data-position="right"] {
- margin: 0 2rem;
- }
- }
- }
- }
- }
- &__highlight {
- z-index: z('highlight');
- position: absolute;
- left: 0;
- bottom: -0.25rem;
- width: 100%;
- height: 20px;
- }
- &__btn {
- width: 100%;
- cursor: pointer;
- border: none;
- outline: none;
- border-radius: 0.25rem;
- @include on-event {
- border: 1px solid white;
- }
- &--micro {
- height: 20px;
- font-size: 14px;
- line-height: 14px;
- }
- &--mini {
- height: 24px;
- font-size: 15px;
- line-height: 15px;
- }
- &--small {
- height: 28px;
- font-size: 16px;
- }
- &--medium {
- height: 32px;
- font-size: 17px;
- line-height: 17px;
- }
- &--large {
- height: 36px;
- font-size: 18px;
- }
- }
- }
|