Repository navigation
Expand file tree
/
Copy pathcss.css
More file actions
143 lines (128 loc) · 2.36 KB
/
Copy pathcss.css
File metadata and controls
143 lines (128 loc) · 2.36 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
132
133
134
135
136
137
138
139
140
141
142
143
.dungeon
{
font-family: monospace;
white-space: pre-wrap;
border: 1px solid black; /* Drawing a box with a CSS border now instead of ascii text. */
padding: 5px 10px; /* adds area inside the box */
}
#game-container
{
display: none;
grid-template-columns: 1fr auto 1fr;/*centers the game board by giving the other columns equal space*/
align-items: flex-start;
gap: 20px;
margin-top: 15px;
}
#outputtext
{
min-width: 320px;
height: 25.5em; /* roughly 20 lines + padding */
overflow-y: auto;
margin: 0;
}
#gamegridtext
{
margin: 0;
}
#inventory-list
{
font-family: monospace;
white-space: pre-line;
border: 1px solid black;
display: inline-block;
padding: 5px 10px;
margin: 0;
width: 200px;
box-sizing: border-box;
}
#floor-indicator
{
font-family: monospace;
white-space: pre-line;
border: 1px solid black;
display: inline-block;
padding: 5px 10px;
margin: 0;
width: 200px;
box-sizing: border-box;
}
#equipment-list
{
font-family: monospace;
white-space: pre-line;
border: 1px solid black;
display: inline-block;
padding: 5px 10px;
margin: 0;
width: 200px;
box-sizing: border-box;
}
#hb
{
font-family: monospace;
white-space: pre-line;
border: 1px solid black;
display: inline-block;
padding: 5px 10px;
margin: 0;
width: 200px;
box-sizing: border-box;
}
#right-column
{
display: flex;
flex-direction: column;
gap: 15px;
align-items: flex-start;
position: relative;
}
#helpbutton
{
position: absolute;
right: 0;
top: 0;
}
#traitdisplay
{
font-family: monospace;
white-space: pre-line;
border: 1px solid black;
display: inline-block;
padding: 5px 10px;
margin: 0;
width: 200px;
box-sizing: border-box;
}
#traittext
{
font-family: monospace;
margin: 10px 0 4px 0;
}
#traitlist
{
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
margin-bottom: 10px;
}
#traitlist button
{
font-family: monospace;
text-align: left;
padding: 5px 10px;
border: 1px solid black;
background: white;
cursor: pointer;
max-width: 350px;
}
#traitlist button:hover
{
background: #eee;
}
#traitlist button.selected
{
background: #cde3ff;
border: 2px solid #2b6cb0;
font-weight: bold;
}