-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
161 lines (152 loc) · 3.33 KB
/
styles.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: linear-gradient(90deg, hsla(205, 46%, 10%, 1) 0%, hsla(191, 28%, 23%, 1) 50%, hsla(207, 41%, 27%, 1) 100%);
color: white;
}
h1{
text-align: center;
margin: 40px auto;
font-family: 'Black Ops One',cursive;
font-weight: 500;
font-size: 39px;
letter-spacing: 2px;
word-spacing: 2px;
line-height: 32px;
}
span#span1{
color: #9aff00;
}
span#span2{
color: #53aee7;
}
span#span3{
color: #bcb7b7;
}
div#gun{
transform: rotate(180deg);
transform: rotateY(180deg);
display: inline-block;
}
.vsLogo{
height: 60px;
width: 60px;
border-radius: 50%;
position: absolute;
left: 42%;
bottom: -23%;
z-index: 1;
}
@keyframes fight {
from{
bottom: -25%;
}
to{
bottom : 42.5%
}
}
.game{
display: flex;
padding: 5px;
width: 100%;
height: auto;
position: relative;
overflow: hidden;
margin-top: -10px;
position: relative;
}
.player,.pc{
height: 75vh;
width: 49%;
margin: 1%;
border: solid 2px #a48b8b;
border-radius: 20px;
text-align: center;
}
.player p,.pc p{
font-size: 25px;
margin: 40px auto;
font-family: 'ADLaM Display', cursive;
background: linear-gradient(90deg, hsla(333, 100%, 53%, 1) 0%, hsla(33, 94%, 57%, 1) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 40px rgb(234, 130, 147);
}
.options{
display: flex;
flex-direction: column;
justify-content: center;
margin: 0 auto;
height: auto;
width: auto;
}
.options div{
border: solid 2px rgb(75, 73, 73);
border-radius: 15px;
padding: 14px;
margin: 5px;
height: 50px;
font-size: 18px;
background-color: #d5d5d5;
font-family: 'Raleway', sans-serif;
font-weight: 700;
color: black;
}
#pcImage , #playerImage{
margin: 10px 2px;
width : 75%;
height: 60%;
border-radius: 10px;
visibility: hidden;
}
@media screen and (max-width : 550px) {
#pcImage , #playerImage{
width : 85%;
height: 40%;
}
}
@media screen and (min-width : 551px) {
#pcImage , #playerImage{
width : 80%;
height: 60%;
}
}
#playerImage{
position: relative;
top: -180px;
}
#result{
width: 80vw;
height: 90px;
font-size: 19px;
font-weight: 600;
border: double 4px #a48b8b;
border-radius: 10px;
position: absolute;
bottom: 6%;
left: 10%;
font-family: 'Raleway', sans-serif;
text-align: center;
background-image: url("https://th.bing.com/th/id/OIP.9QTlPBQOmjrc0Uz-EYdwGAHaEo?w=236&h=180&c=7&r=0&o=5&dpr=1.5&pid=1.7");
background-size: 100%;
background-repeat: no-repeat;
}
button{
height: 30px;
width: auto;
padding: 2px 10px;
margin: 8px 2px;
font-size: 15px;
border-radius: 20px;
border-style: none;
position: absolute;
bottom: 6%;
left: 35.5vw;
font-family: 'Raleway', sans-serif;
border: solid 1px black;
color: #e66808;
font-weight: 800;
}