Newer
Older

Ekaterina Kondareva
committed
:host {
}
.hy-key-highlight {
display: block;
margin-bottom: 20px;
width: 100%;
@include breakpoint($medium) {
display: flex;
flex-direction: column;
width: 100%;
}
&__title__container {
margin-bottom: 10px;
position: relative;
text-align: center;
@include breakpoint($medium) {
text-align: left;

Ekaterina Kondareva
committed
}
&__title,
&__overlay {
box-decoration-break: clone;
color: var(--grayscale-white);
display: inline;

Ekaterina Kondareva
committed
font-family: var(--main-font-family);
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
font-weight: 600;
letter-spacing: -0.75px;
padding: 4px 10px;
position: relative;
text-align: center;
z-index: 1;
@include breakpoint($medium) {
text-align: left;
}
}
&__overlay--container {
left: 50%;
transform: translate(-50%, 0);
opacity: 0.9;
position: absolute;
top: 0;
width: 100%;
@include breakpoint($medium) {
left: 0;
transform: none;
}
}
&__overlay {
background: var(--brand-main-light);
color: transparent !important;
margin-bottom: 0;
}
&__description {
text-align: center;
@include breakpoint($medium) {
color: var(--grayscale-dark);
font-family: var(--main-font-family);
letter-spacing: 0;
text-align: left;
}

Ekaterina Kondareva
committed
}
&.small {
.hy-key-highlight__title__container {
font-size: 24px;
line-height: 24px;

Ekaterina Kondareva
committed
}
.hy-key-highlight__description {
font-size: 14px;
line-height: 20px;
}
}

Ekaterina Kondareva
committed
&.big {
.hy-key-highlight__title__container {
font-size: 24px;
line-height: 24px;
@include breakpoint($medium) {

Ekaterina Kondareva
committed
}

Ekaterina Kondareva
committed
.hy-key-highlight__description {

Ekaterina Kondareva
committed
line-height: 20px;
@include breakpoint($medium) {
line-height: 20px;
font-size: 20px;
}