-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
134 lines (115 loc) · 1.93 KB
/
styles.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
* {
box-sizing: border-box;
}
html {
font-family: 'Jost', sans-serif;
}
body {
margin: 0;
background-color: #000;
}
header {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
padding: 0.6rem;
background-color: #25f2ff;
color: black;
text-align: center;
margin-bottom: 2rem;
width: 100%;
max-width: 70rem;
margin: auto;
border-color: white;
border-radius: 10px;
}
section {
width: 90%;
max-width: 40rem;
margin: auto;
}
.healthbar {
width: 100%;
height: 40px;
border: 1px solid #575757;
border-radius: 10px;
margin: 1rem 0;
background: black;
border-color: white;
}
.healthbar__value {
background-color: #ffec19;
border-radius: 10px;
width: 100%;
height: 100%;
}
.container {
text-align: center;
padding: 0.5rem;
margin: 1rem auto;
box-shadow: 0 6px 18px rgba(255, 255, 255, 0.26);
border-radius: 12px;
color: #ffec19;
border-color: white;
font-family: 'IBM Plex Mono', monospace;
font-family: 'Poppins', sans-serif;
}
#monster h2,
#player h2 {
margin: 0.25rem;
color: #ffec19;
}
#controls {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
button {
font: inherit;
border: 1px solid #25f2ff;
background-color: #000;
color: #25f2ff;
padding: 1rem 2rem;
border-radius: 12px;
margin: 1rem;
width: 12rem;
cursor: pointer;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.26);
}
button:focus {
outline: none;
}
button:hover,
button:active {
background-color: #25f2ff;
border-color: #25f2ff;
box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.26);
color: white;
}
button:disabled {
background-color: white;
border-color: #7700ff;
box-shadow: none;
color: #7700ff;
cursor: not-allowed;
}
#log ul {
list-style: none;
margin: 0;
padding: 0;
}
#log li {
margin: 0.5rem 0;
}
.log--player {
color: #7700ff;
}
.log--monster {
color: #da8d00;
}
.log--damage {
color: red;
}
.log--heal {
color: green;
}