Draw boxes, set font size

This commit is contained in:
Ian Gulliver
2019-07-01 20:53:20 +00:00
parent ae771b554b
commit 207a9f7f8f
2 changed files with 33 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ body {
background: var(--background);
color: var(--text);
font-family: 'Courier', monospace;
font-size: 16px;
display: grid;
grid-template:
@@ -114,16 +115,24 @@ body {
}
.grid {
width: 100%;
height: 100%;
width: calc(100% - 20px);
height: calc(100% - 20px);
display: grid;
align-content: center;
align-items: center;
justify-items: center;
margin: 10px;
}
.gridNode {
width: 100%;
height: 100%;
width: calc(100% - 24px);
height: calc(100% - 24px);
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
padding: 3px;
border: 1px solid white;
overflow: hidden;
}