-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathstyle.css
189 lines (174 loc) · 4.2 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
/* Animations woohoo */
/* Rotation animation */
/* Solution found on StackOverflow: https://stackoverflow.com/questions/16771225/css3-rotate-animation#16771693 */
@keyframes rotation {
100% {
-webkit-transform: rotate(360deg);
transform:rotate(360deg);
}
}
@font-face {
font-family: VCR OSD Mono;
src: url("../fonts/VCR_OSD_MONO.ttf");
}
/* Body */
/* Solution for disabling text selection found on StackOverflow:
https://stackoverflow.com/questions/3779534/how-do-i-disable-text-selection-with-css-or-javascript */
body{
background: #ffe09f;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select:none;
user-select:none;
-o-user-select:none;
}
.gameFullContent{
width: 100%;
display: flex;
}
/* Left Container */
/* just a placeholder atm */
.leftContainer{
width: calc(100% * 0.25);
}
.version{
font-family: VCR OSD Mono, cursive;
}
.resetButton{
position: absolute;
bottom: 5px;
left: 5px;
width: 9%;
height: 4%;
border: 3px solid black;
font-size: 12pt;
font-family: VCR OSD Mono, cursive;
background: #ffb84c;
color: white;
cursor: pointer;
}
/* Main Container */
/* THE BITCOIN IMAGE */
.mainGameContent{
width: calc(100% * 0.5);
}
/* Right Container */
/* All items which you can buy */
.rightContainer{
width: calc(100% * 0.25);
border: 4px solid white;
max-height: 96vh;
overflow-y: auto;
overflow-x: hidden;
}
.bitcoinAmountDisplay{
text-align: center;
font-family: VCR OSD Mono, cursive;
font-size: 45pt;
color: white;
text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
margin: 20px 0 0 0px;
}
.satoshiAmountDisplay {
text-align: center;
font-family: VCR OSD Mono, cursive;
font-size: 15pt;
color: white;
text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
padding: 0 !important;
margin: 0 0 -15px 0px;
}
.bSecRate{
text-align: center;
font-family: VCR OSD Mono, cursive;
font-size: 25pt;
color: white;
text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black
}
/* BITCOIN */
.bitcoin{
width: 25%;
display: block;
position: absolute;
left: 30%;
right: 30%;
margin: 0 auto;
top: 25%;
transition: width 0.2s ease-in-out, top 0.2s ease-in-out;
animation: rotation 20s linear infinite;
border-radius: 500px;
}
.bitcoin:hover{
width: 27%;
top: 23%;
transition: width 0.2s ease-in-out, top 0.2s ease-in-out;
cursor:pointer;
}
.bitcoin:active{
width: 23%;
top: 27%;
transition: width 0.2s ease-in-out, top 0.2s ease-in-out;
}
/* Item list */
.purchaseList{
list-style-type: none;
font-family: "VCR OSD Mono", cursive;
margin: 0;
padding: 0;
}
/* Optimization for smaller screens */
@media screen and (max-width: 767px) {
/* BITCOIN */
.bitcoin{
width: 35%;
display: block;
position: absolute;
left: 30%;
right: 30%;
margin: 0 auto;
top: 35%;
transition: width 0.2s ease-in-out, top 0.2s ease-in-out;
animation: rotation 20s linear infinite;
border-radius: 500px;
}
.bitcoin:hover{
width: 37%;
top: 33%;
transition: width 0.2s ease-in-out, top 0.2s ease-in-out;
cursor: pointer;
}
.bitcoin:active{
width: 33%;
top: 37%;
transition: width 0.2s ease-in-out, top 0.2s ease-in-out;
}
}
/* Item list item */
.purchaseItem{
width: 99%;
border-top: 3px solid white;
border-bottom: 3px solid white;
border-right: 3px solid white;
padding-left: 10px;
background: linear-gradient(#ffe09f, #ffb84c);
}
.purchaseItem:hover{
background: linear-gradient(90deg, #ffe09f, #ffb84c);
cursor: pointer;
}
.amountOfItem{
float: right;
font-size: 66pt;
margin-right: 15px;
color: rgba(0,0,0,.4);
margin-top: -10px;
margin-bottom: -50px;
}
.itemHeadline{
font-size: 20pt;
font-weight: bold;
margin-bottom: 0px;
margin-top: 10px;
color: white;
text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
}