-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
108 lines (92 loc) · 1.59 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
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #1a202c;
}
.container {
background-color: #2d3748;
padding: 20px;
border-radius: 8px;
}
.lcd-display {
display: grid;
grid-template-columns: repeat(16, auto);
gap: 4px;
background-color: #1a202c;
padding: 20px;
border: 2px solid #4a5568;
border-radius: 4px;
margin-bottom: 20px;
}
.character {
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(8, 1fr);
gap: 1.4px;
}
.pixel {
width: 5px;
height: 5px;
background-color: #396b3bd8;
}
.pixel.on,
.cursor {
background-color: #d03131;
}
input {
width: 100%;
padding: 8px;
margin-bottom: 10px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 8px;
background-color: #4299e1;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
margin-bottom: 10px;
}
button:hover {
background-color: #3182ce;
}
.cursor-controls {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 5px;
}
.cursor-controls button {
font-size: 18px;
padding: 5px;
}
#up-button {
grid-column: 2;
}
#left-button {
grid-column: 1;
grid-row: 2;
}
#right-button {
grid-column: 3;
grid-row: 2;
}
#down-button {
grid-column: 2;
grid-row: 3;
}
.cursor {
grid-row: 8;
grid-column: 1 / span 5;
animation: blink 1s step-end infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}