-
Notifications
You must be signed in to change notification settings - Fork 4k
/
badge_details.scss
86 lines (73 loc) 路 1.57 KB
/
badge_details.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
@import './config/import';
.badge_details {
.badge-image-container {
display: flex;
justify-content: center;
float: left;
overflow: hidden;
width: 192px;
height: 192px;
object-fit: contain;
aspect-ratio: 1 / 1;
background-color: var(--card-secondary-bg);
border-radius: 8px;
border: 1px solid var(--body-bg);
.badge-image {
margin: 0 auto;
object-fit: contain;
width: 70%;
aspect-ratio: 1 / 1;
}
@media (max-width: $breakpoint-s) {
float: none;
margin: 40px auto 0 auto;
}
}
.badge_text_content {
display: flex;
flex-direction: column;
min-height: 192px;
overflow: hidden;
padding-left: 40px;
@media (max-width: $breakpoint-s) {
display: flex;
flex-direction: column;
margin-top: 40px;
padding-left: 0px;
}
.title {
color: var(--cta-color);
font-size: var(--fs-l);
@media (max-width: $breakpoint-s) {
text-align: center;
margin: 0 auto;
}
}
.description {
color: var(--card-color-tertiary);
margin-bottom: 16px;
font-size: var(--fs-base);
@media (max-width: $breakpoint-s) {
text-align: center;
}
}
.got-it-btn {
align-self: flex-start;
margin-top: auto;
@media (max-width: $breakpoint-s) {
align-self: auto;
margin-bottom: 16px;
}
}
}
.close {
position: absolute;
top: 0;
right: 0;
margin: 16px;
cursor: pointer;
.close_icon {
fill: var(--close-icon);
}
}
}