mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 00:42:43 +00:00
Prevent avatar images from being selected
This commit is contained in:
parent
003293c527
commit
b9483aa6d3
12
includes/css/custom.css
Normal file
12
includes/css/custom.css
Normal file
@ -0,0 +1,12 @@
|
||||
body {
|
||||
padding-top: 70px;
|
||||
}
|
||||
|
||||
.noselect {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
body {
|
||||
padding-top: 70px;
|
||||
}
|
@ -4,7 +4,7 @@
|
||||
<meta name="author" content="LiteBans">
|
||||
<link rel="shortcut icon" href="includes/img/minecraft.ico">
|
||||
<link href="includes/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="includes/css/navbar-fixed-top.css" rel="stylesheet">
|
||||
<link href="includes/css/custom.css" rel="stylesheet">
|
||||
<style>
|
||||
html {
|
||||
background-image: url('includes/img/377759.png');
|
||||
|
@ -45,7 +45,7 @@ class Page {
|
||||
}
|
||||
|
||||
function get_avatar($name) {
|
||||
return "<img src='https://cravatar.eu/avatar/$name/25' style='margin-bottom:5px;margin-right:5px;border-radius:2px;'/>$name";
|
||||
return "<img class='noselect' src='https://cravatar.eu/avatar/$name/25' style='margin-bottom:5px;margin-right:5px;border-radius:2px;'/>$name";
|
||||
}
|
||||
|
||||
function get_name($uuid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user