-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (83 loc) · 1.51 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
body {
background-color: #d9ed92;
font-family: "Press Start 2P", system-ui;
}
.focus {
transform: scale(3);
image-rendering: pixelated;
width: auto;
height: auto;
}
main {
height: 100vh;
display: flex;
justify-content: center;
align-content: center;
align-items: center;
}
section {
display: inline-block;
position: relative;
}
#animate {
background-color: black;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
pointer-events: none;
opacity: 0;
z-index: 10;
}
#attack {
background-color: whitesmoke;
display: inline-block;
position: absolute;
height: 135px;
bottom: 0;
left: 0;
right: 0;
border-top: 5px solid black;
display: flex;
}
#attack div:nth-of-type(2) {
width: 66.6%;
display: grid;
grid-template-columns: repeat(2, 1fr);
}
button {
border: 0;
font-size: 16px;
font-family: "Press Start 2P", system-ui;
}
button:nth-of-type(1):hover {
background-color: gainsboro;
cursor: pointer;
}
button:nth-of-type(2):hover {
background-color: gainsboro;
cursor: pointer;
}
#attack div:nth-of-type(3) {
display: flex;
justify-content: center;
align-items: center;
width: 33.33%;
border-left: 5px solid black;
}
#attack h1 {
margin: 0;
font-size: 20px;
}
#dialougeBox {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: white;
padding: 16px;
display: none;
cursor: pointer;
}