forked from cloudinary-devs/recolor_demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
73 lines (61 loc) · 1.11 KB
/
style.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
body {
font-family: Arial, sans-serif;
}
ul {
list-style-type: none;
}
li {
display: inline-block;
color: black;
}
input[type="checkbox"][id^="myCheckbox"] {
display: none;
}
@media only screen and (max-width: 480px) {
.card {
width: 100%;
}
}
@media only screen and (min-width: 481px) {
.card {
width: 30%;
}
}
.card {
box-shadow: 0px 8px 16px 4px rgba(0, 0, 0, 0.2);
transition: 0.3s;
display: inline-block;
vertical-align: top;
margin-right: 20px;
margin-bottom: 40px;
overflow-wrap: break-word;
word-break: break-word;
padding-top: 16px;
padding-bottom: 14px;
padding-left: 3px;
padding-right: 3px;
border-radius: 8px;
background-color: white;
min-width: 250px;
}
.card:hover {
box-shadow: 0 16px 24px 8px rgba(0, 0, 0, 0.2);
cursor: pointer;
background-color: white;
}
.cards-container {
display: flex;
flex-wrap: wrap;
}
.card-fixedsize {
height: 150px;
position: relative;
overflow-y: auto;
padding-bottom: 0px;
overflow-x: hidden;
min-width: 250px;
max-width: 350px;
display: flex;
align-items: center;
justify-content: center;
}