Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalWds committed Mar 22, 2019
1 parent b172d48 commit 7677541
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ body{
background-size: cover;
background-repeat: no-repeat;
}

.background-roundone {
background-image: url("https://images.unsplash.com/photo-1455165814004-1126a7199f9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80") ;
height: 100vh;
Expand All @@ -79,6 +80,7 @@ body{
background-size: cover;
background-repeat: no-repeat;
}

.content {
color: white;
font-size: 20px;
Expand Down
8 changes: 5 additions & 3 deletions src/main/resources/templates/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
<html lang="en">
<head th:replace="/players :: head"></head>
<meta charset="UTF-8">
<title>Title</title>
<title>WriteYourName</title>

</head>
<body>

<div class="background-roundone">
<div style="background-color: rgba(0, 0, 255, 0.7);padding:20px;width:1000px; margin-left:100px;">

<form th:action="@{/home}" th:object="${user}" method="post">
<input type="hidden" th:field="*{id}">
Expand All @@ -22,7 +24,7 @@
</tr>
</table>
</form>

</div>

</body>
</html>

0 comments on commit 7677541

Please sign in to comment.