Skip to content

Commit

Permalink
Fixed mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
TraXIcoN committed Apr 18, 2024
1 parent e897d7f commit 789c486
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
22 changes: 21 additions & 1 deletion css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ body {
.intro {
white-space: nowrap;
}
.p-text {
text-shadow: 0 0 10px white;
position: relative;
&::after,
&::before {
content: attr(data-text);
position: absolute;
left: 3px;
text-shadow: none;
background-image: url(https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3DPAzwJxrwCre%2Fgiphy.gif&f=1&nofb=1&ipt=dc4dd2260b9ccecc06fc391c3c781a47f6dd210b6e9d1d80c61beb36b618cdc9&ipo=images);
background-clip: text;
color: transparent;
mix-blend-mode: lighten;
pointer-events: none;
}
&::before {
left: -3px;
mix-blend-mode: lighten;
}
}
.vertical-rectangle {
position: absolute;
rotate: 45deg;
Expand Down Expand Up @@ -109,7 +129,7 @@ body {
.c {
position: relative;
width: 90vmin;
height: calc(90vmin * 9 / 16);
/* height: calc(90vmin * 9 / 16); */
margin: auto;
overflow: hidden;
/* box-shadow: 0 1.25em 1em -0.5em #0005; */
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ <h2 class="mb-5">About Me</h2>
<div class="s2"></div>
<div class="s3"></div>
</div>
<p class="mb-5">
<p class="mb-5 p-text">
I find solace in strumming my guitar, losing myself in the melodies I create. Reading is another love of mine; there's nothing quite like getting lost in the pages of a gripping novel.
</p>
<div class="photo-grid__item photo c">
Expand All @@ -443,7 +443,7 @@ <h2 class="mb-5">About Me</h2>
<div class="s2"></div>
<div class="s3"></div>
</div>
<p class="mb-5">
<p class="mb-5 p-text">
When it comes to entertainment, I'm drawn to thriller movies with intricate plots that keep me guessing until the end. I'm also an avid Formula 1 enthusiast, eagerly following the twists and turns of each race.
</p>
<div class="photo-grid__item photo c" style="height: auto;">
Expand Down Expand Up @@ -504,7 +504,7 @@ <h2 class="mb-5">About Me</h2>
<div class="s2"></div>
<div class="s3"></div>
</div>
<p>
<p class="mb-5 p-text">
As a developer, I thrive on creating elegant solutions to complex problems. Beyond coding, I'm deeply passionate about various pursuits that enrich my life.
</p>
<div class="photo-grid__item photo c" style="height: auto;">
Expand All @@ -523,7 +523,7 @@ <h2 class="mb-5">About Me</h2>
<br>
<br>
</div>
<p class="mb-5">
<p class="mb-5 p-text">
On the field, I enjoy playing cricket, relishing the camaraderie and competition it offers. And of course, I'm always ready to share my heart with furry friends, finding joy in the simple companionship they provide, especially dogs.
</p>
</div>
Expand Down

0 comments on commit 789c486

Please sign in to comment.