-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
85 lines (83 loc) · 1.59 KB
/
styles.css
File metadata and controls
85 lines (83 loc) · 1.59 KB
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
@keyframes blink-caret {
from, to {
border-color: transparent;
}
50% {
border-color: limegreen;
}
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 80vh;
}
.monitor {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex-wrap: wrap;
padding: 10px;
height: 20vh;
width: 500px;
border-radius: 20px;
border: 10px solid #D1D1C0;
background-color: black;
box-shadow: 3px 1px 1px gray;
}
.monitor__previous-line {
padding: 0;
color: limegreen;
width: inherit;
text-align: left;
word-wrap: break-word;
}
.monitor__current-line {
padding: 0;
color: limegreen;
width: inherit;
text-align: left;
}
.monitor__current-line--text {
width: 50px;
word-wrap: break-word;
}
.monitor__current-line--typebar {
border-right: 0.15em solid limegreen;
padding-right: 2px;
animation: blink-caret 1s step-end infinite;
}
.keyboard {
display: grid;
grid-template-columns: repeat(15, 50px);
grid-template-rows: minmax(50px, auto) repeat(4, 50px);
background-color: #D1D1C0;
padding: 20px;
border-radius: 20px;
box-shadow: 3px 1px 1px gray;
opacity: 1;
transition: 0.5s;
}
.keyboard__key {
border-radius: 8px 8px 15px 15px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 3px 1px 1px gray;
}
.keyboard__key--span-two {
grid-column: span 2;
}
.keyboard__key--span-three {
grid-column: span 3;
}
.keyboard__key--space {
grid-column: span 7;
}
.keyboard__key--down {
opacity: 0.5;
background-color: lightblue;
transition: 0.1s;
}