-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguessinggame.css
106 lines (105 loc) · 1.62 KB
/
guessinggame.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
* {
padding: 0;
margin: 0;
}
*:focus {
outline: none;
}
body {
background-color: #f0fff0;
}
input[type='button']{
background-color: #ffe0d8;
width: 1em;
height: 1em;
}
h1 {
text-align: center;
font-size: 48px;
padding: 20px;
background-color: #ffe0d8;
font-weight: bold;
border-bottom: 1px solid;
}
p, label {
padding: 10px;
}
.result {
text-align: center;
margin-top: 10px;
padding: 40px;
}
.result p:first-child {
font-size: 40px;
padding-bottom: 20px;
}
.result p:last-child {
font-size: 24px;
}
.guess {
text-align: center;
padding: 0 1em 0 1em;
width: 40%;
margin: auto;
border: 2px dashed #ffe0d8;
}
.guess label[for="number"] {
display: block;
margin: auto;
padding-bottom: 20px;
}
.guess input[type="text"] {
margin: auto;
margin-bottom: 1.5em;
border-width: thin;
}
.guess input:focus {
border-color: #ffe0d8;
border-width: medium;
}
.guess label[for="submit"] {
display: inline-block;
}
.guess input[type="button"] {
display: inline;
}
.left {
text-align: center;
width: 50%;
margin: auto;
padding-top: 35px;
}
.left p {
font-style: italic;
}
.hint {
display: inline-block;
float: right;
padding-right: 0em;
margin-right: 1em;
margin-top: 1em;
}
.hint label[for="hint"] {
display: inline-block;
margin-left: auto;
margin-bottom: auto;
}
.hint input[type="button"] {
display: inline-block;
}
#hintText {
text-align: center;
margin-top: 1.3em;
display: none;
}
.resetGame {
display: inline-block;
width: 9.4em;
border: 2px dashed #ffe0d8;
padding-left: 0em;
margin-left: 1em;
margin-top: 1em;
}
.resetGame input {
display: inline;
}