Skip to content

Commit

Permalink
style: #32 temp title screen center aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
es-rene99 committed Jul 19, 2021
1 parent c7df289 commit 506f13f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1 class="items__header"></h1>
</aside>

<main id="main__game" class="main__game">
<div id="title-screen">
<div id="title-screen" class="title-screen">
<h1 id="left-sidebar__title" class="title-screen__title">
Calculationster
</h1>
Expand Down
18 changes: 14 additions & 4 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
.title-screen {
display: block;
position: absolute;
top: 50%;
left: 50%;
cursor: pointer;
}

.title-screen__title {
position: absolute;
top: -390%;
left: -210%;
}

.game__timer {
float: right;
display: flex;
Expand All @@ -17,10 +31,6 @@
}

.game__start-btn {
display: block;
position: absolute;
top: 50%;
left: 50%;
cursor: pointer;
}

Expand Down

0 comments on commit 506f13f

Please sign in to comment.