diff --git a/src/static/a/userprofile.css b/src/static/a/userprofile.css index 6e280fde..f294eff0 100644 --- a/src/static/a/userprofile.css +++ b/src/static/a/userprofile.css @@ -20,12 +20,12 @@ article > section > img.avatar { p.biography { font-size: 90%; } -table.profiledata { - clear: left; - width: initial; +section.profiledata { + text-align: center; } -table.profiledata th { - width: 100px; +section.profiledata span { + display: inline-block; + padding: 4px 6px; } table.stats td { text-align: center; diff --git a/src/templates/User/View.phtml b/src/templates/User/View.phtml index 52266af5..732d1085 100644 --- a/src/templates/User/View.phtml +++ b/src/templates/User/View.phtml @@ -50,35 +50,35 @@ require("./header.inc.phtml");

+ getContext()->profiledata) { ?> - +
getContext()->github) { ?> -
+ GitHub: getContext()->github, ENT_HTML5, "UTF-8"); ?>getContext()->reddit) { ?> - + Reddit: getContext()->reddit, ENT_HTML5, "UTF-8"); ?>getContext()->steam_id) { ?> - + Steam: getContext()->steam_id, ENT_HTML5, "UTF-8"); ?>getContext()->facebook) { ?> - + Facebook: getContext()->facebook, ENT_HTML5, "UTF-8"); ?>getContext()->twitter) { ?> - + Twitter: getContext()->twitter, ENT_HTML5, "UTF-8"); ?>getContext()->instagram) { ?> - + Instagram: getContext()->instagram, ENT_HTML5, "UTF-8"); ?>getContext()->skype) { ?> - + Skype: getContext()->skype, ENT_HTML5, "UTF-8"); ?>getContext()->website) { ?> - - -
GitHub:getContext()->github, ENT_HTML5, "UTF-8"); ?>
Reddit:getContext()->reddit, ENT_HTML5, "UTF-8"); ?>
Steam:getContext()->steam_id, ENT_HTML5, "UTF-8"); ?>
Facebook:getContext()->facebook, ENT_HTML5, "UTF-8"); ?>
Twitter:getContext()->twitter, ENT_HTML5, "UTF-8"); ?>
Instagram:getContext()->instagram, ENT_HTML5, "UTF-8"); ?>
Skype:getContext()->skype, ENT_HTML5, "UTF-8"); ?>
Website:getContext()->website, ENT_HTML5, "UTF-8"); ?>
+ Website: getContext()->website, ENT_HTML5, "UTF-8"); ?> +
User Statistics