Skip to content

Commit

Permalink
restyling
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTplayed committed Dec 27, 2018
1 parent e5ee4ed commit c64b66b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<body>
<div class="container" id="globalContainer">
<div>
<div class="container" id="centerContainer">
<h1>rewatchTracker</h1>
<div id="ldf">loading...</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/public/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@
#globalContainer {
flex-direction: row;
justify-content: center;
}

#centerContainer {
flex-direction: column;
align-items: center;
}
17 changes: 17 additions & 0 deletions src/main/resources/public/styles/show.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#controlContainer {
flex-direction: column;
align-items: center;
}

#name {
font-size: 20px;
}

#back {
width: fit-content;
margin: 30;
padding: 10 40 10 40;
border: black solid 1px;
color: black;
text-decoration: none;
}
14 changes: 9 additions & 5 deletions src/main/resources/templates/show.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<script src="/scripts/show.js"></script>
<div id="name">{{name}}</div>
<div>
<input id="sub" type="button" value="-">
<input id="ep" type="number" value="{{episode}}">
<input id="add" type="button" value="+">
<link rel="stylesheet" href="/styles/show.css">
<div class="container" id="controlContainer">
<div id="name">{{name}}</div>
<div>
<input id="sub" type="button" value="-">
<input id="ep" type="number" value="{{episode}}">
<input id="add" type="button" value="+">
</div>
<a id="back" href="index"><</a>
</div>

0 comments on commit c64b66b

Please sign in to comment.