Node.js based forum software built for the modern web
using fancy new mixin
Julian Lam167ba640185a
diff --git a/public/less/admin/manage/users.less b/public/less/admin/manage/users.lessindex 6ad08afcfb..91f4e6efad 100644--- a/public/less/admin/manage/users.less+++ b/public/less/admin/manage/users.less@@ -18,10 +18,7 @@min-width: 125px;img, .user-icon {- width:80px;- height:80px;- line-height: 80px;- font-size: 4rem;+ .user-icon-style(80px, 4rem);}a {diff --git a/public/less/generics.less b/public/less/generics.lessindex 643f9bc20e..ce824ab04f 100644--- a/public/less/generics.less+++ b/public/less/generics.less@@ -30,12 +30,9 @@}img, .user-icon {+ .user-icon-style(36px, 1.8rem);float: left;- height: 36px;- width: 36px;margin-right: 1rem;- line-height: 36px;- font-size: 1.8rem;}span {diff --git a/public/less/mixins.less b/public/less/mixins.lessindex cadde9db5d..c7d49d31c0 100644--- a/public/less/mixins.less+++ b/public/less/mixins.less@@ -69,4 +69,12 @@margin-bottom: 10px;}+}++.user-icon-style(@size: 32px, @font-size: 1.5rem, @border-radius: inherit) {+ border-radius: @border-radius;+ width: @size;+ height: @size;+ line-height: @size;+ font-size: @font-size;}\ No newline at end of file