-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
99 lines (85 loc) · 1.52 KB
/
styles.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
* {
box-sizing: border-box;
margin: auto;
}
body {
/* display: flex; */
justify-content: center;
align-items: center;
min-height: 100vh;
/* margin: 0; */
/* background-color: #1f3b4d; */
}
body,
.quote-input {
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
h1 {
text-align: center;
margin-top: 3.5rem;
margin-bottom: 2.8rem;
}
/* .game-box {
width: 100vw;
} */
.container {
background-color: lightblue;
padding: 1rem;
border-radius: 0.5rem;
width: 700px;
max-width: 90%;
/* position: absolute; */
/* transform: translateY(97%); */
/* margin-top: -200px; */
}
.timer {
/* position: relative; */
top: 2rem;
font-size: 3rem;
color: lightblue;
display: block;
margin-bottom: 0.5rem;
text-align: center;
}
.highway {
background-color: black;
width: 100vw;
height: 5em;
margin-bottom: 3rem;
}
#carDiv {
background-color: red;
width: 3rem;
height: 1rem;
position: absolute;
margin-top: 3rem;
margin-left: 0.4rem;
/* transition: left 0.5s ease; */
}
.quote-display {
margin-bottom: 1rem;
margin-left: calc(1rem + 2px);
margin-right: calc(1rem + 2px);
}
.quote-input {
background-color: transparent;
border: 2px solid rgb(136, 171, 182);
outline: none;
width: 100%;
height: 8rem;
/* margin: auto; */
resize: none;
padding: 0.5rem 1rem;
font-size: 1rem;
border-radius: 0.5rem;
}
.quote-input:focus {
border-color: black;
}
.correct {
color: green;
}
.incorrect {
color: red;
text-decoration: underline;
}