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="desc">I'm a <em>Software Developer</em> based in <em>Leicestershire, England.</em></p>
</div>
<div id="homepage-img"></div>
</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 id="homepage-img">
</div>
</div>
</main>

View File

@ -9,8 +9,7 @@ body {
font-style: normal;
font-size: 16px;
width: 100vw;
overflow-x: hidden;
overflow-y: scroll;
overflow: hidden;
}
#nav-btn {
@ -21,23 +20,18 @@ body {
background-color: black;
margin: 0;
overflow: hidden;
padding-inline: 30px;
padding-inline: 16px;
font-size: 1.4em;
display: flex;
flex-direction: row;
align-items: center;
height: 60px;
position: sticky;
top: 0;
width: calc(100vw - 60px);
z-index: 10;
}
main {
max-width: 1300px;
margin: 0 auto;
padding: 30px;
flex-direction: column;
padding-inline: 30px;
}
em {
@ -63,7 +57,7 @@ em {
}
#links {
right: 20px;
right: 0;
}
#nav {
@ -158,10 +152,6 @@ em {
padding: 50px;
}
#homepage .card #homepage-text p {
z-index: 3;
}
#homepage-text {
width: auto;
text-align: right;
@ -193,16 +183,6 @@ em {
border-radius: 50%;
z-index: -1;
filter: blur(14px);
animation: rotate 10s linear infinite;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#homepage p {
@ -221,65 +201,6 @@ em {
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) {
#logo {
@ -289,7 +210,7 @@ em {
#nav-btn {
content: "";
display: block;
position: fixed;
position: absolute;
top: 50px;
right: 50px;
z-index: 11;
@ -306,7 +227,7 @@ em {
body::before {
content: "[N]";
display: flex;
position: fixed;
position: absolute;
top: 45px;
left: 50px;
font-size: 3em;
@ -325,8 +246,9 @@ em {
height: 100vh;
width: 100vw;
justify-content: space-between;
position: fixed;
right: -100vw;
position: absolute;
right: 100vw;
z-index: 10;
font-size: 3em;
margin: 0;
border: 0;
@ -337,7 +259,7 @@ em {
}
#navbar.expanded {
transform: translateX(-100vw);
transform: translateX(100vw);
}
#links, #nav {
@ -372,7 +294,7 @@ em {
gap: 70px;
width: fit-content;
padding: 80px;
margin-top: 0;
margin-top: 120px;
}
.card::after {