-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (88 loc) · 1.72 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
*{
margin:0;
padding:0;box-sizing: border-box;
font-family:Verdana, Geneva, Tahoma, sans-serif;
}
body{
display: flex;
padding: 0 10px;
align-items: center;
justify-content: center;
min-height:100vh;
background-color: aquamarine;
}
.wrapper{
width:770px;
padding: 35px;
background-color: white;
border-radius: 10px;
box-shadow: 0 10px 15px rgba(0,0,0,0.5);
}
.wrapper .content-box{
padding: 13px 20px 0;
border-radius: 10px;
border: 1px solid #bfbfbf;
}
.wrapper .input-field{
padding:13px 20px 0;
position: absolute;
opacity:0;
z-index: -99;
}
.wrapper .heading{
text-align:center;
margin-bottom: 10px;
}
.content-box .content{
margin-top: 17px;
display:flex;
padding: 12px 0;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
border-top: 1px solid #bfbfbf;
}
.content-box .content .result-details{
display: flex;
align-items: center;
justify-content: space-between;
width: calc(100% - 140px);
}
.result-details{
display: flex;
height: 20px;
list-style: none;
align-items: center;
}
.content button{
width: 105px;
outline: none;
border: none;
background-color: aquamarine;
padding: 8px 0px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
transition: transform 0.3s ease;
}
.content button:active{
transform: scale(0.97);
}
.typing-text p span{
position:relative;
}
.typing-text p span.active{
color:orange;
}
.typing-text p span.correct{
color:green;
}
.typing-text p span.incorrect{
color:red;
outline: 1px solid #fff;
background-color: #ffc0cb;
border-radius: 4px;
}
::selection{
background-color: aquamarine;
}