From cf512d44d0bfd5aa73098954a3ff64f014628a1e Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Sun, 29 Nov 2020 03:58:43 +0100 Subject: [PATCH] Added class for non-selectables --- careers.php | 3 ++- css/style.css | 8 ++++++++ texts/articles.html | 37 ++++++++++++++++++++++--------------- 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/careers.php b/careers.php index 77fe3ad..41a326f 100644 --- a/careers.php +++ b/careers.php @@ -25,7 +25,8 @@ require('includes/header.php'); margin-right: auto; max-height: 5cm; " - class="img-fluid" + class="img-fluid disable-select" + draggable="false" ondragstart="return false;" />

diff --git a/css/style.css b/css/style.css index d3dfdaa..da22e38 100644 --- a/css/style.css +++ b/css/style.css @@ -12,4 +12,12 @@ body { nav { transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1); +} + +.disable-select { + user-select: none; /* supported by Chrome and Opera */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ } \ No newline at end of file diff --git a/texts/articles.html b/texts/articles.html index d18fdfc..657b9ab 100644 --- a/texts/articles.html +++ b/texts/articles.html @@ -1,58 +1,65 @@
-
+