diff options
| author | s1n <[email protected]> | 2019-10-20 16:49:58 -0700 |
|---|---|---|
| committer | s1n <[email protected]> | 2019-10-20 16:49:58 -0700 |
| commit | e1aad6c9752ec6ab6fcfb0be8834f165161a8031 (patch) | |
| tree | 37280a3f89974e9317cf8877644a9ec3b7a0ec0d | |
| parent | favicon (diff) | |
| download | p.s1n.pw-admin-e1aad6c9752ec6ab6fcfb0be8834f165161a8031.tar.xz p.s1n.pw-admin-e1aad6c9752ec6ab6fcfb0be8834f165161a8031.zip | |
notexthighlight/ contextmenu, links and organize
| -rw-r--r-- | .gitignore | 29 | ||||
| -rw-r--r-- | about/index.html | 4 | ||||
| -rw-r--r-- | contact/index.html | 4 | ||||
| -rw-r--r-- | css/no-text-highlighting.css | 7 | ||||
| -rw-r--r-- | docs/project.txt | 4 | ||||
| -rw-r--r-- | index.html | 4 | ||||
| -rw-r--r-- | js/hide-context-menu.js | 3 | ||||
| -rw-r--r-- | project/index.html | 4 | ||||
| -rw-r--r-- | work/index.html | 12 |
9 files changed, 67 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b07954 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +# See https://help.github.com/ignore-files/ for more about ignoring files. + +# dependencies +/node_modules + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local +.vscode +.vs +/test/ + +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +/lambda + +# ide +.idea diff --git a/about/index.html b/about/index.html index 13892a5..ec9b572 100644 --- a/about/index.html +++ b/about/index.html @@ -22,6 +22,10 @@ <link rel="stylesheet" href="/css/animate.css"> <script src="/js/wow.min.js"></script> + <!-- hide context menu and disable text highlighting --> + <script src="/js/hide-context-menu.js"></script> + <link rel="stylesheet" href="/css/no-text-highlighting.css"> + <!-- favicon --> <link rel="shortcut icon" href="/assets/superthumb.jpg" type="image/jpg"> diff --git a/contact/index.html b/contact/index.html index 2a1455b..11057a3 100644 --- a/contact/index.html +++ b/contact/index.html @@ -22,6 +22,10 @@ <link rel="stylesheet" href="/css/animate.css"> <script src="/js/wow.min.js"></script> + <!-- hide context menu and disable text highlighting --> + <script src="/js/hide-context-menu.js"></script> + <link rel="stylesheet" href="/css/no-text-highlighting.css"> + <!-- favicon --> <link rel="shortcut icon" href="/assets/superthumb.jpg" type="image/jpg"> diff --git a/css/no-text-highlighting.css b/css/no-text-highlighting.css new file mode 100644 index 0000000..3764314 --- /dev/null +++ b/css/no-text-highlighting.css @@ -0,0 +1,7 @@ +* { + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: -moz-none; + -o-user-select: none; + user-select: none; +}
\ No newline at end of file diff --git a/docs/project.txt b/docs/project.txt new file mode 100644 index 0000000..c898ad9 --- /dev/null +++ b/docs/project.txt @@ -0,0 +1,4 @@ +/project/ contains all projects. + +If you want to add more, rename index.html to the project name and in /work/ and /home/, +relink the previews.
\ No newline at end of file @@ -25,6 +25,10 @@ <link rel="stylesheet" href="/css/animate.css"> <script src="/js/wow.min.js"></script> + <!-- hide context menu and disable text highlighting --> + <script src="/js/hide-context-menu.js"></script> + <link rel="stylesheet" href="/css/no-text-highlighting.css"> + <!-- favicon --> <link rel="shortcut icon" href="/assets/superthumb.jpg" type="image/jpg"> diff --git a/js/hide-context-menu.js b/js/hide-context-menu.js new file mode 100644 index 0000000..af01311 --- /dev/null +++ b/js/hide-context-menu.js @@ -0,0 +1,3 @@ +document.addEventListener("contextmenu", function (e) { + e.preventDefault(); +}, false)
\ No newline at end of file diff --git a/project/index.html b/project/index.html index cbe98b3..f6878a0 100644 --- a/project/index.html +++ b/project/index.html @@ -26,6 +26,10 @@ <link rel="stylesheet" href="/css/animate.css"> <script src="/js/wow.min.js"></script> + <!-- hide context menu and disable text highlighting --> + <script src="/js/hide-context-menu.js"></script> + <link rel="stylesheet" href="/css/no-text-highlighting.css"> + <!-- favicon --> <link rel="shortcut icon" href="/assets/superthumb.jpg" type="image/jpg"> diff --git a/work/index.html b/work/index.html index b982080..ee9d90f 100644 --- a/work/index.html +++ b/work/index.html @@ -22,6 +22,10 @@ <link rel="stylesheet" href="/css/animate.css"> <script src="/js/wow.min.js"></script> + <!-- hide context menu and disable text highlighting --> + <script src="/js/hide-context-menu.js"></script> + <link rel="stylesheet" href="/css/no-text-highlighting.css"> + <!-- favicon --> <link rel="shortcut icon" href="/assets/superthumb.jpg" type="image/jpg"> @@ -90,13 +94,13 @@ <div class="row"> <div class="col-lg-8"></div> - <div class="col-lg-4 project project1 wow fadeInUp" data-wow-delay="1.4s" onclick="location.href='project.html'"></div> + <div class="col-lg-4 project project1 wow fadeInUp" data-wow-delay="1.4s" onclick="location.href='/project/'"></div> </div> <div class="whitespace"></div> <div class="row"> - <div class="col-lg-6 project project2 wow fadeInUp" onclick="location.href='project.html'"></div> + <div class="col-lg-6 project project2 wow fadeInUp" onclick="location.href='/project/'"></div> <div class="col-lg-6"></div> </div> @@ -106,7 +110,7 @@ <div class="row"> <div class="col-lg-7"></div> - <div class="col-lg-4 project project3 wow fadeInUp" onclick="location.href='project.html'"></div> + <div class="col-lg-4 project project3 wow fadeInUp" onclick="location.href='/project/'"></div> <div class="col-lg-1"></div> </div> @@ -116,7 +120,7 @@ <div class="row"> <div class="col-lg-1"></div> - <div class="col-lg-5 project project4 wow fadeInUp" onclick="location.href='project.html'"></div> + <div class="col-lg-5 project project4 wow fadeInUp" onclick="location.href='/project/'"></div> <div class="col-lg-6"></div> </div> |