-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
73 lines (64 loc) · 1.2 KB
/
index.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
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
img {
width: 100%;
height: 76%;
object-fit: cover;
margin-bottom: 4%;
}
body {
background-color: rgb(22, 22, 22);
}
#root {
padding: 2%;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
/* align-content: center; */
}
.card {
display: flex;
flex-direction: column;
/* border: 1px solid blue; */
box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.589);
height: 68vh;
width: 27vw;
margin: 2% 0% 0% 0%;
}
.card:hover {
box-shadow: 10px 10px 5px rgba(0, 75, 52, 0.589);
}
.card__category {
/* border: 1px solid teal; */
letter-spacing: 1px;
font-size: 83%;
color: rgba(255, 255, 255, 0.432);
margin: 0% 0% 0% 4%;
}
.card__title {
/* border: 1px solid salmon; */
margin: 2% 0% 2% 4%;
color: white;
letter-spacing: 2px;
font-size: 130%;
}
button {
border: 1px solid green;
margin: 0% 0% 0% 4%;
border: none;
padding: 1%;
font-size: 80%;
background-color: rgb(12, 12, 12);
color: white;
padding: 2%;
letter-spacing: .5px;
}
button:hover {
background-color: white;
color: rgb(12, 12, 12);
}