-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
138 lines (118 loc) · 2.13 KB
/
style.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
@import url("https://fonts.googleapis.com/css?family=PT+Serif:400,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=PT+Sans:700&display=swap");
* {
margin: 0;
padding: 0;
}
body {
font-family: "PT Serif", serif;
font-weight: 700;
text-align: center;
color: #3c3c3c;
}
.game-container {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #fffdf8;
}
.game {
width: 1000px;
height: 560px;
display: flex;
background: #cddce1;
box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.15);
}
.guesses-panel {
flex: 1;
display: flex;
justify-content: left;
flex-direction: column;
text-align: left;
}
.guesses-header {
margin: 25px 0 0 25px;
}
.previous-guesses {
margin: 25px 0 0 25px;
max-width: 150px;
}
.previous-guesses span {
margin: 5px;
}
.previous-guesses span {
display: inline-block;
}
.game-panel {
flex: 3;
display: flex;
flex-direction: column;
justify-content: center;
}
.game-header {
color: #527690;
font-size: 35px;
margin: 25px 0;
}
.guess-result {
font-size: 24px;
margin: 25px 0 5px 0;
}
.guess-input {
width: 300px;
margin: 25px 0 5px 0;
background: none;
border: none;
border-bottom: 2px solid #3c3c3c;
font-size: 16px;
padding: 5px;
-webkit-appearance: none;
-moz-appearance: textfield;
}
.guess-label {
display: block;
padding-right: 40px;
text-transform: uppercase;
font-family: "PT Sans";
font-weight: 700;
color: rgb(252, 41, 41);
font-size: 12px;
}
.guess-btn,
.new-game-btn {
margin: 25px;
font-size: 14px;
font-family: "PT Sans", sans-serif;
text-transform: uppercase;
letter-spacing: 2px;
border: none;
border-radius: 20px;
padding: 10px 30px;
box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.15);
transition-duration: 0.3s;
cursor: pointer;
}
.guess-btn {
color: #fffdf8;
background: #527690;
}
.new-game-btn {
color: #3c3c3c;
background: #fffdf8;
}
.guess-btn:hover,
.new-game-btn:hover {
transform: scale(1.05);
}
.inactive {
display: none;
}
.tries-panel {
flex: 1;
display: flex;
justify-content: right;
}
.tries-header {
margin: 25px 25px 0 0;
}