Files
newt/playground/style.css
2024-11-06 20:51:57 -08:00

47 lines
694 B
CSS

#app {
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
}
.wrapper {
display: flex;
flex-direction: row;
height: 100%;
}
.wrapper > div {
flex: 1 1;
/* allow smaller than natural */
width: 100px;
}
.tabPanel {
display: flex;
flex-direction: column;
}
.tabBar {
display:flex;
flex-direction: row;
gap: 10px;
margin: 10px 0 0 0;
border-bottom: solid 1px black;
}
.tab {
padding: 4px;
border: solid 1px transparent;
}
.tab.selected {
border: solid 1px black;
border-bottom: 0px
}
.tabBody {
overflow: auto;
flex: 1 1;
}
#result, #javascript {
font-family: 'Comic Code', monospace;
font-size: 12px;
white-space: pre;
padding: 5px;
}