forked from AdaGold/inspiration-board
-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathCard.css
More file actions
48 lines (37 loc) · 733 Bytes
/
Card.css
File metadata and controls
48 lines (37 loc) · 733 Bytes
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
.card {
background-color: #F4FF81;
padding: 1em 0;
margin: 0.5rem;
min-height: 250px;
min-width: 225px;
flex-basis: 18%;
border-radius: 5px;
display: grid;
grid-template-columns: 1fr 5fr 1fr;
align-items: center;
}
.card__content {
grid-column-start: 2;
display: flex;
flex-direction: column;
justify-content: space-around;
text-align: center;
font-weight: 100;
overflow: hidden;
}
.card__content-text {
text-overflow: ellipsis;
overflow: hidden;
}
.card__content-emoji {
font-size: 3rem;
}
.card__content-text, .card__content-emoji {
padding: 0;
margin: 0;
}
.card__delete {
align-self: center;
margin-top: 2rem;
font-family: 'Permanent Marker', Helvetica, sans-serif;
}