-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
142 lines (120 loc) · 2.06 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Roboto Mono", monospace;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
/* box-sizing: border box means elements wont resize due to padding/border width */
}
body {
margin: 0;
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
flex-direction: column;
background: radial-gradient(
circle,
rgba(238, 174, 202, 1) 0%,
rgba(148, 187, 233, 1) 100% /* https://cssgradient.io/ */
);
}
body,
.quote-display,
.quote-input {
font-weight: bold;
}
.border {
border-style: solid;
border-width: 2px;
}
.container {
width: 750px;
background-color: beige;
padding: 2rem;
border-radius: 1rem;
box-shadow: 5px 5px 10px 0px #755575;
}
#container-header {
display: flex;
flex-direction: row;
font-size: 18px;
margin: 2px;
margin-bottom: 1rem;
}
.header-item {
font-size: 18px;
}
.header-title {
display: flex;
margin: auto;
font-size: 1rem;
color: #333;
}
.quote-display {
margin: 2px;
font-size: 1.5rem;
margin-bottom: 1rem;
}
#timer-label {
display: flex;
}
.timer {
display: flex;
justify-content: end;
}
.text-input {
height: 4rem;
width: 100%;
font-size: 2rem;
padding: 0.5rem 0.5rem;
}
.parameter-container {
display: flex;
margin-top: 1rem;
justify-content: space-between;
}
.line {
display: flex;
align-items: center;
}
label {
font-size: 14px;
}
.checkbox {
margin-top: 1rem;
margin-left: 1em;
transform: scale(1.5);
}
.new-button {
width: 8rem;
padding: 0.5rem;
}
.input-box {
font-size: 12px;
height: 1.5rem;
padding: 0em 0.5em 0em 0.5em;
}
.options {
display: flex;
flex-direction: column;
justify-content: space-between;
}
/* TODO: Change these to hex values for improved visibility. */
.correct {
color: rgb(36, 194, 0);
}
.typo {
color: red;
font-weight: bold;
}
/* stops title being shifted */
.timer {
min-width: 3em;
}
.wpm {
min-width: 2rem;
}