Skip to content

Commit

Permalink
add about page and do some fix's
Browse files Browse the repository at this point in the history
  • Loading branch information
D3anDark authored Mar 13, 2024
1 parent 1f25ab3 commit 9ad9872
Show file tree
Hide file tree
Showing 4 changed files with 380 additions and 4 deletions.
81 changes: 81 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="language" content="English">
<meta name="discription" content="Site made by and about DeanDark">
<meta name="author" content="DeanDark">
<title>About DeanDark</title>
<link rel="stylesheet" href="style-about.css">
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<link rel="shortcut icon" href="images/DeanDarkOdznaka.png" type="image/x-icon">
<link href="https://api.fontshare.com/v2/css?f[]=clash-display@500&display=swap" rel="stylesheet">
</head>
<body>
<div id="particles-js"></div>

<div class="content">

<a href="./" id="back">
< &nbsp BACK
</a>

<header>
<h1>
<b> About </b>
</h1>
</header>
<main>
<div class="about_content">

<p class="info">
I am DeanDark, or Junior Developer. I'm learning to program on my own, in a bigger way. And I've been learning it since I was 10 years old, and at the age of 7 I had my first exposure to the computer exclusively. Sometimes I couldn't see what I was doing (Sometimes it still happens).
<br>
&nbsp
<br>
I like playing video games, programming, astronomy, geopolitics, learning new interesting things, etc. Sometimes in my free time I read books (this is really rare, because of my dyslexia, sometimes I have difficulty with this), and I draw.
<br>
Most often I play games such as - Stardew Valley, Overwatch 2, Minecraft, Osu!, Euro Track Simulator 2, etc.
<br>
&nbsp
<br>
I can such languages as Polish (Native), English, and so a bit of Silesian and Italian (This Italian please take at a distance).
<br>
And the programming languages I can do are HTML, CSS, Python, TypeScript, SQL and want to learn more of them!
<br>
&nbsp
<br>
I have also been moderating the bot community StartIT for a while now.
</p>
</div>
</main>
</div>
<div class="lines">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>

<script src="script.js"></script>

<script>
document.addEventListener("DOMContentLoaded", function() {
// Pobierz wszystkie elementy z klasą "line"
var lines = document.querySelectorAll('.line');

// Ustaw zdarzenie na zakończenie animacji
lines.forEach(function(line) {
line.addEventListener('animationiteration', function() {
// Po zakończeniu animacji przesuń linię o losową wartość w poziomie
var randomOffset = Math.floor(Math.random() * 100) + 'vw';
line.style.left = randomOffset;
});
});
});
</script>

</body>
</html>
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<title>DeanDark</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<link rel="shortcut icon" href="DeanDarkOdznaka.png" type="image/x-icon">
<link rel="shortcut icon" href="images/DeanDarkOdznaka.png" type="image/x-icon">
<link href="https://api.fontshare.com/v2/css?f[]=clash-display@500&display=swap" rel="stylesheet">
</head>
<body>
Expand All @@ -22,6 +22,10 @@ <h1>
</h1>

<div class="links">
<a href="./about" id="link">
About
</a>

<a href="https://github.com/d3andark" target="_blank" id="link">
GitHub
</a>
Expand Down Expand Up @@ -59,4 +63,4 @@ <h1>
</script>

</body>
</html>
</html>
288 changes: 288 additions & 0 deletions style-about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,288 @@
:root {
--font-family: 'Clash Display', sans-serif;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;

text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

-webkit-user-drag: none; /* Undragable */
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}

body, html {
margin: 0;
padding: 0;

background-color: #181a1b;
width: 100vw;
height: 100vh;

font-family: system-ui, -apple-system, var(--font-family), Roboto, sans-serif;
font-style: normal;
color: #000;

scroll-behavior: smooth;
position: relative;
overflow: hidden;
}

body, html {
min-height: 100vh;
}

@font-face {
font-family: "Clash Display";
src: url("./fonts/ClashDisplay-Extralight.otf");
font-weight: 200;
}

@font-face {
font-family: "Clash Display";
src: url("./fonts/ClashDisplay-Light.otf");
font-weight: 300;
}

@font-face {
font-family: "Clash Display";
src: url("./fonts/ClashDisplay-Regular.otf");
font-weight: 400;
}

@font-face {
font-family: "Clash Display";
src: url("./fonts/ClashDisplay-Medium.otf");
font-weight: 500;
}

@font-face {
font-family: "Clash Display";
src: url("./fonts/ClashDisplay-Semibold.otf");
font-weight: 600;
}

@font-face {
font-family: "Clash Display";
src: url("./fonts/ClashDisplay-Bold.otf");
font-weight: 700;
}

h1 {
font: 700 95px/100% var(--font-family);
text-align: center;
color: #FFFFFFD6;
text-shadow: 0 0 10px #ffffff;
}

.content {
z-index: 2;

height: 100%;

display: flex;
justify-content: center;
flex-direction: column;
gap: 14vh;
}

.about_content{
color: #fff;
}

.info{
z-index: 14;
position: relative;
display: flex;

font-family: 200 24px/26px var(--font-family);
background-color: #3b3838;
opacity: 75%;
border-radius: 20px;


justify-content: center;
padding: 20px;
margin: 10px;

clip-path: border-box;
max-width: max-content;
max-height: max-content;
width: 80vw;
height: max-content;

left: 10%;
gap: 36px;

border: 3px;
}
#Sit{
text-decoration: none;
color: white;
text-shadow: 0 0 10px #111;
}

.content #back{
padding: 10px;
margin-left: 3vw;

max-width: max-content;
width: 100%;
min-width: 122px;

justify-content: center;
align-items: center;
text-align: center;
transform: translateY(-110px);


background-color: #2f2f2f;
border-radius: 16px;

font: 500 16px/24px var(--font-family);
color: #FFF;
text-decoration: none;

box-shadow: 0 0 10px #3b3838;

transition: color 0.5s ease, opacity 0.5s ease, background-color 0.5s ease, transform 0.4s ease;
}
.content #back:hover{
background-color: #111;
box-shadow: 0 0 20px #8006da;
text-shadow: 0 0 20px #8006da;
transform: scale(1.1) translateY(-110px);
}

/*lines*/
.lines {
z-index: -1;
top: -50vh;
left: -50vw;
right: 0;
bottom: 0;
height: 200vh;
margin: auto;
width: 200vw;
}

.line {
z-index: 0;
position: absolute;
width: 1px;
height: 200vh;
top: -30vh;
left: 50%;
overflow: hidden;
transform: rotate(-45deg);
}

.line:after {
content: "";
display: block;
position: absolute;
height: 15vh;
width: 100%;
top: -50%;
left: 0;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
animation: drop 7s 0s infinite;
animation-fill-mode: forwards;
animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.line:nth-child(1) {
margin-left: -25%;
}

.line:nth-child(1)::after {
animation-delay: 2s;
}

.line:nth-child(3) {
margin-left: 25%;
}

.line:nth-child(3)::after {
animation-delay: 2.5s;
}

@keyframes drop {
0% {
top: -50%;
}
100% {
top: 150%;
}
}


/*Stars*/
#particles-js {
position: absolute;
top: 0;

height: 100%;
width: 100vw;

background-repeat: no-repeat;
background-size: cover;
}

/* Mobile view */
@media screen and (max-width: 600px) {
body {
font-size: 18px;
}

h1 {
font-size: 4em;
height: auto;
}

p {
font-size: 1em;
height: auto;
}

@media screen and (max-width: 360px) {
body {
font-size: 16px;
}

h1 {
font-size: 2.5em;
}

p {
font-size: 1em;
}
}

@media (max-width: 660px) {
.content {
gap: 20vh;
}

.info {
display: flex;
flex-direction: column;
max-height: max-content;
max-width: max-content;
font-size: 0.75em;
/*top: -50%;*/
left: 8%;
transform: translateY(-18%);
box-sizing: border-box;
}
#back{

}
}
}
Loading

0 comments on commit 9ad9872

Please sign in to comment.