generated from chingu-voyages/voyage-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplay.css
199 lines (170 loc) · 2.73 KB
/
play.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/*
* Styling for reset and submit buttons
*/
button {
width: 200px;
padding: 10px 24px;
border: none;
background: rgb(250, 125, 63);
border-radius: 10px;
color: #fff;
}
.reset {
background: #000000;
}
/*
Styling for navbar
*/
a:hover {
color: rgb(255, 182, 47);
}
/*
* Begin styling for play section
*/
body{
background-color: rgb(255, 255, 255);
background-image: linear-gradient(rgb(255, 255, 255), 95%, rgb(255, 182, 47));
}
.game-container {
display: grid;
grid-template-rows: auto 1fr;
}
.info-section {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.entry-instructions {
display: flex;
text-align: center;
padding: 20px 40px 0px;
align-items: center;
flex-direction: column;
max-width: 800px;
}
.story {
padding: 20px 30px;
max-width: 700px;
}
.result {
display: flex;
justify-content: space-between;
gap: 30px;
align-items: center;
}
.story-buttons {
display: flex;
gap: 20px;
}
.story-button {
background: none;
color: #000;
color: inherit;
border: none;
padding: 0;
font: 1.2rem;
cursor: pointer;
outline: inherit;
width: 250px;
}
.story-button:hover {
color: rgb(250, 125, 63)
}
.story-title {
background: red;
background: rgb(250, 125, 63);
margin: 20px 0px 10px;
background-size: 5px;
font-weight: 600;
border-radius: 10px;
}
/*
* Begin styling for form
*/
.form-container {
display: flex;
align-items: center;
flex-direction: column;
}
.input-form {
display: grid;
/* background: #d9d9d9; */
grid-template-columns: 1fr 1fr;
max-width: 700px;
padding: 20px;
/* filter: drop-shadow(8px 8px 0px #292929); */
}
.form-control {
display: grid;
padding: 5px 10px;
grid-template-columns: 1fr 1fr;
align-items: center;
}
.buttons {
display: flex;
justify-content: center;
grid-column-start: 1;
grid-column-end: 3;
gap: 20px;
padding: 40px 0px;
}
.form-control input {
height: 30px;
border: none;
border-radius: 3px;
padding: 4px;
background: #fbfbfb;
border: 1px solid black;
}
.story-container {
display: flex;
align-items: center;
padding: 0px 40px;
}
.button-play-again {
text-align: center;
}
.story-final {
font-size: 1.4rem;
}
.word {
font-size: 1.6rem;
color: #de32fa;
text-decoration: underline;
}
.hidden {
display: none;
}
/*
* End styling for game section
* Begin styling for responsive screens
*/
@media (max-width: 800px) {
.input-form {
display: flex;
flex-direction: column;
width: 75vw;
padding: 0px;
}
.form-control {
grid-template-columns: 2fr 3fr;
width: 75vw;
}
.story-title {
font-size: 1.8rem;
}
.form-control input {
width: 150px;
}
.form-control label {
font-size: 1rem;
}
.story-buttons {
flex-direction: column;
}
.result {
display: flex;
flex-direction: column;
}
}