-
Notifications
You must be signed in to change notification settings - Fork 403
/
Copy pathexample-list.module.css
97 lines (83 loc) · 1.73 KB
/
example-list.module.css
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
87
88
89
90
91
92
93
94
95
96
97
.card {
background-color: var(--ifm-pre-background);
color: inherit;
padding: 1rem;
display: grid;
height: 100%;
grid-template-columns: 2rem 1.75fr;
grid-template-rows: 1fr;
gap: 1rem;
grid-template-areas: "logo-img content";
border-radius: 8px;
border: 1px solid var(--ifm-color-emphasis-200);
transition: all 0.2s ease;
}
.card:hover {
border-color: var(--ifm-color-emphasis-300);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
transform: translateY(-2px);
}
.cardcontent {
display: flex;
justify-content: space-between;
flex-direction: column;
}
.cardimage {
grid-area: logo-img;
width: 2rem;
}
.cardtitle {
margin-bottom: 0.25rem;
font-size: var(--ifm-h4-font-size);
}
.cardbuttongroup {
grid-area: buttons;
display: flex;
flex-direction: row;
}
.cardbutton {
display: flex;
align-items: center;
background-color: transparent;
border: 1px solid var(--ifm-color-emphasis-300);
color: inherit;
padding: 8px 12px;
cursor: pointer;
border-radius: 4px;
transition: all 0.2s ease;
}
.cardbutton:hover {
background-color: var(--ifm-color-emphasis-200);
border-color: var(--ifm-color-emphasis-400);
transform: translateY(-1px);
}
.cardbutton:first-child {
margin-right: 0.5rem;
}
.cardbuttonimg {
fill: var(--ifm-font-color-base);
margin-right: 0.25rem;
}
.examplesection {
max-width: var(--ifm-container-width-xl);
margin: 0 auto;
padding: 0rem 0rem 3rem;
}
.examplesectionheading {
padding-bottom: 1rem;
}
.cardgrid {
margin: 0 auto;
display: grid;
gap: 1rem;
}
@media screen and (min-width: 600px) {
.cardgrid {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (min-width: 996px) {
.cardgrid {
grid-template-columns: repeat(3, 1fr);
}
}