diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-04 12:26:33 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-06-04 12:29:30 +0200 |
commit | 42c10fe5c6879980e0790a9a87b709e3ab26f40f (patch) | |
tree | b9cbf84b2d7f5d74c86cb3ac018d6bfcf887fd82 /views | |
parent | 78170e63aca439c76fd02f5393c02a93edbda38a (diff) | |
download | server-42c10fe5c6879980e0790a9a87b709e3ab26f40f.tar.gz |
High res covers.
Size covers to fit in a 300x300 pixel box (150x150 displayed).
Diffstat (limited to 'views')
-rw-r--r-- | views/index.ejs | 2 | ||||
-rw-r--r-- | views/profile.ejs | 5 |
2 files changed, 5 insertions, 2 deletions
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> |