summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/style.css2
-rw-r--r--views/index.ejs2
-rw-r--r--views/profile.ejs5
3 files changed, 6 insertions, 3 deletions
diff --git a/public/style.css b/public/style.css
index c1b25fd..7a10a99 100644
--- a/public/style.css
+++ b/public/style.css
@@ -26,7 +26,7 @@ h2 { margin-left: -1px; }
.main hr + p { font-style: italic; }
table.wide { min-width: 50rem; }
.error { color: brown; font-style: italic; white-space: pre-wrap; }
-.logo { float: left; margin: 0 20px 5px 0; box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5); }
+.logo { float: left; margin: 0 20px 5px 0; box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5); height: 150px; }
table { border-collapse: collapse; }
th { text-align: left; background-color: gainsboro; }
th, td { border: 1px solid black; }
diff --git a/views/index.ejs b/views/index.ejs
index 95e7898..91f4504 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -2,7 +2,7 @@
<style>
.list { display: flex; flex-wrap: wrap; justify-content: left; }
.list a { margin: 1em; display: block; }
-.list img { box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5); }
+.list img { box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5); height: 150px; }
</style>
<p>
diff --git a/views/profile.ejs b/views/profile.ejs
index 60f1ff9..0b3f20f 100644
--- a/views/profile.ejs
+++ b/views/profile.ejs
@@ -1,5 +1,8 @@
<%- include('header', { title: "Rally the Troops!", refresh: (active_games.length > 0 ? 300 : 0) }) %>
-<style>td.nowrap a { color: black; text-decoration: none; }</style>
+<style>
+td.nowrap a { color: black; text-decoration: none; }
+.logo { width: 80px; height: 80px; }
+</style>
<img class="logo" src="<%= avatar %>" width="80" height="80">
<p>