Compare commits

..

No commits in common. "793d45647eb60f7cd0405e479cb893cf8281a961" and "1239158e268c4236bbaa44d2dcb9e3c4d873f8ff" have entirely different histories.

2 changed files with 12 additions and 96 deletions

View File

@ -32,13 +32,7 @@
<p id="name">Tom Cornes</p> <p id="name">Tom Cornes</p>
<p id="desc">I'm a <em>Software Developer</em> based in <em>Leicestershire, England.</em></p> <p id="desc">I'm a <em>Software Developer</em> based in <em>Leicestershire, England.</em></p>
</div> </div>
<div id="homepage-img"></div> <div id="homepage-img">
</div>
</div>
<div id="aboutme">
<h1>About Me</h1>
<div id="box-with-title">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div> </div>
</div> </div>
</main> </main>

View File

@ -9,8 +9,7 @@ body {
font-style: normal; font-style: normal;
font-size: 16px; font-size: 16px;
width: 100vw; width: 100vw;
overflow-x: hidden; overflow: hidden;
overflow-y: scroll;
} }
#nav-btn { #nav-btn {
@ -21,23 +20,18 @@ body {
background-color: black; background-color: black;
margin: 0; margin: 0;
overflow: hidden; overflow: hidden;
padding-inline: 30px; padding-inline: 16px;
font-size: 1.4em; font-size: 1.4em;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
height: 60px; height: 60px;
position: sticky;
top: 0;
width: calc(100vw - 60px);
z-index: 10;
} }
main { main {
max-width: 1300px; max-width: 1300px;
margin: 0 auto; margin: 0 auto;
padding: 30px; padding-inline: 30px;
flex-direction: column;
} }
em { em {
@ -63,7 +57,7 @@ em {
} }
#links { #links {
right: 20px; right: 0;
} }
#nav { #nav {
@ -158,10 +152,6 @@ em {
padding: 50px; padding: 50px;
} }
#homepage .card #homepage-text p {
z-index: 3;
}
#homepage-text { #homepage-text {
width: auto; width: auto;
text-align: right; text-align: right;
@ -193,16 +183,6 @@ em {
border-radius: 50%; border-radius: 50%;
z-index: -1; z-index: -1;
filter: blur(14px); filter: blur(14px);
animation: rotate 10s linear infinite;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
} }
#homepage p { #homepage p {
@ -221,65 +201,6 @@ em {
font-weight: 700; font-weight: 700;
} }
#box-with-title {
border-radius: 60px;
margin-top: 100px !important;
padding-inline: 50px;
padding-block: 30px;
position: relative;
max-width: 800px;
margin: auto;
overflow: hidden;
&::after {
content: "";
position: absolute;
top: 4px;
left: 4px;
height: calc(100% - 8px);
width: calc(100% - 8px);
z-index: 1;
border-radius: 57px;
background-color: #111;
}
&::before {
content: "";
position: absolute;
top: calc(50% - 55vw);
left: calc(50% - 55vw);
height: 110vw;
width: 110vw;
z-index: 0;
background-image: repeating-conic-gradient(
#ff0050 0%,
#ff8000 33.333%,
#7520ff 66.666%,
#ff0050 100%
);
animation: rotate 10s linear infinite;
}
}
#aboutme {
width: fit-content;
height: fit-content;
margin: auto;
position: relative;
}
#aboutme h1 {
background-color: #111;
padding-inline: 15px;
position: absolute;
top: -40px;
left: 70px;
z-index: 2;
}
#box-with-title p {
position: relative;
z-index: 2;
}
@media screen and (max-width: 1100px) { @media screen and (max-width: 1100px) {
#logo { #logo {
@ -289,7 +210,7 @@ em {
#nav-btn { #nav-btn {
content: ""; content: "";
display: block; display: block;
position: fixed; position: absolute;
top: 50px; top: 50px;
right: 50px; right: 50px;
z-index: 11; z-index: 11;
@ -306,7 +227,7 @@ em {
body::before { body::before {
content: "[N]"; content: "[N]";
display: flex; display: flex;
position: fixed; position: absolute;
top: 45px; top: 45px;
left: 50px; left: 50px;
font-size: 3em; font-size: 3em;
@ -325,8 +246,9 @@ em {
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
justify-content: space-between; justify-content: space-between;
position: fixed; position: absolute;
right: -100vw; right: 100vw;
z-index: 10;
font-size: 3em; font-size: 3em;
margin: 0; margin: 0;
border: 0; border: 0;
@ -337,7 +259,7 @@ em {
} }
#navbar.expanded { #navbar.expanded {
transform: translateX(-100vw); transform: translateX(100vw);
} }
#links, #nav { #links, #nav {
@ -372,7 +294,7 @@ em {
gap: 70px; gap: 70px;
width: fit-content; width: fit-content;
padding: 80px; padding: 80px;
margin-top: 0; margin-top: 120px;
} }
.card::after { .card::after {