Rework style
This commit is contained in:
BIN
html/assets/pfp.jpg
Normal file
BIN
html/assets/pfp.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
107
html/index.html
107
html/index.html
@@ -7,32 +7,98 @@
|
|||||||
|
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
<link rel="stylesheet" href="./styles/style.css">
|
<link rel="stylesheet" href="./styles/style.css">
|
||||||
|
<link rel="stylesheet" href="./styles/mobile.css">
|
||||||
<link rel="stylesheet" href="./styles/introduction.css">
|
<link rel="stylesheet" href="./styles/introduction.css">
|
||||||
<link rel="stylesheet" href="styles/projects.css">
|
|
||||||
|
|
||||||
<title>Naaturel</title>
|
<title>Naaturel</title>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
|
<div class="container">
|
||||||
<section id="introduction">
|
<div class="introduction">
|
||||||
<div class="content">
|
<div class="introduction-box punched-card">
|
||||||
<h1> Naaturel </h1>
|
<div class="introduction-header">
|
||||||
<hr/>
|
<img src="./assets/pfp.jpg" alt="profile picture" class="profile-picture">
|
||||||
<h2 class="typer"></h2>
|
<div class="names">
|
||||||
|
<h2 class="surname">Naaturel</h2>
|
||||||
|
<h4 class="real-name">Laurent Crema</h4>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
</div>
|
||||||
<p>Scroll down to get started</p>
|
<hr/>
|
||||||
<div><img src="./assets/arrow.svg" alt="arrow"></div>
|
<div class="introduction-text">
|
||||||
</footer>
|
<h2>Hello there!</h2>
|
||||||
|
<section>
|
||||||
|
<h3><span class="accentuated">About</span> me</h3>
|
||||||
|
<p>
|
||||||
|
I'm a full-stack software engineer who loves building efficient, reliable apps
|
||||||
|
and solving real-world problems through clean, scalable code.
|
||||||
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="projects">
|
<section>
|
||||||
|
<h3>My <span class="accentuated">background</span></h3>
|
||||||
|
<p>
|
||||||
|
Bla bla bla lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h3>My <span class="accentuated">skills</span></h3>
|
||||||
|
<p>
|
||||||
|
Java, C#, Python, JavaScript / TypeScript, Node.js, Vue, PostgreSQL, Docker.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<h3><span class="accentuated">Connect</span> with me</h3>
|
||||||
|
<p>
|
||||||
|
<a href="mailto:yourname@example.com">Email</a> •
|
||||||
|
<a href="https://github.com/yourusername" target="_blank">GitHub</a> •
|
||||||
|
<a href="https://linkedin.com/in/yourprofile" target="_blank">LinkedIn</a>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="projects">
|
||||||
|
|
||||||
|
<h1>Check out my live projects</h1>
|
||||||
|
|
||||||
<div class="card-list">
|
<div class="card-list">
|
||||||
|
<div class="card punched-card">
|
||||||
|
<a href="https://unluckiest.naaturel.be">
|
||||||
|
<img src="./assets/unluckiest.png" class="thumbnail" alt="Unluckiest">
|
||||||
|
</a>
|
||||||
|
<hr/>
|
||||||
|
|
||||||
|
<div class="card-details">
|
||||||
|
<h3>Unluckiest</h3>
|
||||||
|
<p class="notice">
|
||||||
|
Art & design by <a href="https://linktr.ee/yanderechan133">@YandereDraws</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="card punched-card">
|
||||||
|
<a href="https://letsmeet.naaturel.be">
|
||||||
|
<img src="./assets/letsmeet.png" class="thumbnail" alt="Let's Meet">
|
||||||
|
</a>
|
||||||
|
<hr/>
|
||||||
|
<div class="card-details">
|
||||||
|
<h3>Letsmeet</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!--<div class="card-list">
|
||||||
<a>
|
<a>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h2>My <span class="accentuated">projects</span></h2>
|
<h2>My <span class="accentuated">projects</span></h2>
|
||||||
@@ -40,7 +106,6 @@
|
|||||||
<p>Get a look at what I've worked on</p>
|
<p>Get a look at what I've worked on</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a>
|
<a>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h2><span class="accentuated">About</span> me</h2>
|
<h2><span class="accentuated">About</span> me</h2>
|
||||||
@@ -57,7 +122,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>-->
|
||||||
|
<!--<footer>
|
||||||
|
<p>Scroll down to get started</p>
|
||||||
|
<div><img src="./assets/arrow.svg" alt="arrow"></div>
|
||||||
|
</footer>-->
|
||||||
|
|
||||||
<!--<div class="content">
|
<!--<div class="content">
|
||||||
<div >
|
<div >
|
||||||
@@ -82,8 +151,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>-->
|
</div>-->
|
||||||
</section>
|
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
||||||
@@ -93,7 +160,7 @@
|
|||||||
import { Typer } from './scripts/Typer.js';
|
import { Typer } from './scripts/Typer.js';
|
||||||
|
|
||||||
const target = document.getElementsByClassName('typer')[0];
|
const target = document.getElementsByClassName('typer')[0];
|
||||||
const texts = ["Backend dev", "Frontend dev", "Fullstack software engineer"];
|
const texts = ["backend dev", "frontend dev", "fullstack software engineer"];
|
||||||
const typer = new Typer({target: target, texts: texts, typingDelay: 150, deletionDelay: 50});
|
const typer = new Typer({target: target, texts: texts, typingDelay: 150, deletionDelay: 50});
|
||||||
typer.start();
|
typer.start();
|
||||||
</script>
|
</script>
|
||||||
@@ -102,9 +169,9 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
import {CardTilter} from "./scripts/CardTilter.js";
|
import {CardTilter} from "./scripts/CardTilter.js";
|
||||||
|
|
||||||
const cards = document.querySelectorAll('.card');
|
const cards = document.querySelectorAll('.introduction-box');
|
||||||
|
|
||||||
cards.forEach(card => { new CardTilter({card : card, tilt : 15, perspective : 650}) })
|
cards.forEach(card => { new CardTilter({card : card, tilt : 5, perspective : 950}) })
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export class CardTilter {
|
|||||||
};
|
};
|
||||||
|
|
||||||
transform(rotationX, rotationY) {
|
transform(rotationX, rotationY) {
|
||||||
this.card.style.transform = `translateY(-10px) perspective(${this.perspective}px) rotateX(${rotationX}deg) rotateY(${rotationY}deg) scale(1.05)`;
|
this.card.style.transform = `translateY(-5px) perspective(${this.perspective}px) rotateX(${rotationX}deg) rotateY(${rotationY}deg) scale(1.02)`;
|
||||||
}
|
}
|
||||||
|
|
||||||
reset(){
|
reset(){
|
||||||
|
|||||||
0
html/styles/desktop.css
Normal file
0
html/styles/desktop.css
Normal file
@@ -1,26 +1,99 @@
|
|||||||
#introduction .content {
|
.introduction {
|
||||||
flex: 5;
|
display: flex;
|
||||||
width: 25%;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
width: 40%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#introduction footer {
|
.introduction-box {
|
||||||
flex : 1;
|
min-width: 350px;
|
||||||
transition: transform 0.5s ease-in-out;
|
min-height: 350px;
|
||||||
|
padding: 25px 35px 35px 35px;
|
||||||
|
|
||||||
|
background: white;
|
||||||
|
border-radius: 16px;
|
||||||
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer:hover{
|
.introduction-box hr {
|
||||||
transform: translateY(-20px);
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
margin-bottom: 25px;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.introduction-header
|
||||||
|
{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
gap: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.names
|
||||||
|
{
|
||||||
|
line-height: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.real-name
|
||||||
|
{
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-picture
|
||||||
|
{
|
||||||
|
width: 100px;
|
||||||
|
aspect-ratio: 1/1;
|
||||||
|
border: solid 1px rgba(0, 0, 0, 0.3);
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.introduction-text {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
line-height: 1.25rem;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.greetings
|
||||||
|
{
|
||||||
|
font-size: 3.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.typer::after {
|
.typer::after {
|
||||||
content: '|';
|
content: '|';
|
||||||
animation: blink 800ms infinite;
|
animation: blink 800ms infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.projects
|
||||||
|
{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
width: 60%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.punched-card
|
||||||
|
{
|
||||||
|
mask-image: radial-gradient(circle 25px at calc(100% - 0px) calc(0% + 0px), transparent 99%, black 100%);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
mask-position: top right;
|
||||||
|
mask-composite: exclude;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbnail
|
||||||
|
{
|
||||||
|
width: 250px;
|
||||||
|
border : solid 1px black;
|
||||||
|
}
|
||||||
|
|
||||||
.card-list
|
.card-list
|
||||||
{
|
{
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -28,39 +101,45 @@ hr {
|
|||||||
justify-content: start;
|
justify-content: start;
|
||||||
gap: 15px;
|
gap: 15px;
|
||||||
min-width: 375px;
|
min-width: 375px;
|
||||||
height: 75%;
|
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
padding: 0 20px 0 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
align-items: center;
|
align-items: start;
|
||||||
|
|
||||||
height: 350px;
|
height: 350px;
|
||||||
width: 275px;
|
width: 275px;
|
||||||
|
padding: 15px;
|
||||||
|
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
padding: 15px;
|
|
||||||
|
|
||||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
will-change: transform;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card:hover {
|
.card:hover {
|
||||||
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card p
|
.card-details {
|
||||||
{
|
display: flex;
|
||||||
opacity: 0.65;
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card .notice
|
||||||
|
{
|
||||||
|
opacity: 0.65;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
from { opacity: 0; }
|
from { opacity: 0; }
|
||||||
|
|||||||
18
html/styles/mobile.css
Normal file
18
html/styles/mobile.css
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
@media (max-width: 801px) {
|
||||||
|
.container {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.introduction
|
||||||
|
{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.introduction-box
|
||||||
|
{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
:root {
|
:root {
|
||||||
--primary-color: #3dae15;
|
--primary-color: #5f9a13;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
@@ -7,7 +7,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: 'Fira Code', 'PT sans', sans-serif;
|
font-family: 'Roboto', 'PT sans', sans-serif;
|
||||||
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
@@ -17,7 +18,7 @@ html, body {
|
|||||||
width: 100dvw;
|
width: 100dvw;
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body, main, section, section div, footer {
|
html, body, main, footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -44,18 +45,20 @@ main {
|
|||||||
margin : 5px;
|
margin : 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
.container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
scroll-snap-align: start;
|
padding : 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li{
|
hr {
|
||||||
list-style-type: none;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user