forked from code-jammers/js13kb-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
112 lines (108 loc) · 1.94 KB
/
index.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
body {
background: #000;
color: #f5f5f5;
overflow: hidden;
margin: 0;
}
body > * {
font-family: monospace;
user-select: none;
}
link,
[hidden] {
display: none !important;
}
#ene {
height: 30px;
width: 30px;
position: absolute;
} /*enemy*/
#sst {
border-radius: 50%;
width: 100%;
height: 100%;
background-image: url(assets/images/rocket.png);
background-repeat: no-repeat;
background-size: cover;
transform: rotate(180deg);
background-color: transparent;
} /*space ship top*/
#ssm {
width: 100%;
display: block;
background-color: green;
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
height: 6px;
top: 42px;
} /*space ship mid*/
#ssb {
width: 18px;
height: 15px;
bottom: -2px;
left: 6px;
position: relative;
display: block;
border-radius: 50%;
}
.hei {
width: 100%;
height: 100%;
transform: rotate(180deg);
} /*henchman image*/
.hen {
position: absolute;
width: 12px;
height: 12px;
} /*henchman*/
#not {
pointer-events: none;
font-size: 32px;
font-family: system-ui;
color: rgb(238, 56, 32, 1);
z-index: 1000000;
width: 100%;
position: absolute;
top: 10%;
text-align: center;
} /*notification*/
#not div[sub]{
font-family: monospace;
font-size: 12px;
color: #fff;
max-width: 300px;
margin: 0 auto;
text-align: center;
}
.b-q {
width: 10px;
height: 6px;
border: 1px solid rgb(248, 190, 28);
background: rgba(248, 190, 28, 0.5);
filter: blur(1px);
} /*bullet quantum*/
.b-p {
width: 36px;
height: 7px;
border: 1px solid rgb(132, 255, 255);
background: rgba(132, 255, 255, 0.5);
border-radius: 0px;
filter: blur(3px);
}
.b-t {
pointer-events: none;
width: 36px;
height: 36px;
border: 1px solid rgb(255, 73, 49);
filter: blur(2px);
background: rgba(255, 73, 49, 0.2);
border-radius: 50%;
}
.b-b {
width: 10px;
height: 6px;
border: 1px solid rgb(255, 255, 255);
background: rgba(255, 255, 255, 0.3);
filter: blur(1px);
}