From 215c806b9a05ad748723d608094dff303c05368a Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Mon, 30 Jan 2023 22:55:14 -0500 Subject: colored pfps --- public/css/header.css | 2 +- public/css/main.css | 16 ++++++++++------ public/css/profile.css | 6 ++++++ public/img/0.png | Bin 0 -> 7910 bytes public/img/1.png | Bin 0 -> 5700 bytes public/img/10.png | Bin 0 -> 8045 bytes public/img/11.png | Bin 0 -> 6702 bytes public/img/12.png | Bin 0 -> 6809 bytes public/img/13.png | Bin 0 -> 7080 bytes public/img/14.png | Bin 0 -> 5937 bytes public/img/15.png | Bin 0 -> 6457 bytes public/img/16.png | Bin 0 -> 7261 bytes public/img/17.png | Bin 0 -> 5327 bytes public/img/18.png | Bin 0 -> 7791 bytes public/img/19.png | Bin 0 -> 7928 bytes public/img/2.png | Bin 0 -> 7258 bytes public/img/20.png | Bin 0 -> 8212 bytes public/img/21.png | Bin 0 -> 6249 bytes public/img/22.png | Bin 0 -> 6896 bytes public/img/23.png | Bin 0 -> 7284 bytes public/img/24.png | Bin 0 -> 6256 bytes public/img/3.png | Bin 0 -> 7672 bytes public/img/4.png | Bin 0 -> 7119 bytes public/img/5.png | Bin 0 -> 6799 bytes public/img/6.png | Bin 0 -> 5931 bytes public/img/7.png | Bin 0 -> 6681 bytes public/img/8.png | Bin 0 -> 6546 bytes public/img/9.png | Bin 0 -> 7635 bytes public/js/header.js | 4 ++-- public/js/home.js | 12 ++++++------ public/js/main.js | 4 ++++ public/js/people.js | 5 +++-- public/js/profile.js | 5 +++-- 33 files changed, 35 insertions(+), 19 deletions(-) create mode 100644 public/img/0.png create mode 100644 public/img/1.png create mode 100644 public/img/10.png create mode 100644 public/img/11.png create mode 100644 public/img/12.png create mode 100644 public/img/13.png create mode 100644 public/img/14.png create mode 100644 public/img/15.png create mode 100644 public/img/16.png create mode 100644 public/img/17.png create mode 100644 public/img/18.png create mode 100644 public/img/19.png create mode 100644 public/img/2.png create mode 100644 public/img/20.png create mode 100644 public/img/21.png create mode 100644 public/img/22.png create mode 100644 public/img/23.png create mode 100644 public/img/24.png create mode 100644 public/img/3.png create mode 100644 public/img/4.png create mode 100644 public/img/5.png create mode 100644 public/img/6.png create mode 100644 public/img/7.png create mode 100644 public/img/8.png create mode 100644 public/img/9.png diff --git a/public/css/header.css b/public/css/header.css index 9811eb4..6a3ce6a 100644 --- a/public/css/header.css +++ b/public/css/header.css @@ -48,7 +48,7 @@ border-bottom: 3px solid var(--logo); } -#header .pfp, #header .pfp img { +#header .pfp { position: absolute; right: 1em; top: .5em; diff --git a/public/css/main.css b/public/css/main.css index 8ce5254..5df2642 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -202,7 +202,7 @@ input:focus { all: unset; font-family: sfpro; background-color: var(--logo); - color: var(--text); + color: white; padding: 10px; margin: 20px; border-radius: 5px; @@ -215,7 +215,7 @@ input:focus { all: unset; font-family: sfpro; background-color: var(--success); - color: var(--text); + color: white; padding: 10px; margin-left: 10px; margin-right: 10px; @@ -305,6 +305,7 @@ footer { border-radius: 3em; background-color: var(--hover); flex-shrink: 0; + image-rendering: crisp-edges; } .nb { @@ -357,9 +358,12 @@ form { } body select { - filter: invert(100%) !important; - background-color: var(--primary) I !important; - color: var(--primary) !important; - border: 1px solid var(--primary) !important; + background-color: var(--secondary) I !important; + color: var(--text) !important; + border: 1px solid var(--light) !important; + } + + input:focus { + outline: none; } } \ No newline at end of file diff --git a/public/css/profile.css b/public/css/profile.css index 3a16d56..fa3cd07 100644 --- a/public/css/profile.css +++ b/public/css/profile.css @@ -47,6 +47,12 @@ body { margin-right: 2em; } +.face img { + height: 12em; + width: 12em; + border-radius: 7em; +} + .infodata { margin-top: 2em; display: flex; diff --git a/public/img/0.png b/public/img/0.png new file mode 100644 index 0000000..19bbb12 Binary files /dev/null and b/public/img/0.png differ diff --git a/public/img/1.png b/public/img/1.png new file mode 100644 index 0000000..0466850 Binary files /dev/null and b/public/img/1.png differ diff --git a/public/img/10.png b/public/img/10.png new file mode 100644 index 0000000..e181798 Binary files /dev/null and b/public/img/10.png differ diff --git a/public/img/11.png b/public/img/11.png new file mode 100644 index 0000000..10cc420 Binary files /dev/null and b/public/img/11.png differ diff --git a/public/img/12.png b/public/img/12.png new file mode 100644 index 0000000..f62a977 Binary files /dev/null and b/public/img/12.png differ diff --git a/public/img/13.png b/public/img/13.png new file mode 100644 index 0000000..c25a5db Binary files /dev/null and b/public/img/13.png differ diff --git a/public/img/14.png b/public/img/14.png new file mode 100644 index 0000000..b4268e0 Binary files /dev/null and b/public/img/14.png differ diff --git a/public/img/15.png b/public/img/15.png new file mode 100644 index 0000000..8641079 Binary files /dev/null and b/public/img/15.png differ diff --git a/public/img/16.png b/public/img/16.png new file mode 100644 index 0000000..538b8d8 Binary files /dev/null and b/public/img/16.png differ diff --git a/public/img/17.png b/public/img/17.png new file mode 100644 index 0000000..8fbf42a Binary files /dev/null and b/public/img/17.png differ diff --git a/public/img/18.png b/public/img/18.png new file mode 100644 index 0000000..60ddadc Binary files /dev/null and b/public/img/18.png differ diff --git a/public/img/19.png b/public/img/19.png new file mode 100644 index 0000000..87e55ae Binary files /dev/null and b/public/img/19.png differ diff --git a/public/img/2.png b/public/img/2.png new file mode 100644 index 0000000..e3d3fd2 Binary files /dev/null and b/public/img/2.png differ diff --git a/public/img/20.png b/public/img/20.png new file mode 100644 index 0000000..cad21e0 Binary files /dev/null and b/public/img/20.png differ diff --git a/public/img/21.png b/public/img/21.png new file mode 100644 index 0000000..951295b Binary files /dev/null and b/public/img/21.png differ diff --git a/public/img/22.png b/public/img/22.png new file mode 100644 index 0000000..30a7517 Binary files /dev/null and b/public/img/22.png differ diff --git a/public/img/23.png b/public/img/23.png new file mode 100644 index 0000000..386d550 Binary files /dev/null and b/public/img/23.png differ diff --git a/public/img/24.png b/public/img/24.png new file mode 100644 index 0000000..fc0ce1a Binary files /dev/null and b/public/img/24.png differ diff --git a/public/img/3.png b/public/img/3.png new file mode 100644 index 0000000..aa2b68a Binary files /dev/null and b/public/img/3.png differ diff --git a/public/img/4.png b/public/img/4.png new file mode 100644 index 0000000..a9ee0d0 Binary files /dev/null and b/public/img/4.png differ diff --git a/public/img/5.png b/public/img/5.png new file mode 100644 index 0000000..63e904b Binary files /dev/null and b/public/img/5.png differ diff --git a/public/img/6.png b/public/img/6.png new file mode 100644 index 0000000..7ba485d Binary files /dev/null and b/public/img/6.png differ diff --git a/public/img/7.png b/public/img/7.png new file mode 100644 index 0000000..c861dc6 Binary files /dev/null and b/public/img/7.png differ diff --git a/public/img/8.png b/public/img/8.png new file mode 100644 index 0000000..a25833b Binary files /dev/null and b/public/img/8.png differ diff --git a/public/img/9.png b/public/img/9.png new file mode 100644 index 0000000..70b19fa Binary files /dev/null and b/public/img/9.png differ diff --git a/public/js/header.js b/public/js/header.js index 5a12408..0e251ed 100644 --- a/public/js/header.js +++ b/public/js/header.js @@ -1,4 +1,4 @@ -function header(home, people) { +function header(home, people, user_id) { const html = ` - + ${pfp(user_id)}
diff --git a/public/js/home.js b/public/js/home.js index cf56eca..0083297 100644 --- a/public/js/home.js +++ b/public/js/home.js @@ -6,7 +6,7 @@ function parseComment(comment) { const html = `
- + ${pfp(author.user_id)} ${author.firstname + ' ' + author.lastname} @@ -26,7 +26,7 @@ function parsePost(post) {
- + ${pfp(author.user_id)}
${author.firstname + ' ' + author.lastname} @@ -55,7 +55,7 @@ function parsePost(post) { ${post.comments.map(parseComment).join('')}
- + ${pfp(data.user.user_id)}
@@ -159,7 +159,7 @@ function render() {
- + ${pfp(data.user.user_id)}