summaryrefslogtreecommitdiffstats
path: root/main.css
blob: 9f7381dcbc98ee45f79b5fc02df746a9fd6d1088 (plain)
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
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

#editor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1em;
}

#code {
    position: relative;
    grid-row: 1;
}

#code #src {
    width: 100%;
    height: 25ex;
    margin-top: 1ex;
    padding: 1em;
    border: 2px inset lightgray;
    white-space: pre-wrap;
}

::highlight(exec) {
    background-color: yellowgreen;
}

#compile {
    position: absolute;
    right: 0;
}

#state-container {
    grid-row: 1;
}

#state {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#state .controls {
    grid-row: 1;
    grid-column: 1 / span 2;
}

#state .wordlist {
    grid-row: 2;
    grid-column: 1 / span 2;
}

#wordlist .ip {
    background-color: yellow;
}

x-bytecode {
    display: block;
}

x-bytecode::before {
    display: inline-block;
    width: 1em;
    content: attr(x-index);
    text-align: right;
    padding-right: 0.4em;
}

x-op {
    display: inline-block;
    padding: 5px;
    border: 1px solid grey;
}

canvas {
    border: 1px solid greenyellow;
}