From b9483aa6d3cc881d5066c024cc667855fee8d0b6 Mon Sep 17 00:00:00 2001 From: Ruan Date: Tue, 11 Aug 2015 09:32:08 +0200 Subject: [PATCH] Prevent avatar images from being selected --- includes/css/custom.css | 12 ++++++++++++ includes/css/navbar-fixed-top.css | 3 --- includes/head.php | 2 +- includes/page.php | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 includes/css/custom.css delete mode 100644 includes/css/navbar-fixed-top.css diff --git a/includes/css/custom.css b/includes/css/custom.css new file mode 100644 index 0000000..c5f55ea --- /dev/null +++ b/includes/css/custom.css @@ -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; +} diff --git a/includes/css/navbar-fixed-top.css b/includes/css/navbar-fixed-top.css deleted file mode 100644 index 585c77e..0000000 --- a/includes/css/navbar-fixed-top.css +++ /dev/null @@ -1,3 +0,0 @@ -body { - padding-top: 70px; -} \ No newline at end of file diff --git a/includes/head.php b/includes/head.php index fef4358..b7ab536 100644 --- a/includes/head.php +++ b/includes/head.php @@ -4,7 +4,7 @@ - +