-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
60 lines (53 loc) · 1.07 KB
/
style.css
File metadata and controls
60 lines (53 loc) · 1.07 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
body {
font-family: Arial, sans-serif;
text-align: center;
background: #f0f0f0;
}
.menu button, .controls button {
padding: 10px 20px;
margin: 5px;
font-size: 16px;
cursor: pointer;
}
.memory-area {
margin-top: 30px;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
}
.memory-cell {
background: #4caf50;
color: white;
padding: 10px;
border-radius: 10px;
min-width: 60px;
position: relative;
transition: transform 0.3s ease;
}
.memory-cell:hover {
transform: scale(1.1);
}
.memory-cell .address {
font-size: 12px;
position: absolute;
bottom: -28px;
left: 55%;
transform: translateX(-50%);
color: #333;
}
.memory-cell.freed {
background-color: #cccccc !important;
color: #444;
opacity: 0.6;
position: relative;
}
.memory-cell.freed::after {
content: "freed";
font-size: 10px;
color: red;
position: absolute;
top: -14px;
left: 50%;
transform: translateX(-50%);
}