-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdesign.css
103 lines (89 loc) · 1.58 KB
/
design.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
98
99
100
101
102
103
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700&display=swap");
body {
display: flex;
}
.card {
color: #fff;
width: 200px;
height: 300px;
background-size: cover;
border-radius: 10px;
display: flex;
flex-direction: column;
gap: 0.7rem;
padding: 1em;
padding-top: 1.4em;
display: flex;
margin: 2em;
}
.crd-img-1 {
background-image: url(img/1.png);
}
.crd-img-2 {
background-image: url(img/2.png);
}
.crd-img-3 {
background-image: url(img/3.png);
}
.crd-img-4 {
background-image: url(img/4.png);
}
.crd-img-5 {
background-image: url(img/5.png);
}
.card .card__title {
margin: 0;
font-size: 1.2rem;
font-weight: bold;
margin-top: 0.2rem;
text-align: center;
color: #ffffff;
font-family: "Merriweather", serif;
text-shadow: #f9f9f933;
}
.card-top {
margin-top: 1em;
}
.rating {
margin: 0 auto;
width: 85px;
height: 16px;
background-image: url("img/star.png");
background-repeat: space;
}
.card .card__info {
display: flex;
margin-top: auto;
font-size: 0.9rem;
color: rgb(146, 255, 82);
font-weight: bold;
justify-content: space-between;
}
.card .card__btns {
display: flex;
gap: 0.6rem;
}
.card button {
border: none;
background: none;
cursor: pointer;
background: #00b9ae47;
color: #fff;
border-radius: 20px;
padding: 0.5rem 1rem;
font-size: 1rem;
font-weight: bold;
transition: 0.2s;
}
.card button:hover {
opacity: 0.8;
transform: scale(0.9);
}
.card .add-btn {
padding: 0.5em 0.8em;
border-radius: 14px;
background-repeat: no-repeat;
}
.card .watch-btn {
flex: 1;
}