mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 08:52:45 +00:00
Use less inline CSS
This commit is contained in:
parent
b9483aa6d3
commit
6db70d78fc
@ -10,3 +10,9 @@ body {
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
margin-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ class Page {
|
||||
}
|
||||
|
||||
function get_avatar($name) {
|
||||
return "<img class='noselect' src='https://cravatar.eu/avatar/$name/25' style='margin-bottom:5px;margin-right:5px;border-radius:2px;'/>$name";
|
||||
return "<img class='avatar noselect' src='https://cravatar.eu/avatar/$name/25'/>$name";
|
||||
}
|
||||
|
||||
function get_name($uuid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user