2025-08-20 20:52:35 +02:00

116 lines
1.6 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
background-color: #EEE;
}
main {
display: flex;
flex-direction: row;
height: 100vh;
gap: 32px;
}
.section-header {
background-color: white;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border: 1px solid #BDBDBD;
padding: 4px;
padding-left: 8px;
font-family: sans-serif;
color: #747474;
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}
section {
width: 100%;
flex: 1;
display: flex;
flex-direction: column;
}
section *:last-child {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
flex: 1;
}
.column {
display: flex;
flex-direction: column;
gap: 5px;
justify-content: space-evenly;
align-items: flex-start;
padding: 32px;
gap: 32px;
height: 100vh;
flex: 1;
}
#canvas-area {
background-color: black;
width: 480px;
height: 360px;
}
#console {
display: flex;
flex-direction: column;
}
#console pre {
color: white;
background-color: black;
margin: 0;
width: 100%;
font-size: 1rem;
padding: 4px 8px;
flex: 1;
}
#console input {
width: 100%;
margin: 0;
outline: none;
padding: none;
color: white;
border: none;
background-color: #222;
padding: 4px 8px;
font-family: monospace;
font-size: 1rem;
flex-grow: 0;
}
#editor-area {
width: 100%;
}
#editor {
margin: 0;
width: 100%;
height: 100%;
font-size: 16px;
}
button {
background-color: #4FC3F7;
border: none;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
transition-duration: 200ms;
}
button:hover {
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}