-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbutton.css
More file actions
61 lines (53 loc) · 1.33 KB
/
button.css
File metadata and controls
61 lines (53 loc) · 1.33 KB
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
.kg-button-card .kg-btn,
.kg-button-card .kg-btn-accent {
background: linear-gradient(0deg, #e14943 0%, #fa5d54 100%);
border: none;
border-radius: 12px;
box-shadow: 0px 4px 13px 0px rgba(250, 93, 84, 0.3);
color: white;
cursor: pointer;
display: flex;
font-family: 'Rubik', sans-serif;
font-size: 0.875rem;
font-weight: 700;
justify-content: center;
padding: 15px;
text-transform: uppercase;
width: 100%;
}
.kg-button-card .kg-btn:hover,
.kg-button-card .kg-btn-accent:hover {
background: linear-gradient(0deg, #e14943 0%, #fa5d54 100%);
box-shadow: 0px 4px 13px 0px rgba(250, 93, 84, 0.4);
}
.kg-button-card__group {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
}
.kg-button-card.kg-align-left,
.kg-button-card.kg-align-center {
display: flex;
}
.kg-button-card.kg-align-left {
justify-content: flex-start;
}
.kg-button-card.kg-align-center {
justify-content: center;
}
@media (min-width: 768px) {
.kg-button-card__group {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
}
}
@media (min-width: 834px) {
.kg-button-card .kg-btn,
.kg-button-card .kg-btn-accent {
font-size: 1rem;
width: fit-content;
}
.kg-button-card__group {
grid-template-columns: repeat(2, max-content);
}
}