Skip to content

Commit a191b09

Browse files
committed
center the boards on the page
1 parent 429647d commit a191b09

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ Bonus
3434

3535
- [ ] Use CSS to add more detail to the wireframe above.
3636

37-
I will admit the CSS is ugly.
37+
I will admint the styling isn't anything special. I did use
38+
Flexbox for the board layout, which is probably better than the
39+
table-based layout I was considering :)
3840

3941
- [X] Demonstrate a solid understanding of MV* and using an MV*
4042
framework like Backbone, React, Ember or Angular

app/styles.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,27 @@ body {
99
visibility: hidden;
1010
}
1111

12+
.restart {
13+
margin: .5em 0 2.5em 0;
14+
text-align: center;
15+
16+
p {
17+
font-family: sans-serif;
18+
margin: .4em 0;
19+
}
20+
button {
21+
background-color: mintcream;
22+
border-radius: 5px;
23+
color: darkslategrey;
24+
font-size: .9em;
25+
padding: 7px 12px;
26+
}
27+
}
28+
1229
.board {
1330
display: flex;
1431
flex-direction: column;
32+
align-items: center;
1533

1634
.row {
1735
display: flex;

0 commit comments

Comments
 (0)