-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (108 loc) · 2.06 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: rgba(7, 8, 17, 0.949);
font-family: "Courier New", Courier, monospace;
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
color: grey;
font-size: 25px;
}
h1 {
font-size: 6.5vh;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: rgb(100, 191, 247);
}
h2 {
font-size: 6vh;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
color: rgb(152, 230, 254);
}
.container {
margin-top: 7vh;
width: 70lvw;
height: 85lvh;
position: relative;
display: flex;
flex-direction: column;
justify-content: stretch;
align-items: center;
}
/*below div is for text that is to typed by the user*/
.text {
font-weight: 100;
font-family: Georgia, "Times New Roman", Times, serif;
width: 70lvw;
height: 25vh;
display: flex;
justify-content: center;
align-items: center;
margin-top: 7vh;
margin-bottom:2vh ;
}
.success {
color: rgb(19, 247, 243);
}
.failure {
color: rgb(234, 53, 89);
}
/*Every letter is listed individually in the ul tag*/
ul {
list-style: none;
display: flex;
color: rgb(19, 232, 247);
justify-content: center;
align-items: center;
}
li{
border: 1px solid rgb(16, 97, 124);
padding: 2vh 1.6vw;
border-radius: 0.8rem;
} /*1rem 1.5rem;*/
.first-row {
margin-bottom: 1vh;
width: 60lvw;
height: 10vh;
gap: 1.5vw;
}
.second-row {
width: 60lvw;
height: 10vh;
margin-bottom: 0.7vh;
gap: 1.5vw;
}
.third-row {
width: 50lvw;
height: 10vh;
margin-bottom: 0.7vh;
gap: 1.4vw;
}
.fourth-row {
width: 45lvw;
gap: 1.4vw;
margin-bottom: 0.7vh;
height: 10vh;
}
.fifth-row {
width: 30vw;
margin-top: 0.7vh;
height: 10vh;
}
.space {
padding: 2vh 12vw;
}
.Backspace , .Shift {
max-height: 9.5vh;
padding-left: 1vw;
padding-right: 1vw;
}
.glow {
background: rgb(16, 97, 124);
opacity: 50%;
transition: background 0.3s;
}