-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
118 lines (106 loc) · 2.09 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
118
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #383838;
color: #f1f1f1;
}
table {
font-family: 'Courier New', Courier, monospace;
border-collapse: collapse;
width: 100%;
}
table th, table td {
border: 1px solid white;
padding: 8px;
text-align: center;
}
#toolbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 5%;
background-color: #222;
display: flex;
justify-content: center;
align-items: center;
}
button {
font-size: 16px;
font-weight: bold;
color: #fff;
background-color: #449d44;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #5cb85c;
}
#registers {
position: fixed;
top: 5%;
right: 0;
width: 20%;
height: 95%;
background-color: #383838; /* Change the background color to match #edit */
border: 5px solid #444;
box-sizing: border-box;
overflow: auto;
}
#edit {
position: absolute;
top: 5%;
left: 0;
width: 80%;
height: 70%;
background-color: #383838;
border: 5px solid #444;
}
#execute {
position: absolute;
bottom: 0;
left: 0;
width: 80%;
height: 25%;
background-color: #383838;
border: 5px solid #444;
display: flex;
}
#instruction-memory {
flex: 1;
height: 100%;
padding: 10px;
box-sizing: border-box;
border-right: 5px solid #444;
overflow: auto;
}
#data-memory {
flex: 1;
height: 100%;
padding: 10px;
box-sizing: border-box;
border-right: none;
overflow: auto;
}
h2 {
margin: 10px;
}
#editor {
position: absolute;
top: calc(10px + 1.5em + 10px); /* Height of h2 (10px margin + 1.5em font-size) + 10px spacing */
left: 10px;
right: 10px;
bottom: 25px;
padding: 10px;
box-sizing: border-box;
border: none;
background-color: #4c4c4c; /* Change the background color to a different shade of gray */
color: #f1f1f1;
font-family: 'Courier New', Courier, monospace;
font-size: 16px;
resize: none;
overflow: auto;
}