-
Notifications
You must be signed in to change notification settings - Fork 3
/
game-style.css
58 lines (50 loc) · 1.14 KB
/
game-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
/*!
* game-style.css | Dinosaur Game WordPress Plugin | https://wordpress.org/plugins/dinosaur-game
* This plugin is free to use under the GPLv2 license. | https://www.gnu.org/licenses/gpl-2.0.html
*
* This file contains CSS forked from the 'T-Rex runner' game in Chromium.
* Chromium is under Copyright 2015 by The Chromium Authors. All rights reserved.
* See also: https://cs.chromium.org/chromium/src/LICENSE
*
*/
.dino-outer:first-of-type {
display: block;
border: 1px solid #535353;
margin: 1em auto;
background: rgba(255, 255, 255, 0.5);
}
.dino-icon {
-webkit-user-select: none;
user-select: none;
display: inline-block;
}
.dino-outer .dino-inner {
color: #2b2b2b;
line-height: 0;
font-size: 0;
margin: 16px auto;
max-width: 600px;
width: 100%;
}
.dino-outer .dino-container {
max-width: 600px;
overflow: hidden;
width: 100%;
}
.dino-outer .dino-canvas {
max-width: 600px;
opacity: 1;
overflow: hidden;
z-index: 2;
position: static;
}
.dino-outer .controller {
background: rgba(247, 247, 247, .1);
left: 0;
width: 100vw;
z-index: 1;
}
#dinosaur-game,
[id^=dino-game-sprites] {
display: none;
}