From 5cce4f0b0d97b18753608498f642daf6799b5b5a Mon Sep 17 00:00:00 2001 From: manfromhuh Date: Sun, 17 Jul 2022 18:01:55 -0400 Subject: [PATCH] Update the pfp size CSS Add a pfp-small class and adjust the pfp size to 50px by 50px. --- blog/authors/index.php | 2 +- common/css/styles.css | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/blog/authors/index.php b/blog/authors/index.php index b663cbd..4f5eecc 100644 --- a/blog/authors/index.php +++ b/blog/authors/index.php @@ -45,7 +45,7 @@ if (file_exists($dir) && is_dir($dir) ) { $link_title = str_replace($_replace,'',$link_title); if (file_exists($file."/pfp.png")){ $pfp_path = "$file/pfp.png"; - echo("\n");//Output the result. + echo("\n");//Output the result. } else { echo("\n");//Output the result. } diff --git a/common/css/styles.css b/common/css/styles.css index a218c85..e313cfd 100644 --- a/common/css/styles.css +++ b/common/css/styles.css @@ -126,6 +126,14 @@ img.center_align{ vertical-align:middle; } img.pfp { + vertical-align: middle; + width: 50px; + height: 50px; + border-radius: 25px; + border-style: solid; + border-width: 1px; +} +img.pfp-small { vertical-align: middle; width: 25px; height: 25px;