-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
63 lines (53 loc) · 888 Bytes
/
style.css
File metadata and controls
63 lines (53 loc) · 888 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
* {
margin: 0;
padding: 0;
}
body {
box-sizing: border-box;
color: white;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
background-color: rgb(45, 44, 44);
}
.box {
padding: 20px;
}
img {
height: 30vh;
width: 25vw;
}
.container {
height: 100vh;
width: 90vw;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
}
#myCards {
display: flex;
align-items: flex-start;
justify-content: space-around;
flex-wrap: wrap;
}
#myCards .card {
width: 380px;
height: auto;
margin: 20px 0;
background-color: black;
box-shadow: 2px 4px 10px 2px rgba(0, 0, 0, 0.5);
}
#myCards .card:hover {
transform: scale(1.1);
}
#myCards .card a {
color: yellow;
font-size: 28px;
cursor: pointer;
text-decoration: none;
}
#myCards .card img {
width: 100%;
}
#myCards .card p {
color: white;
}