-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
136 lines (111 loc) · 2.38 KB
/
Copy pathstyles.css
File metadata and controls
136 lines (111 loc) · 2.38 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
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
134
135
136
@import url('https://v1.fontapi.ir/css/SFMono');
/* General styles */
a {
color: wheat;
}
body {
font-family: SF Mono, sans-serif;
color: whitesmoke;
background-color: #222;
display: flex;
justify-content: center;
align-items: flex-start; /* Changed to flex-start to align text box correctly */
margin-top: 4em;
}
h1 {
font-weight: normal;
}
.main-container {
display: flex;
flex-direction: column;
gap: 3em;
}
.line-container {
display: flex;
flex-direction: row;
gap: 2em;
}
.description {
width: 100%;
flex-direction: column;
}
.grey-text {
color: grey;
}
/* Container for registers and flags */
.interface-container {
background-color: #2d2d2d;
border-radius: 1em;
padding: 2em 4em;
display: flex;
flex-direction: column;
justify-content: center;
gap: 3em;
}
/* Styles for each register block */
.register {
text-align: center;
}
/* Row of diodes */
.diode-row {
display: flex;
justify-content: center;
gap: 1em;
}
/* Diode styles */
.diode {
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #2d2d2d; /* Default "off" state */
border: 0;
}
.diode.on {
background: radial-gradient(circle, rgb(253, 250, 234) 0%, rgb(244, 236, 152) 80%); /* "On" state (lit diode) */
box-shadow: 0 0 2.5em rgb(233, 232, 226);
}
.diode.off {
background-color: #2d2d2d; /* "Off" state (unlit diode) */
box-shadow: inset 0 0 1em #111;
}
/* Button styles */
.button {
width: 24px;
height: 24px;
border-radius: 50%;
background-color: whitesmoke; /* Default "off" state */
border: 8px solid #222;
}
.button.on {
border: 8px solid rgb(253, 251, 234); /* "On" state (lit border) */
box-shadow: 0 0 3em rgb(233, 232, 226);
}
.button.off {
background-color: whitesmoke; /* "Off" state (unlit diode) */
box-shadow: inset 0 0 1em #FFF;
}
/* Register titles */
h2 {
margin-bottom: 1em;
font-size: medium;
font-weight: normal;
}
/* Textarea styles */
.tape-instructions {
text-align: center;
margin-top: 20px;
}
textarea {
height: 8em;
padding: 1em;
font-size: 1em;
border-radius: 1em;
border: 0;
resize: none; /* Disable resizing */
background-color: #2d2d2d;
color: whitesmoke;
font-family: SF Mono, sans-serif;
}
textarea:focus {
outline: none; /* Remove default outline */
}