Skip to content

Commit

Permalink
Add header div
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrocuzzocrea committed Mar 3, 2018
1 parent 1112095 commit c6335bb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/index.html
Expand Up @@ -10,6 +10,7 @@

<body>
<div class="container">
<div class="header">CHIP-8</div>
<div class="controls">
<select id="rom-select">
<option value="TEST1" selected>TEST1</option>
Expand Down
16 changes: 12 additions & 4 deletions src/style.scss
Expand Up @@ -33,16 +33,24 @@ button {
}
}

.current-instruction {
background-color: $accent-color;
}

.container {
margin: 0 auto;
display: grid;
max-width: 1024px;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
}

.header {
text-align: center;
grid-column: span 3;
border: 1px solid $accent-color;
}

.current-instruction {
background-color: $accent-color;
}

.controls {
display: grid;
grid-template-columns: repeat(1, 1fr);
Expand Down

0 comments on commit c6335bb

Please sign in to comment.