disabled select on the span behind the titles

This commit is contained in:
Karma Riuk 2023-09-11 15:11:34 +02:00
parent 211ed6497f
commit 298d78df16
2 changed files with 12 additions and 6 deletions

View File

@ -42,6 +42,12 @@ h6 {
font-family: "Raleway", sans-serif; font-family: "Raleway", sans-serif;
} }
.prevent-select {
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
# Back to top button # Back to top button
--------------------------------------------------------------*/ --------------------------------------------------------------*/

View File

@ -78,7 +78,7 @@
<div class="container"> <div class="container">
<div class="section-title" data-aos="fade-up"> <div class="section-title" data-aos="fade-up">
<span>About Me</span> <span class="prevent-select">About Me</span>
<h2>About Me</h2> <h2>About Me</h2>
<p>I have a deep passion for computer science and enjoy <p>I have a deep passion for computer science and enjoy
engaging in in-depth discussions about it.<br /> engaging in in-depth discussions about it.<br />
@ -206,7 +206,7 @@
<div class="container"> <div class="container">
<div class="section-title" data-aos="fade-up"> <div class="section-title" data-aos="fade-up">
<span>My Resume</span> <span class="prevent-select">My Resume</span>
<h2>My Resume</h2> <h2>My Resume</h2>
<p>A brief overview of my professional experience and qualifications</p> <p>A brief overview of my professional experience and qualifications</p>
</div> </div>
@ -377,7 +377,7 @@
<section id="languages" class="languages"> <section id="languages" class="languages">
<div class="container"> <div class="container">
<div class="section-title" data-aos="fade-up"> <div class="section-title" data-aos="fade-up">
<span>Languages</span> <span class="prevent-select">Languages</span>
<h2>Languages</h2> <h2>Languages</h2>
<p></p> <p></p>
</div> </div>
@ -426,7 +426,7 @@
<div class="container"> <div class="container">
<div class="section-title"> <div class="section-title">
<span>My Skills</span> <span class="prevent-select">My Skills</span>
<h2>My Skills</h2> <h2>My Skills</h2>
<p>Sit sint consectetur velit quisquam cupiditate impedit suscipit alias</p> <p>Sit sint consectetur velit quisquam cupiditate impedit suscipit alias</p>
</div> </div>
@ -567,7 +567,7 @@
<div class="container"> <div class="container">
<div class="section-title"> <div class="section-title">
<span>My Portfolio</span> <span class="prevent-select">My Portfolio</span>
<h2>My Portfolio</h2> <h2>My Portfolio</h2>
<p>Sit sint consectetur velit quisquam cupiditate impedit suscipit alias</p> <p>Sit sint consectetur velit quisquam cupiditate impedit suscipit alias</p>
</div> </div>
@ -708,7 +708,7 @@
<div class="container"> <div class="container">
<div class="section-title"> <div class="section-title">
<span>Contact Me</span> <span class="prevent-select">Contact Me</span>
<h2>Contact Me</h2> <h2>Contact Me</h2>
<p>Sit sint consectetur velit quisquam cupiditate impedit suscipit alias</p> <p>Sit sint consectetur velit quisquam cupiditate impedit suscipit alias</p>
</div> </div>