-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.css
More file actions
executable file
·125 lines (107 loc) · 2.25 KB
/
main.css
File metadata and controls
executable file
·125 lines (107 loc) · 2.25 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
/* reset */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,hr {margin:0; padding:0;}
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th {font-size:1em; font-weight:normal; font-style:normal;}
ul,ol {list-style:none;}
fieldset,img,hr {border:none;}
caption,th {text-align:left;}
table {border-collapse:collapse; border-spacing:0;}
td {vertical-align:top;}
/* reset ends */
body {
font-family: Verdana, Helvetica, sans-serif;
}
h1 {
font-size: 24px;
font-weight: bold;
}
ul { margin-top: 10px; }
li { margin-top: 5px;}
#wrapper {
margin: 60px auto;
width: 1200px;
}
.container {
margin: 10px auto;
width: 1020px;
overflow: auto;
}
#topbar {
overflow: auto;
}
#player-field {
float: left;
width: 640px;
margin-left: 2px;
}
#score-text {
display: block;
float: right;
width: 80px;
margin-right: 15px;
}
#score-field {
display: block;
position: relative;
margin-right: 2px;
float: right;
width: 80px;
text-align: right;
}
#scoreboard {
margin-right: 2px;
float: right;
width: 400px;
}
#scoreboard h1 { text-align: right; }
#message {
float: left;
width: 350px;
margin-left: 2px;
}
#game {
position: relative; /* for 'shake' effect */
display: block;
margin: 0 auto;
border: 10px solid black;
border-radius: 5px;
}
#name-container {
position: absolute;
top: 260px;
width: 1200px;
z-index: 10; /* ontop */
visibility: hidden;
}
#player {
width: 300px;
margin: 0 auto;
overflow: auto;
background: #fff;
padding: 20px;
border-radius: 5px;
border: 2px solid #eee;
text-align: center;
}
#player h1 {
font-size: 26px;
font-weight: normal;
margin-bottom: 16px;
}
#player label {
font-size: 26px;
}
#player label input[type="text"] {
padding: 8px;
letter-spacing: 0.1em;
height: 30px;
width: 200px;
font-size: 20px;
}
#player h2 {
font-size: 22px;
margin-top: 16px;
}
.date { float: right; }
.name { margin-left: 10px; }
.warning { border: 2px solid red }
.valid { border: 2px solid green;}