Skip to content

Commit c16fc6b

Browse files
author
Michael Wunderlich
committed
style
1 parent 975d503 commit c16fc6b

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

public/css/scorekeep.css

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ body {
2121
}
2222
.site-wrapper-inner {
2323
display: table-cell;
24-
vertical-align: top;
2524
}
2625
.cover-container {
2726
margin-right: auto;
2827
margin-left: auto;
28+
margin-top: 75px;
2929
}
3030

3131
/* Padding for spacing */
@@ -88,30 +88,20 @@ body {
8888
*/
8989

9090
@media (min-width: 40em) {
91-
/* Pull out the header and footer */
91+
/* Pull out the header */
9292
.masthead {
9393
position: fixed;
9494
top: 0;
9595
}
96-
.mastfoot {
97-
position: fixed;
98-
bottom: 0;
99-
}
100-
/* Start the vertical centering */
101-
.site-wrapper-inner {
102-
vertical-align: middle;
103-
}
10496
/* Handle the widths */
10597
.masthead,
106-
.mastfoot,
10798
.cover-container {
10899
width: 100%; /* Must be percentage or pixels for horizontal alignment */
109100
}
110101
}
111102

112103
@media (min-width: 62em) {
113104
.masthead,
114-
.mastfoot,
115105
.cover-container {
116106
width: 42rem;
117107
}
@@ -197,11 +187,13 @@ input {
197187
font-size: 20px;
198188
text-align: left;
199189
}
190+
#session-id {
191+
width: auto;
192+
text-align: left;
193+
padding-left: 10px;
194+
}
200195
#user {
201-
position: absolute;
202-
right: 0;
203-
top: 0;
204-
padding-top: 15px;
196+
float: right;
205197
}
206198
#rules-select {
207199
display: inline-block;

public/session.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div id="session">
2-
<div class="session-header">{{ session.name }}</div>
3-
<div>Session ID: {{ session.id }}</div>
42
<div id="user"><h6>{{ user.name}}</h6></div>
3+
<div class="session-header">{{ session.name }}</div>
4+
<div id="session-id">Session ID: {{ session.id }}</div>
55
<div class="sub-header">Create a game</div>
66
<div id="create-game-form">
77
<form name="create-game">

0 commit comments

Comments
 (0)