-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (131 loc) · 2.49 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
body {
margin: 0;
padding: 0;
outline: 0;
font-family: 'Orbitron', sans-serif;
background-color: #120610;
}
#shopSite {
display: flex;
flex-flow: row;
width: 90vw;
margin: 10px auto;
justify-content: center;
}
@media all and (max-width: 1260px){
#shopSite {
width: 100vw;
margin: 0;
}
}
#gunsDisplay {
width: 70%;
max-height: 98vh;
margin: auto;
overflow: hidden;
overflow-y: scroll;
display: flex;
flex-flow: row;
flex-wrap:wrap;
justify-content: center;
align-items: center;
}
#cartOutsideBox {
max-height: 60%;
overflow-y: scroll;
}
#shoppingCart {
width: 30%;
max-height: 98vh;
overflow: hidden;
box-sizing: border-box;
background-color: lightgrey;
color: black;
text-align: right;
padding: 15px;
font-size: 1.2em;
}
.gunItem {
height: 170px;
width: 250px;
margin: 5px;
background: darkgrey url(img/gun1.png) center no-repeat;
background-size: 120px;
text-align: center;
font-size: 1.2em;
color: white;
display: flex;
flex-flow: column;
justify-content: space-between;
position: relative;
transition: all 0.3s;
}
.gunItem:hover {
color: gold;
text-shadow: 0 0 5px black;
}
.gunName {
background-color: darkgreen;
margin-top: 0;
padding: 5px 0;
}
.new {
position: absolute;
left: 0;
bottom: 53%;
background-color: gold;
box-shadow: 0 0 6px #000;
padding: 5px;
display: none;
font-size: smaller;
text-shadow: 0 0 1px black;
color: crimson;
}
.gunPrice {
background-color: darkgreen;
margin-bottom:0;
padding: 5px 0;
}
#money {
font-size: 1.5em;
text-shadow: 2px 2px 5px white;
font-weight: bolder;
}
#amountOfItems {
text-align: left;
}
.itemInfo {
height: 150px;
width: 100%;
margin: 0 auto;
padding: 0 10px;
display: flex;
justify-content: space-between;
background: url(img/gun1.png) center no-repeat;
background-size: 150px;
box-sizing: border-box;
border-bottom: 1px solid white;
transition: all .3s;
cursor: pointer;
}
.itemInfo:hover {
background-color:darkgrey;
color: white;
text-shadow: 1px 1px 5px black;
}
#totalPrice {
margin-bottom: 0;
text-align: center;
background-color: darkgrey;
color: white;
text-shadow: 1px 1px 5px black;
border: 1px solid black;
padding: 10px 0;
transition: all 0.3s;
cursor: pointer;
}
#totalPrice:hover {
background-color: lightgrey;
color: black;
text-shadow: 1px 1px 5px white;
}