Skip to content

Commit

Permalink
Add styles to client example
Browse files Browse the repository at this point in the history
  • Loading branch information
DemianParkhomenko committed Sep 26, 2023
1 parent af8ce7c commit 3ed62aa
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Binary file added static/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions static/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
body {
background-image: url('background.jpg');
background-size: cover;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
}

p {
font-size: 34px;
font-weight: bold;
color: #fdf6f6; /* Text color */
}
2 changes: 2 additions & 0 deletions static/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="index.css" />
<script src="client.js"></script>
</head>
<body>
<div id="output"></div>
<p>MESSENGER</p>
</body>
</html>

0 comments on commit 3ed62aa

Please sign in to comment.