-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathscreen.css
127 lines (119 loc) · 1.92 KB
/
screen.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
html, body {
margin: 0;
padding: 0;
}
body {
background: #ccc;
padding: 1em;
font-family: sans-serif;
}
textarea {
width: 100%;
height: 40em;
font-family: 'Menlo', 'Monaco', 'Bitstream Vera Sans Mono', 'Lucida Sans Console', monospace;
font-size: 11px;
}
button, label, input, select {
cursor: pointer;
}
#container, #nav, #footer {
width: 590px;
margin: 0 auto;
background: #fff;
}
#container {
padding: 1em;
border-style: solid;
border-color: #666;
border-width: 0px 2px 2px 2px;
}
#nav {
padding: 0.5em 1em;
background: #666;
border: 2px solid #666;
}
#nav, #nav a {
color: #fff;
}
#nav h1 {
font-size: 100%;
}
#nav ul, #nav li {
display: inline;
padding: 0;
margin: 0;
list-style-type: none;
}
#nav a, #nav h1 {
display: inline;
padding: 0.5em 1em;
}
#nav a[href="#play"] {
background: #f99;
}
#nav a[href="#docs"] {
background: #6c6;
}
#nav a[href="#about"] {
background: #99f;
}
#nav.play {
border-bottom: 8px solid #f99;
}
#nav.docs {
border-bottom: 8px solid #6c6;
}
#nav.about {
border-bottom: 8px solid #99f;
}
#footer {
background: transparent;
font-size: small;
text-align: center;
margin-top: 1em;
}
#footer, #footer a {
color: #333;
}
#game > div {
float: left;
}
#arena {
padding: 0;
border-width: 10px;
border-style: solid; /* 'inset' looks washed-out on Firefox */
border-color: #555 #ccc #ccc #555;
margin-right: 1em;
line-height: 0; /* Extra space appears otherwise */
}
#controls {
text-align: center;
line-height: 200%;
}
#controls button {
font-size: 120%;
padding: 0.3em;
}
#errors {
color: #c00;
background: #fee;
border: 2px solid #f00;
padding: 1em;
margin-bottom: 1em;
font-family: monospace;
white-space: pre-wrap;
}
#choices {
padding: 0.2em;
border: 2px solid #ccc;
}
#editor, #choices {
margin-top: 1em;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}