-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.css
More file actions
69 lines (61 loc) · 955 Bytes
/
project.css
File metadata and controls
69 lines (61 loc) · 955 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
64
65
66
67
68
69
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Raleway", serif;
font-optical-sizing: auto;
}
:root {
--dark-grey: hsl(240, 56%, 9%);
--light-grey: #f5f6f7;
--white: #ffffff;
--black: #000;
}
body {
background-color: #fff;
text-align: center;
padding: 10px;
}
.title,
.options-label,
.team-stats,
footer {
color: #121212;
}
.title {
margin: 1.3rem 0;
}
.team-stats {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
font-size: 1.3rem;
margin: 1.2rem 0;
}
.options-label {
font-size: 1.2rem;
}
.cards {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.player-card {
background-color: #cfcfcf;
padding: 1.3rem;
margin: 1.2rem;
width: 300px;
border-radius: 15px;
border: solid 1px #121212;
}
.player-card img{
width: 100%;
}
@media (max-width: 768px) {
.team-stats {
flex-direction: column;
}
}