-
Notifications
You must be signed in to change notification settings - Fork 0
/
WorkingStyles.css
154 lines (133 loc) · 2.75 KB
/
WorkingStyles.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
body {
background-image: url('testmap.png');
background-size: cover;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem 2rem;
}
.workingContainer {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem 2rem;
width: 100%;
}
.workingSpace {
font-size: 0;
padding: 20px;
width: 600px;
height: 600px;
min-height: 600px;
border: 4px red solid;
white-space: pre-wrap;
}
.game-details {
width: 470px;
height: 100px;
background-color: #000000;
color:rgb(255, 255, 255);
font-size: 1.5rem;
font-weight: 600;
margin-top: 5px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
.game-details .score {
margin-right: 30px; /* Score와 High Score 사이 간격 조절 */
}
.game-details .high-score {
margin-left: 40px; /* Score와 High Score 사이 간격 조절 */
}
.parent {
position: relative;
}
.level {
color:rgb(253, 249, 3);
font-size: 2rem;
width: 180px;
height: 50px;
font-weight: 800;
text-align: center;
background-color: #000000;
position: absolute;
top: 10px;
left: 1px;
}
.buttonSpace {
padding: 20px;
align-items: center;
border: 2px blue solid;
width: 30%;
height: 600px;
}
.codeSpace {
background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='100rem' height='100rem'><text x='0' y='20' fill='044B94' fill-opacity='0.1' font-size='30'>code</text></svg>");
background-repeat:no-repeat;
background-position: center;
padding: 60px;
width: 80%;
height: auto;
min-height: 200px;
border: 4px rgb(0, 255, 76) solid;
white-space: pre-wrap;
}
.errorSpace {
background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='100' height='100'><text x='0' y='50' fill='044B94' fill-opacity='0.1' font-size='20'>Error</text></svg>");
background-repeat:no-repeat;
background-position: center;
padding: 20px 60px;
text-align: center;
font-style: italic;
font-size: 200%;
width: 80%;
height: auto;
min-height: 10px;
border: 4px rgb(144, 211, 255) dotted;
white-space: pre-wrap;
}
.workingText {
font-family: 'Courier New', monospace;
font-size: 30px;
}
.btn {
padding: 10px;
font-size: 20px;
font-style: italic;
background-color: white;
margin: 10px;
}
.btn:hover {
background-color: gray
}
.pageTitle{
width: 100%;
text-align: center;
}
.block {
width: 28px; height: 28px; border: 1px black dotted;
font-size: 12px;
display: inline-block;
}
.blockRow {
display: block;
font-size: 0;
}
.wall {
background: red;
/*background-image: url('snake.jpg');
background-size: cover;*/
}
.ground {
background: white;
}
.user {
background: blue;
}
.key {
background: yellow;
}
.enemy {
background: purple;
}