-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
131 lines (113 loc) · 2.34 KB
/
styles.css
File metadata and controls
131 lines (113 loc) · 2.34 KB
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
*, *::before, *::after {
box-sizing: border-box;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
body {
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
background-color: #333;
}
.container {
width: 900px;
max-width: 80%;
z-index: 300;
position: relative;
height:300px;
}
.btnsGrid {
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto;
gap: 10px;
margin-top: 2rem auto;
width: 100%;
}
.btn{
background-color: hsl(0, 0%, 100%);
border: 1px solid hsl(0, 100%, 30%);
border-radius: 5px;
padding: 5px 10px;
color: black;
outline: none;
align-items: center;
justify-content: center;
}
.btn:hover {
border-color: white;
background-color: hsl(0, 100%, 30%);
color: white;
}
.namecontainer {
width: 800px;
max-width: 80%;
background-color: white;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px 2px;
}
.health-bar {
width: 200px;
height: 20px;
background-color: #ddd;
border: 2px solid #333;
position: relative;
}
.health-status {
width: 100%;
height: 100%;
background-color: #4CAF50; /* Green */
transition: width 0.3s ease;
}
.text {
color: white;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
font-size: 25px;
font-weight: 100;
max-width: 80%;
}
p{
color: white;
}
.section {
display: flex;
justify-content: space-evenly;
position: absolute;
bottom: 0;
padding-left: 25px;
padding-right: 25px;
gap: 20px;
color: white;
overflow-x: auto;
}
#log1, #log2{
min-width: 25vw;
max-height: 10px !important;
border: 1px solid black;
padding: 20px;
color: white;
overflow-x: auto;
}
.characterStat{
margin-top: auto;
max-height: fit-content;
}
.photo{
display: flex;
flex-direction: column;
border: solid black 10px;
position: fixed;
top: 0;
}
#locationImage {
border: solid, black 2px;
}
#description {
background-color: white;
text-align: center;
}