|
2 | 2 | header("Content-Type: text/css; charset=utf-8"); |
3 | 3 | #header("Cache-Control: max-age=31536000, public"); |
4 | 4 | ?> |
5 | | -@CHARSET "UTF-8"; |
6 | | - |
7 | | -html, body, #container { |
8 | | -margin: 0; |
9 | | -padding: 0; |
10 | | -background-color:#F5F5DC; |
11 | | -text-align: left; |
12 | | -width:100%; |
13 | | -} |
14 | | - |
15 | | -h1, h2 { |
16 | | - font-weight:bold; |
17 | | - margin:0; |
18 | | - padding:0; |
19 | | -} |
20 | | -h1 { |
21 | | - font-size:1.5em; |
22 | | - text-align: center; |
23 | | -} |
24 | | -h2 { |
25 | | - font-size:1.3em; |
26 | | -} |
27 | | - |
28 | | -div { |
29 | | - clear:both; |
30 | | -} |
31 | | - |
32 | | -#game{ |
33 | | - border: 1px solid black; |
34 | | -} |
35 | | - |
36 | | -#hangman_img { |
37 | | - min-height: 160px; |
38 | | - min-width: 85px; |
39 | | - margin-top: 1%; |
40 | | -} |
41 | | -#cur_img { |
42 | | - min-height: 150px; |
43 | | -} |
44 | | - |
45 | | -#words { |
46 | | - border-bottom: 1px solid black; |
47 | | - padding: 1em; |
48 | | - font-size:1.5em; |
49 | | -} |
50 | | - |
51 | | -#footer { |
52 | | - margin: 1%; |
53 | | - padding: 1%; |
54 | | -} |
55 | | - |
56 | | -#hangman_img, #words, #keyboard { |
57 | | - text-align:center; |
58 | | -} |
59 | | -#setup_scores { |
60 | | - text-align:left; |
61 | | -} |
62 | | - |
63 | | -#hangman_img, #setup_scores { |
64 | | - float: left; |
65 | | - width: 49%; |
66 | | -} |
67 | | -#hangman_img { |
68 | | - clear: left; |
69 | | -} |
70 | | -#setup_scores { |
71 | | - clear: right; |
72 | | -} |
73 | | - |
74 | | -ul { |
75 | | - margin:0; |
76 | | - padding:0; |
77 | | - list-style-type: none; |
78 | | - clear:both; |
79 | | -} |
80 | | -#footer ul li, ul.letters li{ |
81 | | - margin:0; |
82 | | -} |
83 | | -#footer ul li { |
84 | | - padding: 0.7em 0 0.7em 2%; |
85 | | -} |
86 | | - |
87 | | -ul.letters { |
88 | | - margin-left: 0.5em; |
89 | | -} |
90 | | -ul.letters li{ |
91 | | - padding: 0.4em; |
92 | | - border:2px solid black; |
93 | | - background-color:#F1F1BA; |
94 | | - width:1.5em; |
95 | | - text-align:center; |
96 | | - border-radius: 0.5em; |
97 | | - box-shadow: rgba(0,0,0,0.2) 0.5em 0.5em 0.3em; |
98 | | - float: left; |
99 | | - margin-right: 1em; |
100 | | - margin-top: 0.5em; |
101 | | - margin-bottom: 0.5em; |
102 | | - font-weight: bold; |
103 | | - cursor:pointer; |
104 | | -} |
105 | | - |
106 | | -ul.letters li.levelset { |
107 | | - background-color:#D1D154; |
108 | | -} |
109 | | - |
110 | | -ul.letters li.hideletter { |
111 | | - background-color:grey; |
112 | | - cursor:auto; |
113 | | -} |
114 | | - |
115 | | -#help ul { |
116 | | - margin-left:5%; |
117 | | - list-style-type: disc; |
118 | | -} |
119 | | - |
120 | | -#setup_scores ul.letters li { |
121 | | - width:auto; |
122 | | -} |
123 | | -#setup_scores ul.letters li.newgame { |
124 | | - float:none; |
125 | | - clear: both; |
126 | | - width: 7em; |
127 | | -} |
128 | | - |
129 | | -ul.scores { |
130 | | - margin-left:5%; |
131 | | - font-weight:bold; |
132 | | -} |
133 | | - |
134 | | -span.endgame { |
135 | | - font-weight:bold; |
136 | | -} |
137 | | - |
| 5 | +@charset UTF-8; |
| 6 | +html,body,#container{background-color:#F5F5DC;text-align:left;width:100%;margin:0;padding:0} |
| 7 | +h1,h2{font-weight:700;margin:0;padding:0} |
| 8 | +h1{font-size:1.5em;text-align:center} |
| 9 | +h2{font-size:1.3em} |
| 10 | +div{clear:both} |
| 11 | +#game{border:1px solid #000} |
| 12 | +#hangman_img{min-height:160px;min-width:85px;margin-top:1%;clear:left} |
| 13 | +#cur_img{min-height:150px} |
| 14 | +#words{border-bottom:1px solid #000;font-size:1.5em;padding:1em} |
| 15 | +#footer{margin:1%;padding:1%} |
| 16 | +#hangman_img,#words,#keyboard{text-align:center} |
| 17 | +#setup_scores{text-align:left;clear:right} |
| 18 | +#hangman_img,#setup_scores{float:left;width:49%} |
| 19 | +ul{list-style-type:none;clear:both;margin:0;padding:0} |
| 20 | +#footer ul li,ul.letters li{margin:0} |
| 21 | +#footer ul li{padding:.7em 0 .7em 2%} |
| 22 | +ul.letters{margin-left:.5em} |
| 23 | +ul.letters li{border:2px solid #000;background-color:#F1F1BA;width:1.5em;text-align:center;border-radius:.5em;box-shadow:rgba(0,0,0,0.2) .5em .5em .3em;float:left;margin-right:1em;margin-top:.5em;margin-bottom:.5em;font-weight:700;cursor:pointer;padding:.4em} |
| 24 | +ul.letters li.levelset{background-color:#D1D154} |
| 25 | +ul.letters li.hideletter{background-color:grey;cursor:auto} |
| 26 | +#help ul{margin-left:5%;list-style-type:disc} |
| 27 | +#setup_scores ul.letters li{width:auto} |
| 28 | +#setup_scores ul.letters li.newgame{float:none;clear:both} |
| 29 | +dl.scores{font-weight:700;clear:both;margin-left:1em} |
| 30 | +dl.scores dd{margin-left:1em} |
| 31 | +span.endgame{font-weight:700} |
138 | 32 |
|
139 | 33 |
|
0 commit comments