-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
158 lines (131 loc) · 2.58 KB
/
style.css
File metadata and controls
158 lines (131 loc) · 2.58 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
body {
background-color: rgb(248, 248, 197);
text-align: center;
}
h1 {
font-family: Apple Chancery, cursive
}
.narrative {
background-color: whitesmoke;
border: 2px solid brown;
border-radius: 30px;
padding: 10px;
margin: auto;
width: 50%;
height: 400px;
text-align: center;
}
.narrative p {
font-family: 'Press Start 2P', monospace;
font-size: x-large;
}
#room2 {
display: none;
}
#room3 {
display: none;
}
#room4 {
display: none;
}
#action-display {
background-color: skyblue;
opacity: 0.8;
display: flex;
justify-content: space-evenly;
margin: 10px auto;
width: 50%;
height: 2.5em;
}
#action-display div {
padding-top: .5em;
font-family: 'Press Start 2P', monospace;
}
#displayed-with {
display: none;
}
section {
margin: 10px auto;
width: 60%;
display: flex;
justify-content: space-around;
}
section div {
background-color: whitesmoke;
border: 2px solid rgb(248, 204, 204);
border-radius: 30px;
padding: 10px;
/* background-color: rgb(248, 204, 204); */
height: 180px;
width: 400px;
margin: 0 5px;
}
#action-container {
display: flex;
flex-wrap: wrap;
}
.action {
background-color: rgb(33, 144, 189);
height: 60px;
width: 100px;
margin: 1px;
font-size: x-large;
}
#inventory {
font-size: large;
}
h4 {
margin: 10px;
}
ul {
list-style: none;
margin:0;
padding: 0;
max-height: 100px;
overflow: auto;
}
.item {
height: 1em;
width: 100px;
}
.target {
font-weight: bold;
font-style: oblique;
}
.selected {
background-color: #bada55;
}
/* Modal Box styling modified from W3 schools lesson on modal */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
/* background-color: rgb(0,0,0); Fallback color */
/* background-color: rgba(0,0,0,0.4); Black w/ opacity */
}
.modal-content {
background-color: #f0abab;
font-family: 'Press Start 2P', monospace;
font-size: large;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 50%; /* Could be more or less, depending on screen size */
}
.close {
color: #aaa;
float: inline-end;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}