-
Notifications
You must be signed in to change notification settings - Fork 0
/
games.css
112 lines (111 loc) · 2.02 KB
/
games.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
104
105
106
107
108
109
110
111
112
@import "reset.css";
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 1.5;
}
li {
display: inline;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: red;
}
li a {
color: black;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: white;
}
.active {
background-color: grey;
}
a {
display:inline-block;
padding: 8px;
}
#logo1 {
margin-left: 40px;
margin-top: 90px;
border-radius: 50px;
}
h1 {
font-size: 35px;
font-weight: bold;
margin: 15px 0 20px;
color: white;
}
.games-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.games-grid .game {
flex-basis: 30%;
margin-bottom: 2rem;
border: 5px solid white;
display: block;
}
.game .image-container {
text-align: center;
padding: 1.5rem 0;
}
.game .image-container img {
max-width: 100%;
border: 1px solid black;
}
.game .title-container {
text-align: center;
}
.game .title-container .product-title {
color: white;
font-size: 1.5rem;
font-weight: bold;
margin: 0.5rem 0;
text-decoration: none;
}
.game .price-container {
display: flex;
padding: 0 1rem;
justify-content: space-between;
color: white;
font-weight: bold;
}
.price-container .old-price {
text-decoration: line-through red;
font-size: 1rem;
}
.price-container .old-price, .price-container .price {
margin: 0.5rem
}
.game .description-container {
padding: 1rem;
color: white;
font-weight: bold;
}
.game .buy-contanier {
padding: 1rem;
text-align: center;
}
.buy-button {
padding: 0.5rem 1rem;
border: 1px solid black;
font-size: 1rem;
background: red;
color: black;
border-radius: 10px;
}
main {
display: flex;
}
footer {
background-color: red;
padding: 40px;
text-align: center;
font-weight: bolder;
}