-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
133 lines (109 loc) · 2.19 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
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: left;
align-items: left;
min-height: 100vh;
margin: 0;
--main-bg: #B7C68B;
--main-fg: #F4F0CB;
--accent: #685642;
--border-active: #B3A580;
--border-inactive: #DED29E;
--text-bg: #F5F4E9;
--correct-txt:#00AA52;
--incorrect-txt: #E10D3F;
--main-txt: #000000;
--quote-txt: #685642;
background-color: var(--main-bg);
}
body, .quote-input{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.container {
background-color: var(--main-fg);
padding: .5rem;
left: 10px;
border-radius: .5rem;
width: 500px;
max-width: 80%;
}
.timer{
color: var(--accent);
position: absolute;
right: 5px;
top: 5px;
font-size: 1.4rem;
}
.wpm{
color: var(--accent);
position: absolute;
right: 5px;
top: calc(5px + 1.4rem);
font-size:1.4rem;
}
.swpm{
color: var(--accent);
position: absolute;
right: 5px;
top: calc(5px + 2.8rem);
font-size:1.4rem;
}
#settings_wrapper{
display: flex;
align-items:center;
position: absolute;
right: 5px;
bottom: .5rem;
}
#more{
color:var(--accent);
}
.quote-display{
color: var(--quote-txt);
font-size: 1rem;
margin-bottom: 1rem;
margin-left: calc(1rem + 2px);
margin-right: calc(1rem + 2px);
}
.quote-input{
font-size: 1rem;
color: var(--main-txt);
background-color: transparent;
border: 2px solid var(--border-inactive);
outline: none;
width: 100%;
height: 8rem;
margin: auto;
resize: none;
padding: .5rem 1rem;
border-radius: .5rem;
}
.quote-input:focus{
border-color: var(--border-active);
}
.correct{
color: var(--correct-txt);
}
.incorrect{
color: var(--incorrect-txt);
text-decoration: underline;
}
.boxed{
margin: 0;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 30em;
position: absolute;
visibility: hidden;
color: var(--main-txt);
background-color: var(--text-bg);
text-align: center;
border: 20px solid var(--text-bg);
border-radius: .5rem;
z-index: 10;
}