-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
140 lines (113 loc) · 1.75 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
/* Geral */
html {
font-family: 'Montserrat', sans-serif;
}
#app {
display: flex;
flex-direction: column;
}
.panel {
margin: 10px;
padding: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
/* Área dos pontos */
.scores {
display: flex;
}
.score {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.score h1 {
font-weight: 300;
font-size: 1.6rem;
}
.life-bar {
width: 80%;
height: 20px;
border: 1px solid #AAA;
}
.life-bar .life {
display: flex;
justify-content: center;
height: 100%;
background-color: green;
}
.life-bar .life.danger {
background-color: red;
}
/* Área do resultado */
.result {
display: flex;
justify-content: center;
font-size: 1.3rem;
font-weight: 600;
}
.result .win {
color: green;
}
.result .lose {
color: red;
}
/* Área dos botões */
.buttons {
display: flex;
justify-content: center;
}
.btn {
padding: 5px 10px;
margin: 0px 10px;
border-radius: 5px;
text-transform: uppercase;
font-size: 1.1rem;
}
.new-game {
color: #fff;
background-color: #4253af;
}
.attack {
color: #fff;
background-color: #e51c23;
}
.especial-attack {
color: #000;
background-color: #ff9800;
}
.heal {
color: #fff;
background-color: #259b24;
}
.give-up {
color: #fff;
background-color: #bbb;
}
/* Área dos logs */
.logs ul {
display: flex;
flex-direction: column;
list-style: none;
padding: 0;
margin: 0;
}
.logs ul li {
display: flex;
justify-content: center;
margin: 4px 0px;
padding: 3px 0px;
font-weight: 600;
font-size: 1.1rem;
text-transform: uppercase;
border-radius: 3px;
}
.player {
background-color: #4253afaa;
color: #fff;
}
.monster {
background-color: #e51c23aa;
color: #fff;
}