-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
170 lines (144 loc) · 2.41 KB
/
style.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
*,
*::before,
*::after{
box-sizing: border-box;
}
html, body {
height: 100%;
background: #1B2838;
color: white;
text-align: center;
font-family: 'Plus Jakarta Sans', sans-serif;
/* overflow: hidden; */
/* overflow-x: hidden; */
}
li{
list-style-type: none;
/* padding: 0 30px; */
}
.hidden{
display: none !important;
}
/* Game List Styling */
#thumbList{
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%
}
/* Three Row */
@media screen and (min-width: 1100px){
#thumbList > *{
width: 30%;
}
}
/* Two Rows */
@media screen and (max-width: 1059px) and (min-width: 721px){
#thumbList > *{
width: 45%;
}
}
/* One Row */
@media screen and (max-width: 720px){
#thumbList > *{
width: 100%;
}
html, body{
width: 100%;
height: 100%;
}
#gameDetails{
height: 100%;
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
#gameIdentity{
height: 50%;
width: 100%;
}
#gameImage{
width: 100%;
height: auto;
}
#gameRatings, #gamePrice{
width: 100%;
}
/* #thumbList{
justify-content: center;
} */
}
/* Game Details Styling */
#gameDetails{
display: flex;
flex-direction: row;
flex-wrap: wrap;
/* justify-content: */
}
#gameIdentity{
width:50%;
}
#gameImage{
height:80%;
width:60%;
background-size: cover;
}
/* Rating Styling */
#gameRatings{
width: 50%;
}
#gameRatingText{
width: 100%;
font-size: 3em;
}
#gameRatingPercent{
font-size: 3em;
}
/* Lower Styling */
/* Price Styling */
#gamePrice{
width: 100%;
padding-top: 80px;
}
#originalGamePrice{
color: grey;
text-decoration: line-through;
font-size: 5em;
}
#saleGamePrice{
color: #06c606;
font-size: 10em;
padding-left: 120px;
}
#percentOff{
width: 100%;
}
#salePercent{
color: red;
font-size: 5em;
}
/* <div class = 'hidden' id = 'gameDetails'>
<section id = 'gameIdentity'>
<h1 id = 'gameTitle'>GAME</h1>
<img id = 'gameImage' src = ''>
</section>
<section id = 'gamePrice'>
<span id = 'originalGamePrice'></span>
<span id = 'saleGamePrice'></span>
</section>
<section id = 'gameRatings'>
<span id = 'gameRatingText'></span>
<span id = 'gameRatingPercent'></span>
</section>
</div> */
button{
display: block;
margin: 0 auto;
background: #1e1e9f;
width: 25%;
height: 7.5%;
border-radius: 8%;
border: none;
color: white;
}