Compare commits

..

2 Commits

Author SHA1 Message Date
Notoric 793d45647e Added coloured border to about me 2024-05-23 21:35:40 +01:00
Notoric b38fe5f715 Added aboutme 2024-05-23 21:12:26 +01:00
2 changed files with 96 additions and 12 deletions

View File

@ -32,7 +32,13 @@
<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 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>
</div>
</main>

View File

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