59 lines
793 B
CSS
59 lines
793 B
CSS
html {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*, *:before, *:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
body {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: white;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
align-content: stretch;
|
|
}
|
|
|
|
body > p {
|
|
padding: 0 0.33em;
|
|
margin: 0.33em 0;
|
|
}
|
|
|
|
body > div {
|
|
background: blue;
|
|
overflow: scroll;
|
|
flex: 1;
|
|
}
|
|
|
|
svg {
|
|
background: white;
|
|
font-family: monospace;
|
|
border-top: solid black 1px;
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
}
|
|
|
|
svg rect.lifeline {
|
|
fill: #ddd;
|
|
}
|
|
|
|
svg text.label {
|
|
white-space: pre;
|
|
dominant-baseline: text-before-edge;
|
|
}
|
|
|
|
rect.test1 {
|
|
fill: #fff;
|
|
stroke: #000;
|
|
}
|
|
|
|
svg.placard {
|
|
overflow: visible;
|
|
}
|